# CVE-2021-47445: drm/msm: Fix null pointer dereference on pointer edp

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-02)
- Published: 2024-05-22T06:19:38.184Z
- Modified: 2026-06-17T04:17:29.470Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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")

(As written by CVE List.)

## Affected

- Linux Linux: from ab5b0107ccf3821a6837b0f2819270d6fa0b278f before f175b9a83e5c252d7c74acddc792840016caae0a; from ab5b0107ccf3821a6837b0f2819270d6fa0b278f before bacac7d26849c8e903ceb7466d9ce8dc3c2797eb; from ab5b0107ccf3821a6837b0f2819270d6fa0b278f before 0cd063aa0a09822cc1620fc59a67fe2f9f6338ac; from ab5b0107ccf3821a6837b0f2819270d6fa0b278f before 7f642b93710b6b1119bdff90be01e6b5a2a5d669; from ab5b0107ccf3821a6837b0f2819270d6fa0b278f before f302be08e3de94db8863a0b2958b2bb3e8e998e6; from ab5b0107ccf3821a6837b0f2819270d6fa0b278f before 91a340768b012f5b910a203a805b97a345b3db37; from ab5b0107ccf3821a6837b0f2819270d6fa0b278f before 46c8ddede0273d1d132beefa9de8b820326982be; from ab5b0107ccf3821a6837b0f2819270d6fa0b278f before 2133c4fc8e1348dcb752f267a143fe2254613b34; 4.0 (not affected: before 4.0; from 4.4.290 up to 4.4.*; from 4.9.288 up to 4.9.*; from 4.14.252 up to 4.14.*; from 4.19.213 up to 4.19.*; from 5.4.155 up to 5.4.*; from 5.10.75 up to 5.10.*; from 5.14.14 up to 5.14.*; from 5.15 up to *)
- linux 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; from 5.11 before 5.14.14; 5.15

## References

- <https://git.kernel.org/stable/c/f175b9a83e5c252d7c74acddc792840016caae0a> (patch)
- <https://git.kernel.org/stable/c/bacac7d26849c8e903ceb7466d9ce8dc3c2797eb> (patch)
- <https://git.kernel.org/stable/c/0cd063aa0a09822cc1620fc59a67fe2f9f6338ac> (patch)
- <https://git.kernel.org/stable/c/7f642b93710b6b1119bdff90be01e6b5a2a5d669> (patch)
- <https://git.kernel.org/stable/c/f302be08e3de94db8863a0b2958b2bb3e8e998e6> (patch)
- <https://git.kernel.org/stable/c/91a340768b012f5b910a203a805b97a345b3db37> (patch)
- <https://git.kernel.org/stable/c/46c8ddede0273d1d132beefa9de8b820326982be> (patch)
- <https://git.kernel.org/stable/c/2133c4fc8e1348dcb752f267a143fe2254613b34> (patch)

## Sources

- CVE List: [CVE-2021-47445](https://www.cve.org/CVERecord?id=CVE-2021-47445), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47445](https://nvd.nist.gov/vuln/detail/CVE-2021-47445), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47445 · Whole record: https://cve.day/CVE-2021-47445.json · Rebuilt by cve.day 2026-11-25T22:58:08.861Z
