In the Linux kernel, the following vulnerability has been resolved: media: intel/ipu6: fix error pointer dereference In a error path isp->psys is confirmed to be an error pointer not NULL so this condition is true and the error pointer is dereferenced. So isp-psys should be set to NULL before going to out_ipu6_bus_del_devices. Detected by Smatch: drivers/media/pci/intel/ipu6/ipu6.c:690 ipu6_pci_probe() error: 'isp->psys' dereferencing possible ERR_PTR() [Sakari Ailus: Fix commit message.]
https://git.kernel.org/stable/c/fad134c446189e9bb48cea1a5ca426d2889a9c71
https://git.kernel.org/stable/c/f43e30646fc93799f3f48530d0ccbd52902c0541
https://git.kernel.org/stable/c/c352f90e093ae49902e47f41579e1aa41899ff64
https://git.kernel.org/stable/c/8dd088b8b106f7b119664f965b691785998edcfb