# CVE-2022-49495: drm/msm/hdmi: check return value after calling platform_get_resource_byname()

- 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.28%, higher than 21% of CVEs (2026-12-02)
- Published: 2025-02-26T02:13:30.846Z
- Modified: 2026-06-17T05:18:14.053Z
- 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/hdmi: check return value after calling platform_get_resource_byname()

It will cause null-ptr-deref if platform_get_resource_byname() returns NULL,
we need check the return value.

Patchwork: https://patchwork.freedesktop.org/patch/482992/

(As written by CVE List.)

## Affected

- Linux Linux: from c6a57a50ad562a2e6fc6ac3218b710caea73a58b before 9cb1ee33efccb8b107ee04b7b3441820de3fd2da; from c6a57a50ad562a2e6fc6ac3218b710caea73a58b before c1bfacf0daf25a5fc7d667399d6ff2dffda84cd8; from c6a57a50ad562a2e6fc6ac3218b710caea73a58b before 0978fcce91b90b561b8c82e7c492ba9fc8440eef; from c6a57a50ad562a2e6fc6ac3218b710caea73a58b before 2b3ed7547b1a052209da6c4ab886ffe0eed88c42; from c6a57a50ad562a2e6fc6ac3218b710caea73a58b before d9cb951d11a4ace4de5c50b1178ad211de17079e; from c6a57a50ad562a2e6fc6ac3218b710caea73a58b before 4cd66a8016b872a153bf892fe4258cbc0dacf5b1; from c6a57a50ad562a2e6fc6ac3218b710caea73a58b before 6369dda4a2209142ab819f01d3d2076d81e3ebdd; from c6a57a50ad562a2e6fc6ac3218b710caea73a58b before 9f5495a5c51c1d11c6ffc13aa2befffec0c2651a; from c6a57a50ad562a2e6fc6ac3218b710caea73a58b before a36e506711548df923ceb7ec9f6001375be799a5; 4.3 (not affected: before 4.3; from 4.9.318 up to 4.9.*; from 4.14.283 up to 4.14.*; from 4.19.247 up to 4.19.*; from 5.4.198 up to 5.4.*; from 5.10.121 up to 5.10.*; from 5.15.46 up to 5.15.*; from 5.17.14 up to 5.17.*; from 5.18.3 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 4.3 before 4.9.318; from 4.10 before 4.14.283; from 4.15 before 4.19.247; from 4.20 before 5.4.198; from 5.5 before 5.10.121; from 5.11 before 5.15.46; from 5.16 before 5.17.14; from 5.18 before 5.18.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/9cb1ee33efccb8b107ee04b7b3441820de3fd2da> (patch)
- <https://git.kernel.org/stable/c/c1bfacf0daf25a5fc7d667399d6ff2dffda84cd8> (patch)
- <https://git.kernel.org/stable/c/0978fcce91b90b561b8c82e7c492ba9fc8440eef> (patch)
- <https://git.kernel.org/stable/c/2b3ed7547b1a052209da6c4ab886ffe0eed88c42> (patch)
- <https://git.kernel.org/stable/c/d9cb951d11a4ace4de5c50b1178ad211de17079e> (patch)
- <https://git.kernel.org/stable/c/4cd66a8016b872a153bf892fe4258cbc0dacf5b1> (patch)
- <https://git.kernel.org/stable/c/6369dda4a2209142ab819f01d3d2076d81e3ebdd> (patch)
- <https://git.kernel.org/stable/c/9f5495a5c51c1d11c6ffc13aa2befffec0c2651a> (patch)
- <https://git.kernel.org/stable/c/a36e506711548df923ceb7ec9f6001375be799a5> (patch)

## Sources

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

---

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