What’s Vulnerable › Vulnerabilities
CVE-2021-47471: drm: mxsfb: Fix NULL pointer dereference crash on unload
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-22 · updated 2026-06-17
- Weakness: CWE-476
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
- Linux kernel: from 5.10 before 5.10.76; from 5.11 before 5.14.15; 5.15-rc1, 5.15-rc2, 5.15-rc3, 5.15-rc4, 5.15-rc5, 5.15-rc6 — fixed in 5.10.76, 5.14.15
How to fix
Upgrade to a fixed version: Linux kernel 5.10.76, 5.14.15. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/3cfc183052c3dbf8eae57b6c1685dab00ed3db4a
- https://git.kernel.org/stable/c/b0e6db0656ddfd8bb57303c2ef61ee1c1cc694a8
- https://git.kernel.org/stable/c/f40c2281d2c0674d32ba732fee45222d76495472
- https://git.kernel.org/stable/c/3cfc183052c3dbf8eae57b6c1685dab00ed3db4a
- https://git.kernel.org/stable/c/b0e6db0656ddfd8bb57303c2ef61ee1c1cc694a8
- https://git.kernel.org/stable/c/f40c2281d2c0674d32ba732fee45222d76495472
Get alerted when CVE-2021-47471 or the next vulnerability affects your stack