# CVE-2022-49491: drm/rockchip: vop: fix possible null-ptr-deref in vop_bind()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2025-02-26T02:13:28.158Z
- Modified: 2026-06-17T05:18:13.157Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2048e3286f347db5667708e47448176b5329e8d8 before 452922955df215a417c80d09dab72bbc667a1861; from 2048e3286f347db5667708e47448176b5329e8d8 before fcd6a886443730c39170b8383411e52118aec0a3; from 2048e3286f347db5667708e47448176b5329e8d8 before 6ff986e057bf28e2f7690dad410768b2270f9453; from 2048e3286f347db5667708e47448176b5329e8d8 before a9b4599665e437de8a1152799c34841b799a2e1c; from 2048e3286f347db5667708e47448176b5329e8d8 before 3451852312303d54a003c73bd0ae39cebb960bd5; from 2048e3286f347db5667708e47448176b5329e8d8 before b54926bd558d97c888c3d2d87886f3c159d3254a; from 2048e3286f347db5667708e47448176b5329e8d8 before 769c53bb6116d0eaec0f1fe4ec4b27a74465cad1; from 2048e3286f347db5667708e47448176b5329e8d8 before ecfa52654d0c9c333c1fe1611f47105f6bce9591; from 2048e3286f347db5667708e47448176b5329e8d8 before f8c242908ad15bbd604d3bcb54961b7d454c43f8; 3.19 (not affected: before 3.19; from 4.9.318 up to 4.9.*; from 4.14.283 up to 4.14.*; from 4.19.247 up to 4.19.*; from 5.4.198 up to 5.4.*; from 5.10.121 up to 5.10.*; from 5.15.46 up to 5.15.*; from 5.17.14 up to 5.17.*; from 5.18.3 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 3.19 before 4.9.318; from 4.10 before 4.14.283; from 4.15 before 4.19.247; from 4.20 before 5.4.198; from 5.5 before 5.10.121; from 5.11 before 5.15.46; from 5.16 before 5.17.14; from 5.18 before 5.18.3

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/452922955df215a417c80d09dab72bbc667a1861> (patch)
- <https://git.kernel.org/stable/c/fcd6a886443730c39170b8383411e52118aec0a3> (patch)
- <https://git.kernel.org/stable/c/6ff986e057bf28e2f7690dad410768b2270f9453> (patch)
- <https://git.kernel.org/stable/c/a9b4599665e437de8a1152799c34841b799a2e1c> (patch)
- <https://git.kernel.org/stable/c/3451852312303d54a003c73bd0ae39cebb960bd5> (patch)
- <https://git.kernel.org/stable/c/b54926bd558d97c888c3d2d87886f3c159d3254a> (patch)
- <https://git.kernel.org/stable/c/769c53bb6116d0eaec0f1fe4ec4b27a74465cad1> (patch)
- <https://git.kernel.org/stable/c/ecfa52654d0c9c333c1fe1611f47105f6bce9591> (patch)
- <https://git.kernel.org/stable/c/f8c242908ad15bbd604d3bcb54961b7d454c43f8> (patch)

## Sources

- CVE List: [CVE-2022-49491](https://www.cve.org/CVERecord?id=CVE-2022-49491), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49491](https://nvd.nist.gov/vuln/detail/CVE-2022-49491), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49491 · Whole record: https://cve.day/CVE-2022-49491.json · Rebuilt by cve.day 2026-11-25T22:58:20.687Z
