CVE-2022-49495

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

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:13 AM UTC
Updated: June 17, 2026 at 05:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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/

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.10 ≤ v < 4.14.2834.15 ≤ v < 4.19.2474.20 ≤ v < 5.4.1984.3 ≤ v < 4.14.2834.3 ≤ v < 4.19.2474.3 ≤ v < 4.9.3184.3 ≤ v < 5.10.1214.3 ≤ v < 5.15.464.3 ≤ v < 5.17.144.3 ≤ v < 5.18.34.3 ≤ v < 5.194.3 ≤ v < 5.4.1985.11 ≤ v < 5.15.465.16 ≤ v < 5.17.145.18 ≤ v < 5.18.35.5 ≤ v < 5.10.1214.3c6a57a50ad562a2e6fc6ac3218b710caea73a58b
Vendor states this is fixed in 0978fcce91b90b561b8c82e7c492ba9fc8440eef (fixed)
Vendor states this is fixed in 2b3ed7547b1a052209da6c4ab886ffe0eed88c42 (fixed)
Vendor states this is fixed in 4cd66a8016b872a153bf892fe4258cbc0dacf5b1 (fixed)
Vendor states this is fixed in 6369dda4a2209142ab819f01d3d2076d81e3ebdd (fixed)
Vendor states this is fixed in 9cb1ee33efccb8b107ee04b7b3441820de3fd2da (fixed)
Vendor states this is fixed in 9f5495a5c51c1d11c6ffc13aa2befffec0c2651a (fixed)
Vendor states this is fixed in a36e506711548df923ceb7ec9f6001375be799a5 (fixed)
Vendor states this is fixed in c1bfacf0daf25a5fc7d667399d6ff2dffda84cd8 (fixed)
Vendor states this is fixed in d9cb951d11a4ace4de5c50b1178ad211de17079e (fixed)
Vendor states this is fixed in 4.14.283 (unaffected)
Vendor states this is fixed in 4.19.247 (unaffected)
Vendor states this is fixed in 4.3 (unaffected)
Vendor states this is fixed in 4.9.318 (unaffected)
Vendor states this is fixed in 5.10.121 (unaffected)
Vendor states this is fixed in 5.15.46 (unaffected)
Vendor states this is fixed in 5.17.14 (unaffected)
Vendor states this is fixed in 5.18.3 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.198 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0978fcce91b90b561b8c82e7c492ba9fc8440eef
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2b3ed7547b1a052209da6c4ab886ffe0eed88c42
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4cd66a8016b872a153bf892fe4258cbc0dacf5b1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6369dda4a2209142ab819f01d3d2076d81e3ebdd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9cb1ee33efccb8b107ee04b7b3441820de3fd2da
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9f5495a5c51c1d11c6ffc13aa2befffec0c2651a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a36e506711548df923ceb7ec9f6001375be799a5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c1bfacf0daf25a5fc7d667399d6ff2dffda84cd8

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card