CVE-2024-27028 spi: spi-mt65xx: Fix NULL pointer access in interrupt handler

Medium 6.5 Published Updated

A null pointer dereference in the MediaTek SPI driver interrupt handler can cause a system crash, requiring a kernel patch.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-27028?

CVE-2024-27028 is a medium-severity vulnerability in Debian Debian Linux, published on 1 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

spi: spi-mt65xx: Fix NULL pointer access in interrupt handler

The TX buffer in spi_transfer can be a NULL pointer, so the interrupt handler may end up writing to the invalid memory and cause crashes.

Add a check to trans->tx_buf before using it.

Weakness: CWE-476

Which versions are affected by CVE-2024-27028?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-27028?

Apply the vendor's patch.

Is CVE-2024-27028 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-27028, DEBIAN-CVE-2024-27028, GHSA-8m6j-grc9-4wwv, UBUNTU-CVE-2024-27028.

Is CVE-2024-27028 in your software?

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

Check your SBOMs for free