CVE-2024-27028
JSON

6.5medium

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

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
1.18% (higher than 68% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 2 more
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.*
CVE List
linux linux_kernelfrom 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.2NVD
debian debian_linux10.0NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: spi: spi-mt65xx: corrige el acceso al puntero NULL en el controlador de interrupciones. El búfer TX en spi_transfer puede ser un puntero NULL, por lo que el controlador de interrupciones puede terminar escribiendo en la memoria no válida y causar accidentes. Agregue una marca a trans->tx_buf antes de usarlo.

References

https://git.kernel.org/stable/c/2342b05ec5342a519e00524a507f7a6ea6791a38patch
https://git.kernel.org/stable/c/55f8ea6731aa64871ee6aef7dba53ee9f9f3b2f6patch
https://git.kernel.org/stable/c/bcfcdf19698024565eff427706ebbd8df65abd11patch
https://git.kernel.org/stable/c/c10fed329c1c104f375a75ed97ea3abef0786d62patch
https://git.kernel.org/stable/c/766ec94cc57492eab97cbbf1595bd516ab0cb0e4patch
https://git.kernel.org/stable/c/62b1f837b15cf3ec2835724bdf8577e47d14c753patch
https://git.kernel.org/stable/c/bea82355df9e1c299625405b1947fc9b26b4c6d4patch
https://git.kernel.org/stable/c/1784053cf10a14c4ebd8a890bad5cfe1bee51713patch
https://git.kernel.org/stable/c/a20ad45008a7c82f1184dc6dee280096009ece55patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlmailing-list, third-party-advisory
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlmailing-list, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2024-27028 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-27028 changed 2026-06-17Public domain