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.
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
d19770e5178a4bc49641711246360c25781d20a4 to < f58f4b571bd75c78bbf15441086ba0c2830c1aa5affectedd19770e5178a4bc49641711246360c25781d20a4 to < 9052fec0bb84eace81ac7bad071266052870cdf3affectedd19770e5178a4bc49641711246360c25781d20a4 to < 6a7636e3d5204fb18fdf1c3f909a3d9d9e24064caffectedd19770e5178a4bc49641711246360c25781d20a4 to < 8fbdca4c99f68734e9b6c030973fb61a11bede15affectedd19770e5178a4bc49641711246360c25781d20a4 to < 83540d86d717735b52a43e4ba1b784da5cc2310aaffectedd19770e5178a4bc49641711246360c25781d20a4 to < c68c4ce72feb6fcccc843eb3baa7af60189ed567affectedd19770e5178a4bc49641711246360c25781d20a4 to < ff3c670a1de3a714f5644e37b9446fe7c3299fd3affectedd19770e5178a4bc49641711246360c25781d20a4 to < a0701e387b46e2481c05b47f1235b954bfc2af3eaffected
Linux Linux
Default version status: affected
2.6.24affected0 to < 2.6.24unaffected5.10.265 to ≤ 5.10.*unaffected5.15.216 to ≤ 5.15.*unaffected6.1.183 to ≤ 6.1.*unaffected6.6.148 to ≤ 6.6.*unaffected6.12.101 to ≤ 6.12.*unaffected6.18.42 to ≤ 6.18.*unaffected7.1.6 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/f58f4b571bd75c78bbf15441086ba0c2830c1aa5 ↗
- https://git.kernel.org/stable/c/9052fec0bb84eace81ac7bad071266052870cdf3 ↗
- https://git.kernel.org/stable/c/6a7636e3d5204fb18fdf1c3f909a3d9d9e24064c ↗
- 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 ↗