CVE-2021-47471

drm: mxsfb: Fix NULL pointer dereference crash on unload

Medium · published May 22, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
10.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00207 · 10.2th percentile
Published
2024-05-22T06:23Z
EPSS history
Timeline
  • 22 MAY 06:23Z
    drm: mxsfb: Fix NULL pointer dereference crash on unload
    cvelistv5