In the Linux kernel, the following vulnerability has been resolved:
drm/msm/disp/dpu1: avoid clearing hw interrupts if hw_intr is null during drm uninit
If edp modeset init is failed due to panel being not ready and probe defers during drm bind, avoid clearing irqs and dereference hwintr when hwintr is null.
BUG: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
Call trace: dpucoreirquninstall+0x50/0xb0 dpuirquninstall+0x18/0x24 msmdrmuninit+0xd8/0x16c msmdrmbind+0x580/0x5fc trytobringupmaster+0x168/0x1c0 _componentadd+0xb4/0x178 componentadd+0x1c/0x28 dpdisplayprobe+0x38c/0x400 platformprobe+0xb0/0xd0 reallyprobe+0xcc/0x2c8 _driverprobedevice+0xbc/0xe8 driverprobedevice+0x48/0xf0 _deviceattachdriver+0xa0/0xc8 busforeachdrv+0x8c/0xd8 _deviceattach+0xc4/0x150 deviceinitial_probe+0x1c/0x28
Changes in V2: - Update commit message and coreect fixes tag.
Patchwork: https://patchwork.freedesktop.org/patch/484430/