CVE-2024-27028

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

State
Published
Severity
6.5 Medium
Published
May 1, 2024
Updated
May 11, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:LCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 1ce24864bff40e11500a699789412115fdf244bf to before 2342b05ec5342a519e00524a507f7a6ea6791a38Affected
  • 1ce24864bff40e11500a699789412115fdf244bf to before 55f8ea6731aa64871ee6aef7dba53ee9f9f3b2f6Affected
  • 1ce24864bff40e11500a699789412115fdf244bf to before bcfcdf19698024565eff427706ebbd8df65abd11Affected
  • 1ce24864bff40e11500a699789412115fdf244bf to before c10fed329c1c104f375a75ed97ea3abef0786d62Affected
  • 1ce24864bff40e11500a699789412115fdf244bf to before 766ec94cc57492eab97cbbf1595bd516ab0cb0e4Affected
  • 1ce24864bff40e11500a699789412115fdf244bf to before 62b1f837b15cf3ec2835724bdf8577e47d14c753Affected
  • 1ce24864bff40e11500a699789412115fdf244bf to before bea82355df9e1c299625405b1947fc9b26b4c6d4Affected
  • 1ce24864bff40e11500a699789412115fdf244bf to before 1784053cf10a14c4ebd8a890bad5cfe1bee51713Affected
  • 1ce24864bff40e11500a699789412115fdf244bf to before a20ad45008a7c82f1184dc6dee280096009ece55Affected
LinuxLinux
  • 4.11Affected
  • before 4.11Not affected
  • 4.19.311 through 4.19.*Not affected
  • 5.4.273 through 5.4.*Not affected
  • 5.10.214 through 5.10.*Not affected
  • 5.15.153 through 5.15.*Not affected
  • 6.1.83 through 6.1.*Not affected
  • 6.6.23 through 6.6.*Not affected
  • 6.7.11 through 6.7.*Not affected
  • 6.8.2 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.