What’s Vulnerable › Vulnerabilities
CVE-2021-47445: drm/msm: Fix null pointer dereference on pointer edp
- 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/msm: Fix null pointer dereference on pointer edp The initialization of pointer dev dereferences pointer edp before edp is null checked, so there is a potential null pointer deference issue. Fix this by only dereferencing edp after edp has been null checked. Addresses-Coverity: ("Dereference before null check")
Affected products
- Linux kernel: from 4.0 before 4.4.290; from 4.5 before 4.9.288; from 4.10 before 4.14.252; from 4.15 before 4.19.213; from 4.20 before 5.4.155; from 5.5 before 5.10.75 — fixed in 4.14.252, 4.19.213, 4.4.290, 4.9.288, 5.10.75, 5.14.14
How to fix
Upgrade to a fixed version: Linux kernel 4.14.252, 4.19.213, 4.4.290, 4.9.288. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0cd063aa0a09822cc1620fc59a67fe2f9f6338ac
- https://git.kernel.org/stable/c/2133c4fc8e1348dcb752f267a143fe2254613b34
- https://git.kernel.org/stable/c/46c8ddede0273d1d132beefa9de8b820326982be
- https://git.kernel.org/stable/c/7f642b93710b6b1119bdff90be01e6b5a2a5d669
- https://git.kernel.org/stable/c/91a340768b012f5b910a203a805b97a345b3db37
- https://git.kernel.org/stable/c/bacac7d26849c8e903ceb7466d9ce8dc3c2797eb
- https://git.kernel.org/stable/c/f175b9a83e5c252d7c74acddc792840016caae0a
- https://git.kernel.org/stable/c/f302be08e3de94db8863a0b2958b2bb3e8e998e6
- https://git.kernel.org/stable/c/0cd063aa0a09822cc1620fc59a67fe2f9f6338ac
- https://git.kernel.org/stable/c/2133c4fc8e1348dcb752f267a143fe2254613b34
- https://git.kernel.org/stable/c/46c8ddede0273d1d132beefa9de8b820326982be
- https://git.kernel.org/stable/c/7f642b93710b6b1119bdff90be01e6b5a2a5d669
Get alerted when CVE-2021-47445 or the next vulnerability affects your stack