drm/msm/dpu: invalid parameter check in dpu_setup_dspp_pcc
Published Jun 20, 2024
5.5
MEDIUMCVSS 3.1
EPSS 0.22%
Description
The function performs a check on the "ctx" input parameter, however, it is used before the check.
Initialize the "base" variable after the sanity check to avoid a possible NULL pointer dereference.
Addresses-Coverity-ID: 1493866 ("Null pointer dereference")
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 5.8StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<5.8
- Version 5.10.96StatusunaffectedConstraints<=5.10.*
- Version 5.15.19StatusunaffectedConstraints<=5.15.*
- Version 5.16.5StatusunaffectedConstraints<=5.16.*
- Version 5.17StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- ≥ 5.8 · < 5.10.96
- ≥ 5.11 · < 5.15.19
- ≥ 5.16 · < 5.16.5
- 5.17
No data.
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
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 | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | 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
Red Hat statement
No Red Hat Products are affected by this vulnerability.
References (9)
- https://access.redhat.com/security/cve/CVE-2022-48749 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2293310 Issue Tracking
- https://git.kernel.org/stable/c/170b22234d5495f5e0844246e23f004639ee89ba Patch
- https://git.kernel.org/stable/c/1ebc18836d5df09061657f8c548e594cbb519476 Patch
- https://git.kernel.org/stable/c/8f069f6dde518dfebe86e848508c07e497bd9298 Patch
- https://git.kernel.org/stable/c/93a6e920d8ccb4df846c03b6e72f7e08843d294c Patch
- https://lore.kernel.org/linux-cve-announce/2024062005-CVE-2022-48749-0566@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-48749
- https://www.cve.org/CVERecord?id=CVE-2022-48749
Change history (0)
No recorded changes yet.