CVE-2022-49491

drm/rockchip: vop: fix possible null-ptr-deref in vop_bind()

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/rockchip: vop: fix possible null-ptr-deref in vop_bind() It will cause null-ptr-deref in resource_size(), if platform_get_resource() returns NULL, move calling resource_size() after devm_ioremap_resource() that will check 'res' to avoid null-ptr-deref.

Affected

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

3.19 ≤ v < 4.14.2833.19 ≤ v < 4.19.2473.19 ≤ v < 4.9.3183.19 ≤ v < 5.10.1213.19 ≤ v < 5.15.463.19 ≤ v < 5.17.143.19 ≤ v < 5.18.33.19 ≤ v < 5.193.19 ≤ v < 5.4.1984.10 ≤ v < 4.14.2834.15 ≤ v < 4.19.2474.20 ≤ v < 5.4.1985.11 ≤ v < 5.15.465.16 ≤ v < 5.17.145.18 ≤ v < 5.18.35.5 ≤ v < 5.10.1212048e3286f347db5667708e47448176b5329e8d83.19
Vendor states this is fixed in 3451852312303d54a003c73bd0ae39cebb960bd5 (fixed)
Vendor states this is fixed in 452922955df215a417c80d09dab72bbc667a1861 (fixed)
Vendor states this is fixed in 6ff986e057bf28e2f7690dad410768b2270f9453 (fixed)
Vendor states this is fixed in 769c53bb6116d0eaec0f1fe4ec4b27a74465cad1 (fixed)
Vendor states this is fixed in a9b4599665e437de8a1152799c34841b799a2e1c (fixed)
Vendor states this is fixed in b54926bd558d97c888c3d2d87886f3c159d3254a (fixed)
Vendor states this is fixed in ecfa52654d0c9c333c1fe1611f47105f6bce9591 (fixed)
Vendor states this is fixed in f8c242908ad15bbd604d3bcb54961b7d454c43f8 (fixed)
Vendor states this is fixed in fcd6a886443730c39170b8383411e52118aec0a3 (fixed)
Vendor states this is fixed in 3.19 (unaffected)
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.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/3451852312303d54a003c73bd0ae39cebb960bd5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/452922955df215a417c80d09dab72bbc667a1861
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6ff986e057bf28e2f7690dad410768b2270f9453
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/769c53bb6116d0eaec0f1fe4ec4b27a74465cad1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a9b4599665e437de8a1152799c34841b799a2e1c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b54926bd558d97c888c3d2d87886f3c159d3254a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ecfa52654d0c9c333c1fe1611f47105f6bce9591
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f8c242908ad15bbd604d3bcb54961b7d454c43f8

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