CVE-2026-63942
Received Received - Intake

Race Condition in Linux Kernel parport Subsystem

Vulnerability report for CVE-2026-63942, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-19

Last updated on: 2026-07-19

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-19
Last Modified
2026-07-19
Generated
2026-07-20
AI Q&A
2026-07-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
linux_kernel parport *
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a race condition in the Linux kernel's parport subsystem. It occurs when port devices are registered before being fully initialized, allowing client drivers like lp to attach to ports that are not ready or being torn down. This can cause crashes, especially when modules are loaded simultaneously during boot.

Detection Guidance

This vulnerability is specific to the Linux kernel's parport subsystem and may cause crashes when port and client drivers (like lp) are loaded simultaneously. Detection involves checking for kernel crashes or errors during parallel port driver initialization. Monitor system logs for parport or lp driver errors during boot or module loading.

Impact Analysis

This vulnerability can cause system crashes or instability, particularly during boot when modules are loaded. It may lead to unexpected behavior or failures in systems using parallel ports, such as printers or other legacy hardware.

Compliance Impact

This vulnerability does not directly affect compliance with GDPR, HIPAA, or similar standards. It involves a race condition in the Linux kernel's parport subsystem that may cause system crashes under specific conditions. No data exposure or privacy violation is described.

Mitigation Strategies

Apply the latest kernel updates to ensure the fix is in place. Avoid loading parport and lp drivers simultaneously during boot. If possible, delay loading client drivers until ports are fully initialized. Monitor system logs for related errors.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-63942. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart