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

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.18%, higher than 68% of CVEs (2026-12-01)
- Published: 2024-05-01T12:53:19.069Z
- Modified: 2026-06-17T07:18:58.660Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1ce24864bff40e11500a699789412115fdf244bf before 2342b05ec5342a519e00524a507f7a6ea6791a38; from 1ce24864bff40e11500a699789412115fdf244bf before 55f8ea6731aa64871ee6aef7dba53ee9f9f3b2f6; from 1ce24864bff40e11500a699789412115fdf244bf before bcfcdf19698024565eff427706ebbd8df65abd11; from 1ce24864bff40e11500a699789412115fdf244bf before c10fed329c1c104f375a75ed97ea3abef0786d62; from 1ce24864bff40e11500a699789412115fdf244bf before 766ec94cc57492eab97cbbf1595bd516ab0cb0e4; from 1ce24864bff40e11500a699789412115fdf244bf before 62b1f837b15cf3ec2835724bdf8577e47d14c753; from 1ce24864bff40e11500a699789412115fdf244bf before bea82355df9e1c299625405b1947fc9b26b4c6d4; from 1ce24864bff40e11500a699789412115fdf244bf before 1784053cf10a14c4ebd8a890bad5cfe1bee51713; from 1ce24864bff40e11500a699789412115fdf244bf before a20ad45008a7c82f1184dc6dee280096009ece55; 4.11 (not affected: before 4.11; from 4.19.311 up to 4.19.*; from 5.4.273 up to 5.4.*; from 5.10.214 up to 5.10.*; from 5.15.153 up to 5.15.*; from 6.1.83 up to 6.1.*; from 6.6.23 up to 6.6.*; from 6.7.11 up to 6.7.*; from 6.8.2 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 4.11 before 4.19.311; from 4.20 before 5.4.273; from 5.5 before 5.10.214; from 5.11 before 5.15.153; from 5.16 before 6.1.83; from 6.2 before 6.6.23; from 6.7 before 6.7.11; from 6.8 before 6.8.2
- debian debian_linux: 10.0

## References

- <https://git.kernel.org/stable/c/2342b05ec5342a519e00524a507f7a6ea6791a38> (patch)
- <https://git.kernel.org/stable/c/55f8ea6731aa64871ee6aef7dba53ee9f9f3b2f6> (patch)
- <https://git.kernel.org/stable/c/bcfcdf19698024565eff427706ebbd8df65abd11> (patch)
- <https://git.kernel.org/stable/c/c10fed329c1c104f375a75ed97ea3abef0786d62> (patch)
- <https://git.kernel.org/stable/c/766ec94cc57492eab97cbbf1595bd516ab0cb0e4> (patch)
- <https://git.kernel.org/stable/c/62b1f837b15cf3ec2835724bdf8577e47d14c753> (patch)
- <https://git.kernel.org/stable/c/bea82355df9e1c299625405b1947fc9b26b4c6d4> (patch)
- <https://git.kernel.org/stable/c/1784053cf10a14c4ebd8a890bad5cfe1bee51713> (patch)
- <https://git.kernel.org/stable/c/a20ad45008a7c82f1184dc6dee280096009ece55> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2024-27028](https://www.cve.org/CVERecord?id=CVE-2024-27028), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-27028](https://nvd.nist.gov/vuln/detail/CVE-2024-27028), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-27028 · Whole record: https://cve.day/CVE-2024-27028.json · Rebuilt by cve.day 2026-11-25T22:58:39.787Z
