Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected d19770e5178a4bc49641711246360c25781d20a4 before f58f4b571bd75c78bbf15441086ba0c2830c1aa5; affected d19770e5178a4bc49641711246360c25781d20a4 before 9052fec0bb84eace81ac7bad071266052870cdf3; affected d19770e5178a4bc49641711246360c25781d20a4 before 6a7636e3d5204fb18fdf1c3f909a3d9d9e24064c; affected d19770e5178a4bc49641711246360c25781d20a4 before 8fbdca4c99f68734e9b6c030973fb61a11bede15; affected d19770e5178a4bc49641711246360c25781d20a4 before 83540d86d717735b52a43e4ba1b784da5cc2310a; affected d19770e5178a4bc49641711246360c25781d20a4 before c68c4ce72feb6fcccc843eb3baa7af60189ed567; affected d19770e5178a4bc49641711246360c25781d20a4 before ff3c670a1de3a714f5644e37b9446fe7c3299fd3; affected d19770e5178a4bc49641711246360c25781d20a4 before a0701e387b46e2481c05b47f1235b954bfc2af3e |
| Linux / Linux | affected 2.6.24; unaffected 0 before 2.6.24; unaffected 5.10.265 through 5.10.*; unaffected 5.15.216 through 5.15.*; unaffected 6.1.183 through 6.1.*; unaffected 6.6.148 through 6.6.*; unaffected 6.12.101 through 6.12.*; unaffected 6.18.42 through 6.18.*; unaffected 7.1.6 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
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