CVE-2026-68226: media: cx23885: add ioremap return check and cleanup
Greg Kroah-Hartman <[email protected]>
| Newsgroups | org.kernel.vger.linux-cve-announce |
|---|---|
| Message-ID | <2026081016-CVE-2026-68226-961f@gregkh> |
From: Greg Kroah-Hartman <[email protected]> Description =========== In the Linux kernel, the following vulnerability has been resolved: media: cx23885: add ioremap return check and cleanup Add a check for the return value of pci_ioremap_bar() in cx23885_dev_setup(). If ioremap for BAR0 fails, release the already allocated PCI memory region, decrement the device count, and return -ENODEV. This prevents a potential null pointer dereference and ensures proper cleanup on memory mapping failure. The Linux kernel CVE team has assigned CVE-2026-68226 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.24 with commit d19770e5178a4bc49641711246360c25781d20a4 and fixed in 6.6.148 with commit 8fbdca4c99f68734e9b6c030973fb61a11bede15 Issue introduced in 2.6.24 with commit d19770e5178a4bc49641711246360c25781d20a4 and fixed in 6.12.101 with commit 83540d86d717735b52a43e4ba1b784da5cc2310a Issue introduced in 2.6.24 with commit d19770e5178a4bc49641711246360c25781d20a4 and fixed in 6.18.42 with commit c68c4ce72feb6fcccc843eb3baa7af60189ed567 Issue introduced in 2.6.24 with commit d19770e5178a4bc49641711246360c25781d20a4 and fixed in 7.1.6 with commit ff3c670a1de3a714f5644e37b9446fe7c3299fd3 Issue introduced in 2.6.24 with commit d19770e5178a4bc49641711246360c25781d20a4 and fixed in 7.2-rc1 with commit a0701e387b46e2481c05b47f1235b954bfc2af3e Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-68226 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/media/pci/cx23885/cx23885-core.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/8fbdca4c99f68734e9b6c030973fb61a11bede15 https://git.kernel.org/stable/c/83540d86d717735b52a43e4ba1b784da5cc2310a https://git.kernel.org/stable/c/c68c4ce72feb6fcccc843eb3baa7af60189ed567 https://git.kernel.org/stable/c/ff3c670a1de3a714f5644e37b9446fe7c3299fd3 https://git.kernel.org/stable/c/a0701e387b46e2481c05b47f1235b954bfc2af3e