CVE-2024-42249

Source
https://cve.org/CVERecord?id=CVE-2024-42249
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42249.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-42249
Downstream
Published
2024-08-07T15:14:33Z
Modified
2026-08-12T03:51:47Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
spi: don't unoptimize message in spi_async()
Details

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().

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42249.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7b1d87af14d9ae902ed0c5dc5fabf4eea5abdf02
Fixed
8b9af6d67517ce4a0015928b3cf35bfd2b1bc1c2
Fixed
c86a918b1bdba78fb155184f8d88dfba1e63335d

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42249.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.9.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42249.json"