drm/msm: Fix null pointer dereference on pointer edp
Published May 22, 2024
5.5
MEDIUMCVSS 3.1
EPSS 0.23%
Description
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
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 4.0StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<4.0
- Version 4.14.252StatusunaffectedConstraints<=4.14.*
- Version 4.19.213StatusunaffectedConstraints<=4.19.*
- Version 4.4.290StatusunaffectedConstraints<=4.4.*
- Version 4.9.288StatusunaffectedConstraints<=4.9.*
- Version 5.10.75StatusunaffectedConstraints<=5.10.*
- Version 5.14.14StatusunaffectedConstraints<=5.14.*
- Version 5.15StatusunaffectedConstraints<=*
- Version 5.4.155StatusunaffectedConstraints<=5.4.*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| |||||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 4.0 · < 4.4.290
- ≥ 4.5 · < 4.9.288
- ≥ 4.10 · < 4.14.252
- ≥ 4.15 · < 4.19.213
- ≥ 4.20 · < 5.4.155
- ≥ 5.5 · < 5.10.75
- ≥ 5.11 · < 5.14.14
- 5.15
- 5.15
- 5.15
- 5.15
- 5.15
No data.
Red Hat Enterprise Linux 6
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel-rt
Out of support scope
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (13)
- https://access.redhat.com/security/cve/CVE-2021-47445 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2282847 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-34450 Advisory
- https://git.kernel.org/stable/c/0cd063aa0a09822cc1620fc59a67fe2f9f6338ac Patch
- https://git.kernel.org/stable/c/2133c4fc8e1348dcb752f267a143fe2254613b34 Patch
- https://git.kernel.org/stable/c/46c8ddede0273d1d132beefa9de8b820326982be Patch
- https://git.kernel.org/stable/c/7f642b93710b6b1119bdff90be01e6b5a2a5d669 Patch
- https://git.kernel.org/stable/c/91a340768b012f5b910a203a805b97a345b3db37 Patch
- https://git.kernel.org/stable/c/bacac7d26849c8e903ceb7466d9ce8dc3c2797eb Patch
- https://git.kernel.org/stable/c/f175b9a83e5c252d7c74acddc792840016caae0a Patch
- https://git.kernel.org/stable/c/f302be08e3de94db8863a0b2958b2bb3e8e998e6 Patch
- https://nvd.nist.gov/vuln/detail/CVE-2021-47445
- https://www.cve.org/CVERecord?id=CVE-2021-47445
Change history (0)
No recorded changes yet.