What’s Vulnerable › Vulnerabilities

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

How to fix

Upgrade to a fixed version: Linux kernel 5.10.76, 5.14.15. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47471 or the next vulnerability affects your stack