CVE-2026-63942
Gravedad CVSS v3.1:
ALTA
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
19/07/2026
Última modificación:
27/07/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
parport: Fix race between port and client registration<br />
<br />
The parport subsystem registers port devices before they are fully<br />
initialised, resulting in a race condition where client drivers such<br />
as lp can attach to ports that are not completely initialised or even<br />
being torn down.<br />
<br />
When the port and client drivers are built as modules and loaded<br />
around the same time during boot, this occasionally results in a<br />
crash. I was able to make this happen reliably in a VM with a<br />
PC-style parallel port by patching parport_pc to fail probing:<br />
<br />
> --- a/drivers/parport/parport_pc.c<br />
> +++ b/drivers/parport/parport_pc.c<br />
> @@ -2069,7 +2069,7 @@ static struct parport *__parport_pc_probe_port(unsigned long int base,<br />
> if (!p)<br />
> goto out3;<br />
><br />
> - base_res = request_region(base, 3, p->name);<br />
> + base_res = NULL;<br />
> if (!base_res)<br />
> goto out4;<br />
><br />
<br />
and then running:<br />
<br />
while true; do<br />
modprobe lp & modprobe parport_pc<br />
wait<br />
rmmod lp parport_pc<br />
done<br />
<br />
for a few seconds.<br />
<br />
In the long term I think port registration should be changed to put<br />
the call to device_add() inside parport_announce_port(), but since the<br />
latter currently cannot fail this will require changing all port<br />
drivers.<br />
<br />
For now, add a flag to indicate whether a port has been "announced"<br />
and only try to attach client drivers to ports when the flag is set.
Impacto
Puntuación base 3.x
7.80
Gravedad 3.x
ALTA
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/15b1723c1472e802f9f7e69ae4e64f7dbf588848
- https://git.kernel.org/stable/c/290f515c5e3b3900bc2fe24f179999fd08d23bfa
- https://git.kernel.org/stable/c/51026cff1f4f3b762a0b5a07c727bd59cef45320
- https://git.kernel.org/stable/c/74d6aae1df45d3414178986be743f946988fddf6
- https://git.kernel.org/stable/c/a1e81b58da0179531bedf0b9f2811f5f992d5c4b
- https://git.kernel.org/stable/c/d16548be2ea5058227d79799e81dab61c9bca8ec
- https://git.kernel.org/stable/c/ef15ccbb3e8640a723c42ad90eaf81d66ae02017
- https://git.kernel.org/stable/c/f3378b0d7bd4605de89b083b2900788157a181cc



