CVE-2022-49495
drm/msm/hdmi: check return value after calling platform_get_resource_byname()
Check your servers for CVE-2022-49495
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49495 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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/
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 21.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 1 Oct 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-476 NULL Pointer Dereference
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c6a57a50ad562a2e6fc6ac3218b710caea73a58b, before 9cb1ee33efccb8b107ee04b7b3441820de3fd2da affected from c6a57a50ad562a2e6fc6ac3218b710caea73a58b, before c1bfacf0daf25a5fc7d667399d6ff2dffda84cd8 affected from c6a57a50ad562a2e6fc6ac3218b710caea73a58b, before 0978fcce91b90b561b8c82e7c492ba9fc8440eef affected from c6a57a50ad562a2e6fc6ac3218b710caea73a58b, before 2b3ed7547b1a052209da6c4ab886ffe0eed88c42 affected from c6a57a50ad562a2e6fc6ac3218b710caea73a58b, before d9cb951d11a4ace4de5c50b1178ad211de17079e affected from c6a57a50ad562a2e6fc6ac3218b710caea73a58b, before 4cd66a8016b872a153bf892fe4258cbc0dacf5b1 affected from c6a57a50ad562a2e6fc6ac3218b710caea73a58b, before 6369dda4a2209142ab819f01d3d2076d81e3ebdd affected from c6a57a50ad562a2e6fc6ac3218b710caea73a58b, before 9f5495a5c51c1d11c6ffc13aa2befffec0c2651a affected from c6a57a50ad562a2e6fc6ac3218b710caea73a58b, before a36e506711548df923ceb7ec9f6001375be799a5
Other versions: unaffected
|
| Linux |
affected 4.3 unaffected before 4.3 unaffected from 4.9.318 up to and including 4.9.* unaffected from 4.14.283 up to and including 4.14.* unaffected from 4.19.247 up to and including 4.19.* unaffected from 5.4.198 up to and including 5.4.* unaffected from 5.10.121 up to and including 5.10.* unaffected from 5.15.46 up to and including 5.15.* unaffected from 5.17.14 up to and including 5.17.* unaffected from 5.18.3 up to and including 5.18.* unaffected 5.19 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49495 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49495
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-49495
trivy image --scanners vuln IMAGE | grep CVE-2022-49495
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/9cb1ee33efccb8b107ee04b7b3441820de3fd2da git.kernel.org
- https://git.kernel.org/stable/c/c1bfacf0daf25a5fc7d667399d6ff2dffda84cd8 git.kernel.org
- https://git.kernel.org/stable/c/0978fcce91b90b561b8c82e7c492ba9fc8440eef git.kernel.org
- https://git.kernel.org/stable/c/2b3ed7547b1a052209da6c4ab886ffe0eed88c42 git.kernel.org
- https://git.kernel.org/stable/c/d9cb951d11a4ace4de5c50b1178ad211de17079e git.kernel.org
- https://git.kernel.org/stable/c/4cd66a8016b872a153bf892fe4258cbc0dacf5b1 git.kernel.org
- https://git.kernel.org/stable/c/6369dda4a2209142ab819f01d3d2076d81e3ebdd git.kernel.org
- https://git.kernel.org/stable/c/9f5495a5c51c1d11c6ffc13aa2befffec0c2651a git.kernel.org
- https://git.kernel.org/stable/c/a36e506711548df923ceb7ec9f6001375be799a5 git.kernel.org
Source: the record CVE-2022-49495 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse