CVE-2022-49495

Source
https://cve.org/CVERecord?id=CVE-2022-49495
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49495.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49495
Downstream
Related
Published
2025-02-26T02:13:30.846Z
Modified
2026-04-11T12:44:08.509722Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
drm/msm/hdmi: check return value after calling platform_get_resource_byname()
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/msm/hdmi: check return value after calling platformgetresource_byname()

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

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49495.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c6a57a50ad562a2e6fc6ac3218b710caea73a58b
Fixed
9cb1ee33efccb8b107ee04b7b3441820de3fd2da
Fixed
c1bfacf0daf25a5fc7d667399d6ff2dffda84cd8
Fixed
0978fcce91b90b561b8c82e7c492ba9fc8440eef
Fixed
2b3ed7547b1a052209da6c4ab886ffe0eed88c42
Fixed
d9cb951d11a4ace4de5c50b1178ad211de17079e
Fixed
4cd66a8016b872a153bf892fe4258cbc0dacf5b1
Fixed
6369dda4a2209142ab819f01d3d2076d81e3ebdd
Fixed
9f5495a5c51c1d11c6ffc13aa2befffec0c2651a
Fixed
a36e506711548df923ceb7ec9f6001375be799a5

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49495.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.3.0
Fixed
4.9.318
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.283
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.247
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.198
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.121
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.46
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.17.14
Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
5.18.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49495.json"