← CVE Intelligence

CVE-2026-97507

media: dm1105: fix missing error check for dma_alloc_coherent PUBLISHED

Description (CNA)

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

Vendor / productVersions
Linux / Linuxaffected a611d0ca006fe76d88b8dd5ac44f4468293b6760 before a2017c80dd7f3c409778ca0898d6e75ccab6d2f2; affected a611d0ca006fe76d88b8dd5ac44f4468293b6760 before e96f91da5c83e4c1f1bebe1c58856d02cea4afd9; affected a611d0ca006fe76d88b8dd5ac44f4468293b6760 before 3ff12d5ea9cb0d0fd89c24b69940f0b989bf6d2a; affected a611d0ca006fe76d88b8dd5ac44f4468293b6760 before b6327023dcc7482156fc13cda6361ee573721b05; affected a611d0ca006fe76d88b8dd5ac44f4468293b6760 before 07d6a76a17b550e94ca5cc0060ad6e77952390f2; affected a611d0ca006fe76d88b8dd5ac44f4468293b6760 before f3f135c4fac6194933b952e98a15dc05aa420956; affected a611d0ca006fe76d88b8dd5ac44f4468293b6760 before 3eaac9e02d8591d3c790db572ef1c8fa5a841fdb
Linux / Linuxaffected 2.6.28; unaffected 0 before 2.6.28; unaffected 5.10.271 through 5.10.*; unaffected 5.15.222 through 5.15.*; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2 through *

CWE

No CWE identifiers supplied.

References