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

Medium 5.5 Published Updated

A null pointer dereference in the Hisi SFC v3xx SPI driver causes a kernel crash when an empty interrupt is received, leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-26776?

CVE-2024-26776 is a medium-severity vulnerability in Debian Debian Linux, published on 3 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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

Weakness: CWE-476

Which versions are affected by CVE-2024-26776?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-26776?

Apply the vendor's patch.

Is CVE-2024-26776 being exploited?

There is no known exploitation of CVE-2024-26776 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-26776, DEBIAN-CVE-2024-26776, GHSA-3jw4-rrq4-7g22, UBUNTU-CVE-2024-26776.

Is CVE-2024-26776 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free