CVE-2026-63942

parport: Fix race between port and client registration

7.8 high EPSS 0.13%

Published 19 Jul 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-63942

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-63942 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

parport: Fix race between port and client registration

The parport subsystem registers port devices before they are fully initialised, resulting in a race condition where client drivers such as lp can attach to ports that are not completely initialised or even being torn down.

When the port and client drivers are built as modules and loaded around the same time during boot, this occasionally results in a crash. I was able to make this happen reliably in a VM with a PC-style parallel port by patching parport_pc to fail probing:

> --- a/drivers/parport/parport_pc.c > +++ b/drivers/parport/parport_pc.c > @@ -2069,7 +2069,7 @@ static struct parport *__parport_pc_probe_port(unsigned long int base, > if (!p) > goto out3; > > - base_res = request_region(base, 3, p->name); > + base_res = NULL; > if (!base_res) > goto out4; >

and then running:

while true; do modprobe lp & modprobe parport_pc wait rmmod lp parport_pc done

for a few seconds.

In the long term I think port registration should be changed to put the call to device_add() inside parport_announce_port(), but since the latter currently cannot fail this will require changing all port drivers.

For now, add a flag to indicate whether a port has been "announced" and only try to attach client drivers to ports when the flag is set.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.89% of all scored CVEs. Scores of 2 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 6fa45a22689722dac9f0e90c0931d4b34b334ede, before f3378b0d7bd4605de89b083b2900788157a181cc
affected from 6fa45a22689722dac9f0e90c0931d4b34b334ede, before 290f515c5e3b3900bc2fe24f179999fd08d23bfa
affected from 6fa45a22689722dac9f0e90c0931d4b34b334ede, before d16548be2ea5058227d79799e81dab61c9bca8ec
affected from 6fa45a22689722dac9f0e90c0931d4b34b334ede, before 15b1723c1472e802f9f7e69ae4e64f7dbf588848
affected from 6fa45a22689722dac9f0e90c0931d4b34b334ede, before 51026cff1f4f3b762a0b5a07c727bd59cef45320
affected from 6fa45a22689722dac9f0e90c0931d4b34b334ede, before 74d6aae1df45d3414178986be743f946988fddf6
affected from 6fa45a22689722dac9f0e90c0931d4b34b334ede, before a1e81b58da0179531bedf0b9f2811f5f992d5c4b
affected from 6fa45a22689722dac9f0e90c0931d4b34b334ede, before ef15ccbb3e8640a723c42ad90eaf81d66ae02017
Other versions: unaffected
Linux
affected 4.2
unaffected before 4.2
unaffected from 5.10.259 up to and including 5.10.*
unaffected from 5.15.210 up to and including 5.15.*
unaffected from 6.1.176 up to and including 6.1.*
unaffected from 6.6.143 up to and including 6.6.*
unaffected from 6.12.93 up to and including 6.12.*
unaffected from 6.18.35 up to and including 6.18.*
unaffected from 7.0.12 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-63942 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-63942

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-63942
trivy image --scanners vuln IMAGE | grep CVE-2026-63942

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-63942 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.