media: cx23885: add ioremap return check and cleanup
0Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Track
probabilidad de explotación
—
explotación observada
noninguna fuente lo reporta
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.
Productos afectados
Linux · LinuxReferencias
https://git.kernel.org/stable/c/83540d86d717735b52a43e4ba1b784da5cc2310ahttps://git.kernel.org/stable/c/8fbdca4c99f68734e9b6c030973fb61a11bede15https://git.kernel.org/stable/c/a0701e387b46e2481c05b47f1235b954bfc2af3ehttps://git.kernel.org/stable/c/c68c4ce72feb6fcccc843eb3baa7af60189ed567https://git.kernel.org/stable/c/ff3c670a1de3a714f5644e37b9446fe7c3299fd3