CVE-2024-27028: spi: spi-mt65xx: Fix NULL pointer access in interrupt handler
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.
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel crash-class flaw in the MediaTek SPI controller driver. If the driver handles a transfer with no transmit buffer, its interrupt handler can touch invalid memory. The sourced record rates it medium, with low integrity and availability impact and no confidentiality impact.
Executive priority
Treat as a moderate kernel maintenance item. Prioritize embedded, appliance, and MediaTek-based Linux fleets first. It is not sourced as actively exploited, but kernel crash risk warrants timely patching through normal change control.
Technical view
CVE-2024-27028 is a CWE-476 NULL pointer issue in Linux kernel spi-mt65xx. The fix adds a check before using trans->tx_buf in the interrupt handler. The CVE lists affected Linux kernel ranges and multiple stable kernel backport commits, plus Debian LTS advisories.
Likely exposure
Exposure is most likely on Linux systems running affected kernels where the MediaTek spi-mt65xx SPI driver is built, loaded, or relevant to the hardware platform. Generic Linux servers without that driver or hardware are less likely exposed, but kernel configuration should be verified.
Exploitation context
The source bundle does not show KEV listing or confirmed active exploitation. The CVSS vector reports network attack vector, low complexity, no privileges, and no user interaction, but the public description only confirms a NULL pointer crash condition in the driver interrupt path.
Researcher notes
Evidence is limited to the CVE record, stable kernel commits, and Debian LTS announcements. Do not assume broad exploitability beyond affected Linux kernels and the spi-mt65xx driver path. The concrete fix is a NULL check for trans->tx_buf before use.
Mitigation direction
Update to a vendor kernel containing the listed stable fixes.
Review Debian LTS advisories if using Debian-packaged kernels.
Prioritize affected MediaTek-based Linux platforms and custom kernels.
If no package fix exists, check vendor guidance before applying workarounds.
Retire or rebuild unsupported kernels that cannot receive the fix.
Validation and detection
Inventory Linux kernel versions across managed assets.
Check whether spi-mt65xx is built, loaded, or required.
Confirm installed kernels include the referenced stable fix commit.
Review distribution advisories for patched package versions.
Test patched kernels on representative MediaTek hardware before rollout.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.