CVE-2026-68226 PUBLISHED

media: cx23885: add ioremap return check and cleanup

Assigner: Linux
Reserved: 30.07.2026 Published: 10.08.2026 Updated: 10.08.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from d19770e5178a4bc49641711246360c25781d20a4 to 8fbdca4c99f68734e9b6c030973fb61a11bede15 (excl.)
  • affected from d19770e5178a4bc49641711246360c25781d20a4 to 83540d86d717735b52a43e4ba1b784da5cc2310a (excl.)
  • affected from d19770e5178a4bc49641711246360c25781d20a4 to c68c4ce72feb6fcccc843eb3baa7af60189ed567 (excl.)
  • affected from d19770e5178a4bc49641711246360c25781d20a4 to ff3c670a1de3a714f5644e37b9446fe7c3299fd3 (excl.)
  • affected from d19770e5178a4bc49641711246360c25781d20a4 to a0701e387b46e2481c05b47f1235b954bfc2af3e (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 2.6.24 is affected
  • unaffected from 0 to 2.6.24 (excl.)
  • unaffected from 6.6.148 to 6.6.* (incl.)
  • unaffected from 6.12.101 to 6.12.* (incl.)
  • unaffected from 6.18.42 to 6.18.* (incl.)
  • unaffected from 7.1.6 to 7.1.* (incl.)
  • unaffected from 7.2-rc1 to * (incl.)

References