spi: uniphier: Fix completion initialization order before devm_request_irq()
21Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 8.4epss 0.2%
probabilidad de explotación
0.2%top 92% de las CVE
explotación observada
noninguna fuente lo reporta
In the Linux kernel, the following vulnerability has been resolved:
spi: uniphier: Fix completion initialization order before devm_request_irq()
The driver calls devm_request_irq() before initializing the completion
used by the interrupt handler. Because the interrupt may occur immediately
after devm_request_irq(), the handler may execute before init_completion().
This may result in calling complete() on an uninitialized completion,
causing undefined behavior. This has been observed with KASAN.
Fix this by initializing the completion before registering the IRQ.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Productos afectados
Linux · LinuxReferencias
https://git.kernel.org/stable/c/077a7bc1c32d3da9670c5e282ea3e5ac8a94be59https://git.kernel.org/stable/c/49f6705d80b5e6175d8435d9c72b66bd516a8e89https://git.kernel.org/stable/c/82a5746c4c9e94f6f816ec7edea6ddc24417c6a5https://git.kernel.org/stable/c/8b5798ce0007874c14611b8ee4ce6c749855260ehttps://git.kernel.org/stable/c/b9fcf0db433d79648ace74bc2b8b88f91e306304https://git.kernel.org/stable/c/d44b828eb551bd59ba9f22457825cc3db3a39fc1https://git.kernel.org/stable/c/f3ad1c87d8201e54b66bd6072442f0b5d5a308eehttps://git.kernel.org/stable/c/f4bb0a91f7badd6d15ac8d783a1169d9e1e95c17