CVE-2024-27028Published May 1, 2024 · May 1Updated Oct 28
spi: spi-mt65xx: Fix NULL pointer access in interrupt handler
Linux
Medium6.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1ce24864bff40e11500a699789412115fdf244bf · < 62b1f837b15cf3ec2835724bdf8577e47d14c753| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel spi-mt65xx interrupt handler can access a NULL transmit buffer during an SPI transfer, causing a crash. The input does not specify how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running the Linux kernel with the spi-mt65xx driver should check their deployments; affected versions are not specified.