5.5medium
drm: mxsfb: Fix NULL pointer dereference crash on unload
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from ae1ed0093281939b80664a687689f12436c0e874 before f40c2281d2c0674d32ba732fee45222d76495472, from ae1ed0093281939b80664a687689f12436c0e874 before b0e6db0656ddfd8bb57303c2ef61ee1c1cc694a8, from ae1ed0093281939b80664a687689f12436c0e874 before 3cfc183052c3dbf8eae57b6c1685dab00ed3db4a, 5.10 Not affected: before 5.10, from 5.10.76 up to 5.10.*, from 5.14.15 up to 5.14.*, from 5.15 up to * | CVE List |
| linux linux_kernel | from 5.10 before 5.10.76, from 5.11 before 5.14.15, 5.15 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: drm: mxsfb: corrige el fallo de desreferencia del puntero NULL al descargar Es posible que mxsfb->crtc.funcs ya sea NULL al descargar el controlador, en cuyo caso se llama a mxsfb_irq_disable() a través de drm_irq_uninstall() desde mxsfb_unload() conduce a la desreferencia del puntero NULL. Dado que lo único que nos importa es enmascarar la IRQ y mxsfb->base sigue siendo válido, simplemente utilícelo para borrar y enmascarar la IRQ.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47471 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47471 changed 2026-06-17 | Public domain |