# CVE-2022-49125: drm/sprd: fix potential NULL dereference

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `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 15% of CVEs (2026-12-01)
- Published: 2025-02-26T01:55:03.677Z
- Modified: 2026-06-17T05:17:09.200Z
- 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/sprd: fix potential NULL dereference

'drm' could be null in sprd_drm_shutdown, and drm_warn maybe dereference
it, remove this warning log.


v1 -> v2:
- Split checking platform_get_resource() return value to a separate patch
- Use dev_warn() instead of removing the warning log

(As written by CVE List.)

## Affected

- Linux Linux: from 43531edd53f07cbe977a0b33dea6dd6c29b21fea before c3acc8db1bc221604e2db9807f01d8a44b97a64d; from 43531edd53f07cbe977a0b33dea6dd6c29b21fea before 8668658aebb0a19d877d5a81c004baf716c4aaa6; 5.17 (not affected: before 5.17; from 5.17.3 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: before 5.17.3

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/c3acc8db1bc221604e2db9807f01d8a44b97a64d> (patch)
- <https://git.kernel.org/stable/c/8668658aebb0a19d877d5a81c004baf716c4aaa6> (patch)

## Sources

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

---

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