CVE-2021-47471

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.
Configurations

No configuration.

History

21 Nov 2024, 06:36

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/3cfc183052c3dbf8eae57b6c1685dab00ed3db4a - () https://git.kernel.org/stable/c/3cfc183052c3dbf8eae57b6c1685dab00ed3db4a -
References () https://git.kernel.org/stable/c/b0e6db0656ddfd8bb57303c2ef61ee1c1cc694a8 - () https://git.kernel.org/stable/c/b0e6db0656ddfd8bb57303c2ef61ee1c1cc694a8 -
References () https://git.kernel.org/stable/c/f40c2281d2c0674d32ba732fee45222d76495472 - () https://git.kernel.org/stable/c/f40c2281d2c0674d32ba732fee45222d76495472 -

31 Oct 2024, 16:35

Type Values Removed Values Added
CWE CWE-476
Summary
  • (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.
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

22 May 2024, 07:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-22 07:15

Updated : 2024-11-21 06:36


NVD link : CVE-2021-47471

Mitre link : CVE-2021-47471

CVE.ORG link : CVE-2021-47471


JSON object : View

Products Affected

No product.

CWE
CWE-476

NULL Pointer Dereference