CVE-2024-27028: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-27028 is a vulnerability discovered in the Linux kernel's MediaTek SPI (spi-mt65xx) driver. The issue was identified and disclosed on May 1, 2024, affecting the interrupt handler functionality where the TX buffer in spi_transfer could be a NULL pointer, potentially leading to invalid memory access and system crashes (NVD).

Technical details

The vulnerability exists in the interrupt handler of the MediaTek SPI driver where the code attempts to access the tx_buf pointer without proper NULL pointer validation. The issue stems from a bug introduced in commit 1ce24864bff4 ("spi: mediatek: Only do dma for 4-byte aligned buffers"). The CVSS v3.1 base score is 6.5 (Medium), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L (NVD).

Impact

When exploited, this vulnerability can cause system crashes due to invalid memory access when the interrupt handler attempts to write to memory using an unvalidated NULL pointer (NVD).

Exploitability

The vulnerability requires local access to the system and can be triggered through the SPI interface when the tx_buf pointer is NULL. No known exploits in the wild have been reported (NVD).

Mitigation and workarounds

The issue has been fixed by adding a check for trans->tx_buf before using it in the interrupt handler. The fix has been incorporated into various Linux kernel versions, including Ubuntu 24.04 LTS (6.8.0-35.35), 22.04 LTS (5.15.0-112.122), and 20.04 LTS (5.4.0-189.209) (Ubuntu).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.85-1

Fixed

bullseye

linux: 5.10.216-1

Fixed

sid

linux: 6.7.12-1

Fixed

trixie

linux: 6.7.12-1

Fixed

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-98383HIGH7
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-internal
NoYesOct 09, 2026
CVE-2026-98382HIGH7
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-modules-partner
NoYesOct 09, 2026
CVE-2026-98381HIGH7
  • Linux Kernel logoLinux Kernel
  • kernel-kdump
NoYesOct 09, 2026
CVE-2026-98380HIGH7
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules-core
NoYesOct 09, 2026
CVE-2026-98384MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-modules-partner
NoYesOct 09, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management