spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were detected
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a2ca53b52e007de81752bbb443d828f5950d6d04 · < de8b6e1c231a95abf95ad097b993d34b31458ec9| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were detected
Return IRQ_NONE from the interrupt handler when no interrupt was detected. Because an empty interrupt will cause a null pointer error:
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008 Call trace: complete+0x54/0x100 hisi_sfc_v3xx_isr+0x2c/0x40 [spi_hisi_sfc_v3xx] __handle_irq_event_percpu+0x64/0x1e0 handle_irq_event+0x7c/0x1cc
From the CVE record · Linux
The Linux kernel’s hisi-sfc-v3xx SPI interrupt handler can dereference a null pointer when it receives an empty interrupt. This can cause a kernel crash; the input does not establish whether an attacker can trigger it or specify access or interaction requirements.
Engineers running Linux kernels with the hisi-sfc-v3xx SPI driver should check their versions against the vendor advisory; affected versions are not specified.