NULL pointer dereference in Linux

CVE-2021-47471

In the Linux kernel, the following vulnerability has been resolved:

drm: mxsfb: Fix NULL pointer dereference crash on unload

The mxsfb->crtc.funcs may already be NULL when unloading the driver,
in which case calling mxsfb_irq_disable() via drm_irq_uninstall() from
mxsfb_unload() leads to NULL pointer dereference.

Since all we care about is masking the IRQ and mxsfb->base is still
valid, just use that to clear and mask the IRQ.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 10.8th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions ae1ed0093281939b80664a687689f12436c0e874, 5.10, 0
  • Linux Kernel — versions 5.15

Weakness classification (CWE)

References