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 trytobringup_master+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 busforeach_drv+0x8c/0xd8 _deviceattach+0xc4/0x150 deviceinitialprobe+0x1c/0x28
Changes in V2: - Update commit message and coreect fixes tag.
Patchwork: https://patchwork.freedesktop.org/patch/484430/
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49483.json"
}