CVE-2024-27028·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.8.2
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.18% — higher than 40% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.8
Until: 6.8.2
Fixed in: 6.8.2
How to fix this CVE
Update your Linux kernel to version 6.8.2 or later to fix a NULL pointer dereference in the spi-mt65xx driver's interrupt handler. This vulnerability affects systems with SPI hardware using the Mediatek MT65xx controller. Patch your kernel immediately to prevent potential system crashes during SPI transactions with missing transmit buffers.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run `uname -r` to check your current kernel version. Versions 6.8 through 6.8.2 are vulnerable.
- Verify if your system has SPI hardware by checking `lspci | grep -i spi` or `ls /sys/bus/spi/devices/`.
- Check loaded spi-mt65xx driver with `lsmod | grep spi_mt65xx` to confirm the affected driver is in use.
- After patching, run `uname -r` again and confirm the kernel version is 6.8.2 or newer, then reboot if needed.
FAQ
What is CVE-2024-27028?
This vulnerability exists in the Mediatek MT65xx SPI controller driver where the interrupt handler fails to validate that the transmit buffer pointer is valid before attempting to access it, potentially causing kernel memory corruption or system crashes.
Is CVE-2024-27028 being actively exploited?
No, there are currently no public exploits or active exploitation reports for this vulnerability according to CISA records.
What versions of Kernel are affected by CVE-2024-27028?
Linux kernel versions 6.8 through 6.8.2 are affected. The vulnerability is fixed in kernel 6.8.2 and later releases.
How do I check if my server is vulnerable to CVE-2024-27028?
Run `uname -r` to get your kernel version. If it shows 6.8, 6.8.1, or 6.8.2, check if the spi-mt65xx driver is active with `lsmod | grep spi_mt65xx`. If both conditions are true and you're on 6.8 or 6.8.1, you are vulnerable.
Does Defensia detect CVE-2024-27028?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-27028 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1784053cf10a14c4ebd8a890bad5cfe1bee51713
- https://git.kernel.org/stable/c/2342b05ec5342a519e00524a507f7a6ea6791a38
- https://git.kernel.org/stable/c/55f8ea6731aa64871ee6aef7dba53ee9f9f3b2f6
- https://git.kernel.org/stable/c/62b1f837b15cf3ec2835724bdf8577e47d14c753
- https://git.kernel.org/stable/c/766ec94cc57492eab97cbbf1595bd516ab0cb0e4
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-27028. Free for 1 server.
Get started free