CVEvulnerability
CVE-2022-49491
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-02-26
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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 configurations
• linux linux kernel (>= 3.19 < 4.9.318)
• linux linux kernel (>= 4.10 < 4.14.283)
• linux linux kernel (>= 4.15 < 4.19.247)
• linux linux kernel (>= 4.20 < 5.4.198)
• linux linux kernel (>= 5.5 < 5.10.121)
• linux linux kernel (>= 5.11 < 5.15.46)
• linux linux kernel (>= 5.16 < 5.17.14)
• linux linux kernel (>= 5.18 < 5.18.3)
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/3451852312303d54a003c73bd0ae39cebb960bd5 Patch
- https://git.kernel.org/stable/c/452922955df215a417c80d09dab72bbc667a1861 Patch
- https://git.kernel.org/stable/c/6ff986e057bf28e2f7690dad410768b2270f9453 Patch
- https://git.kernel.org/stable/c/769c53bb6116d0eaec0f1fe4ec4b27a74465cad1 Patch
- https://git.kernel.org/stable/c/a9b4599665e437de8a1152799c34841b799a2e1c Patch
- https://git.kernel.org/stable/c/b54926bd558d97c888c3d2d87886f3c159d3254a Patch
- https://git.kernel.org/stable/c/ecfa52654d0c9c333c1fe1611f47105f6bce9591 Patch
- https://git.kernel.org/stable/c/f8c242908ad15bbd604d3bcb54961b7d454c43f8 Patch
- https://git.kernel.org/stable/c/fcd6a886443730c39170b8383411e52118aec0a3 Patch