CVE-2021-47445
drm/msm: Fix null pointer dereference on pointer edp
Mitigation
- Upgrade Linux to 2133c4fc8e1348dcb752f267a143fe2254613b34 or later.
Who should check
- Anyone running Linux >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < f175b9a83e5c252d7c74acddc792840016caae0a; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < bacac7d26849c8e903ceb7466d9ce8dc3c2797eb; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 0cd063aa0a09822cc1620fc59a67fe2f9f6338ac; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 7f642b93710b6b1119bdff90be01e6b5a2a5d669; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < f302be08e3de94db8863a0b2958b2bb3e8e998e6; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 91a340768b012f5b910a203a805b97a345b3db37; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 46c8ddede0273d1d132beefa9de8b820326982be; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 2133c4fc8e1348dcb752f267a143fe2254613b34
- Anyone running Linux 4.0
Vulnerability facts
- Affected
- Linux >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < f175b9a83e5c252d7c74acddc792840016caae0a; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < bacac7d26849c8e903ceb7466d9ce8dc3c2797eb; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 0cd063aa0a09822cc1620fc59a67fe2f9f6338ac; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 7f642b93710b6b1119bdff90be01e6b5a2a5d669; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < f302be08e3de94db8863a0b2958b2bb3e8e998e6; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 91a340768b012f5b910a203a805b97a345b3db37; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 46c8ddede0273d1d132beefa9de8b820326982be; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 2133c4fc8e1348dcb752f267a143fe2254613b34; Linux 4.0
- Fixed in
- Linux 0cd063aa0a09822cc1620fc59a67fe2f9f6338ac, Linux 7f642b93710b6b1119bdff90be01e6b5a2a5d669, Linux 91a340768b012f5b910a203a805b97a345b3db37, Linux 46c8ddede0273d1d132beefa9de8b820326982be, Linux 2133c4fc8e1348dcb752f267a143fe2254613b34
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-476
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < f175b9a83e5c252d7c74acddc792840016caae0a; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < bacac7d26849c8e903ceb7466d9ce8dc3c2797eb; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 0cd063aa0a09822cc1620fc59a67fe2f9f6338ac; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 7f642b93710b6b1119bdff90be01e6b5a2a5d669; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < f302be08e3de94db8863a0b2958b2bb3e8e998e6; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 91a340768b012f5b910a203a805b97a345b3db37; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 46c8ddede0273d1d132beefa9de8b820326982be; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 2133c4fc8e1348dcb752f267a143fe2254613b34 | — | cvelist |
| Linux | 4.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-47445. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-47445.md Affected: Linux >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < f175b9a83e5c252d7c74acddc792840016caae0a; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < bacac7d26849c8e903ceb7466d9ce8dc3c2797eb; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 0cd063aa0a09822cc1620fc59a67fe2f9f6338ac; >= ab5b0107ccf3821a6837b0f… Fixed in: Linux 0cd063aa0a09822cc1620fc59a67fe2f9f6338ac, Linux 7f642b93710b6b1119bdff90be01e6b5a2a5d669, Linux 91a340768b012f5b910a203a805b97a345b3db37, Linux 46c8ddede0273d1d132beefa9de8b820326982be, Linux 2133c4fc8e1348dcb752f267a143fe2254613b34 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/f175b9a83e5c252d7c74acddc792840016caae0a
- https://git.kernel.org/stable/c/bacac7d26849c8e903ceb7466d9ce8dc3c2797eb
- https://git.kernel.org/stable/c/0cd063aa0a09822cc1620fc59a67fe2f9f6338ac
- https://git.kernel.org/stable/c/7f642b93710b6b1119bdff90be01e6b5a2a5d669
- https://git.kernel.org/stable/c/f302be08e3de94db8863a0b2958b2bb3e8e998e6
- https://git.kernel.org/stable/c/91a340768b012f5b910a203a805b97a345b3db37
- https://git.kernel.org/stable/c/46c8ddede0273d1d132beefa9de8b820326982be
- https://git.kernel.org/stable/c/2133c4fc8e1348dcb752f267a143fe2254613b34
FAQ
Is CVE-2021-47445 being exploited?
There is no confirmed exploitation: CVE-2021-47445 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-47445?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-47445?
Linux >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < f175b9a83e5c252d7c74acddc792840016caae0a; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < bacac7d26849c8e903ceb7466d9ce8dc3c2797eb; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 0cd063aa0a09822cc1620fc59a67fe2f9f6338ac; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 7f642b93710b6b1119bdff90be01e6b5a2a5d669; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < f302be08e3de94db8863a0b2958b2bb3e8e998e6; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 91a340768b012f5b910a203a805b97a345b3db37; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 46c8ddede0273d1d132beefa9de8b820326982be; >= ab5b0107ccf3821a6837b0f2819270d6fa0b278f, < 2133c4fc8e1348dcb752f267a143fe2254613b34; Linux 4.0.
Is there a fix for CVE-2021-47445?
Yes. Fixed in Linux 0cd063aa0a09822cc1620fc59a67fe2f9f6338ac, Linux 7f642b93710b6b1119bdff90be01e6b5a2a5d669, Linux 91a340768b012f5b910a203a805b97a345b3db37, Linux 46c8ddede0273d1d132beefa9de8b820326982be, Linux 2133c4fc8e1348dcb752f267a143fe2254613b34. Upgrade Linux to 2133c4fc8e1348dcb752f267a143fe2254613b34 or later.
How do I check if I'm affected by CVE-2021-47445?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.