CVE-2024-26776: spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were detected

Description

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

Classification

CVE ID: CVE-2024-26776

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 12.41% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/e94da8aca2e78ef9ecca02eb211869eacd5504e5
https://git.kernel.org/stable/c/0399d7eba41d9b28f5bdd7757ec21a5b7046858d
https://git.kernel.org/stable/c/f19361d570c67e7e014896fa2dacd7d721bf0aa8
https://git.kernel.org/stable/c/d637b5118274701e8448f35953877daf04df18b4
https://git.kernel.org/stable/c/e4168ac25b4bd378bd7dda322d589482a136c1fd
https://git.kernel.org/stable/c/de8b6e1c231a95abf95ad097b993d34b31458ec9

Timeline