Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2021-47471

drm: mxsfb: Fix NULL pointer dereference crash on unload

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • ae1ed0093281939b80664a687689f12436c0e874 to < f40c2281d2c0674d32ba732fee45222d76495472affected
  • ae1ed0093281939b80664a687689f12436c0e874 to < b0e6db0656ddfd8bb57303c2ef61ee1c1cc694a8affected
  • ae1ed0093281939b80664a687689f12436c0e874 to < 3cfc183052c3dbf8eae57b6c1685dab00ed3db4aaffected

Linux Linux

Default version status: affected

  • 5.10affected
  • 0 to < 5.10unaffected
  • 5.10.76 to ≤ 5.10.*unaffected
  • 5.14.15 to ≤ 5.14.*unaffected
  • 5.15 to ≤ *unaffected

References