Dismissed
(max. allowed matches exceeded)
Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
media: cx23885: add ioremap return check and cleanup
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.
References
Affected products
Linux
- <a0701e387b46e2481c05b47f1235b954bfc2af3e
- =<6.6.*
- <83540d86d717735b52a43e4ba1b784da5cc2310a
- =<*
- <c68c4ce72feb6fcccc843eb3baa7af60189ed567
- <2.6.24
- ==2.6.24
- =<6.12.*
- =<6.18.*
- =<7.1.*
- <ff3c670a1de3a714f5644e37b9446fe7c3299fd3
- <8fbdca4c99f68734e9b6c030973fb61a11bede15