CVE-2022-49491

Source
https://cve.org/CVERecord?id=CVE-2022-49491
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49491.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49491
Downstream
Related
Published
2025-02-26T02:13:28.158Z
Modified
2026-03-12T03:25:17.420815Z
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/rockchip: vop: fix possible null-ptr-deref in vop_bind()
Details

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 resourcesize(), if platformgetresource() returns NULL, move calling resourcesize() after devmioremapresource() that will check 'res' to avoid null-ptr-deref.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49491.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
2048e3286f347db5667708e47448176b5329e8d8
Fixed
452922955df215a417c80d09dab72bbc667a1861
Fixed
fcd6a886443730c39170b8383411e52118aec0a3
Fixed
6ff986e057bf28e2f7690dad410768b2270f9453
Fixed
a9b4599665e437de8a1152799c34841b799a2e1c
Fixed
3451852312303d54a003c73bd0ae39cebb960bd5
Fixed
b54926bd558d97c888c3d2d87886f3c159d3254a
Fixed
769c53bb6116d0eaec0f1fe4ec4b27a74465cad1
Fixed
ecfa52654d0c9c333c1fe1611f47105f6bce9591
Fixed
f8c242908ad15bbd604d3bcb54961b7d454c43f8

Database specific

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