# CVE-2022-48749: drm/msm/dpu: invalid parameter check in dpu_setup_dspp_pcc

- 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.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-06-20T11:13:31.274Z
- Modified: 2026-06-17T05:16:05.627Z
- 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/dpu: invalid parameter check in dpu_setup_dspp_pcc

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

(As written by CVE List.)

## Affected

- Linux Linux: from 4259ff7ae509ed880b3a7bb685972c3a3bf4b74b before 93a6e920d8ccb4df846c03b6e72f7e08843d294c; from 4259ff7ae509ed880b3a7bb685972c3a3bf4b74b before 8f069f6dde518dfebe86e848508c07e497bd9298; from 4259ff7ae509ed880b3a7bb685972c3a3bf4b74b before 1ebc18836d5df09061657f8c548e594cbb519476; from 4259ff7ae509ed880b3a7bb685972c3a3bf4b74b before 170b22234d5495f5e0844246e23f004639ee89ba; 5.8 (not affected: before 5.8; from 5.10.96 up to 5.10.*; from 5.15.19 up to 5.15.*; from 5.16.5 up to 5.16.*; from 5.17 up to *)
- linux linux_kernel: from 5.8 before 5.10.96; from 5.11 before 5.15.19; from 5.16 before 5.16.5; 5.17

## References

- <https://git.kernel.org/stable/c/93a6e920d8ccb4df846c03b6e72f7e08843d294c> (patch)
- <https://git.kernel.org/stable/c/8f069f6dde518dfebe86e848508c07e497bd9298> (patch)
- <https://git.kernel.org/stable/c/1ebc18836d5df09061657f8c548e594cbb519476> (patch)
- <https://git.kernel.org/stable/c/170b22234d5495f5e0844246e23f004639ee89ba> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2022-48749 · Whole record: https://cve.day/CVE-2022-48749.json · Rebuilt by cve.day 2026-11-25T22:58:19.849Z
