7.8high
spi: don't unoptimize message in spi_async()
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: spi: don't unoptimize message in spi_async() Calling spi_maybe_unoptimize_message() in spi_async() is wrong because the message is likely to be in the queue and not transferred yet. This can corrupt the message while it is being used by the controller driver. spi_maybe_unoptimize_message() is already called in the correct place in spi_finalize_current_message() to balance the call to spi_maybe_optimize_message() in spi_async().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 7b1d87af14d9ae902ed0c5dc5fabf4eea5abdf02 before 8b9af6d67517ce4a0015928b3cf35bfd2b1bc1c2, from 7b1d87af14d9ae902ed0c5dc5fabf4eea5abdf02 before c86a918b1bdba78fb155184f8d88dfba1e63335d, 6.9 Not affected: before 6.9, from 6.9.10 up to 6.9.*, from 6.10 up to * | CVE List |
| linux linux_kernel | from 6.9 before 6.9.10 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Classification
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: don't unoptimize message in spi_async() Calling spi_maybe_unoptimize_message() in spi_async() is wrong because the message is likely to be in the queue and not transferred yet. This can corrupt the message while it is being used by the controller driver. spi_maybe_unoptimize_message() is already called in the correct place in spi_finalize_current_message() to balance the call to spi_maybe_optimize_message() in spi_async().
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: spi: no desoptimizar el mensaje en spi_async() Llamar a spi_maybe_unoptimize_message() en spi_async() es incorrecto porque es probable que el mensaje esté en la cola y aún no se haya transferido. Esto puede dañar el mensaje mientras lo utiliza el controlador del controlador. spi_maybe_unoptimize_message() ya se llama en el lugar correcto en spi_finalize_current_message() para equilibrar la llamada a spi_maybe_optimize_message() en spi_async().
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-42249 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-42249 changed 2026-08-04 | Public domain |