Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
a611d0ca006fe76d88b8dd5ac44f4468293b6760 to < a2017c80dd7f3c409778ca0898d6e75ccab6d2f2affecteda611d0ca006fe76d88b8dd5ac44f4468293b6760 to < e96f91da5c83e4c1f1bebe1c58856d02cea4afd9affecteda611d0ca006fe76d88b8dd5ac44f4468293b6760 to < 3ff12d5ea9cb0d0fd89c24b69940f0b989bf6d2aaffecteda611d0ca006fe76d88b8dd5ac44f4468293b6760 to < b6327023dcc7482156fc13cda6361ee573721b05affecteda611d0ca006fe76d88b8dd5ac44f4468293b6760 to < 07d6a76a17b550e94ca5cc0060ad6e77952390f2affecteda611d0ca006fe76d88b8dd5ac44f4468293b6760 to < f3f135c4fac6194933b952e98a15dc05aa420956affecteda611d0ca006fe76d88b8dd5ac44f4468293b6760 to < 3eaac9e02d8591d3c790db572ef1c8fa5a841fdbaffected
Linux Linux
Default version status: affected
2.6.28affected0 to < 2.6.28unaffected5.10.271 to ≤ 5.10.*unaffected5.15.222 to ≤ 5.15.*unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/a2017c80dd7f3c409778ca0898d6e75ccab6d2f2 ↗
- https://git.kernel.org/stable/c/e96f91da5c83e4c1f1bebe1c58856d02cea4afd9 ↗
- https://git.kernel.org/stable/c/3ff12d5ea9cb0d0fd89c24b69940f0b989bf6d2a ↗
- https://git.kernel.org/stable/c/b6327023dcc7482156fc13cda6361ee573721b05 ↗
- https://git.kernel.org/stable/c/07d6a76a17b550e94ca5cc0060ad6e77952390f2 ↗
- https://git.kernel.org/stable/c/f3f135c4fac6194933b952e98a15dc05aa420956 ↗
- https://git.kernel.org/stable/c/3eaac9e02d8591d3c790db572ef1c8fa5a841fdb ↗