media: dm1105: fix missing error check for dma_alloc_coherent
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: media: dm1105: fix missing error check for dma_alloc_coherent The return value of dm1105_dma_map(), which handles DMA memory allocation, is ignored in dm1105_hw_init(). If dma_alloc_coherent() fails, the driver will proceed using a NULL pointer for DMA transfers, leading to a kernel oops or invalid hardware access. Fix this by checking the return value and propagating -ENOMEM on failure.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From a611d0ca006fe76d88b8dd5ac44f4468293b6760 · fixed in a2017c80dd7f3c409778ca0898d6e75ccab6d2f2; From a611d0ca006fe76d88b8dd5ac44f4468293b6760 · fixed in e96f91da5c83e4c1f1bebe1c58856d02cea4afd9; From a611d0ca006fe76d88b8dd5ac44f4468293b6760 · fixed in 3ff12d5ea9cb0d0fd89c24b69940f0b989bf6d2a; From a611d0ca006fe76d88b8dd5ac44f4468293b6760 · fixed in b6327023dcc7482156fc13cda6361ee573721b05; From a611d0ca006fe76d88b8dd5ac44f4468293b6760 · fixed in 07d6a76a17b550e94ca5cc0060ad6e77952390f2; From a611d0ca006fe76d88b8dd5ac44f4468293b6760 · fixed in f3f135c4fac6194933b952e98a15dc05aa420956; From a611d0ca006fe76d88b8dd5ac44f4468293b6760 · fixed in 3eaac9e02d8591d3c790db572ef1c8fa5a841fdb
- Linux Linux
2.6.28
- KernelLinux
From 2.6.28 · fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53
References 7
git.kernel.org
- stable/c/a2017c80dd7f3c409778ca0898d6e75ccab6d2f2
- stable/c/e96f91da5c83e4c1f1bebe1c58856d02cea4afd9
- stable/c/3ff12d5ea9cb0d0fd89c24b69940f0b989bf6d2a
- stable/c/b6327023dcc7482156fc13cda6361ee573721b05
- stable/c/07d6a76a17b550e94ca5cc0060ad6e77952390f2
- stable/c/f3f135c4fac6194933b952e98a15dc05aa420956
- stable/c/3eaac9e02d8591d3c790db572ef1c8fa5a841fdb