{"id":"CVE-2022-49491","summary":"drm/rockchip: vop: fix possible null-ptr-deref in vop_bind()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/rockchip: vop: fix possible null-ptr-deref in vop_bind()\n\nIt will cause null-ptr-deref in resource_size(), if platform_get_resource()\nreturns NULL, move calling resource_size() after devm_ioremap_resource() that\nwill check 'res' to avoid null-ptr-deref.","modified":"2026-04-02T08:27:38.409347Z","published":"2025-02-26T02:13:28.158Z","related":["SUSE-SU-2025:01983-1","SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1194-1","SUSE-SU-2025:1241-1","SUSE-SU-2025:1263-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49491.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3451852312303d54a003c73bd0ae39cebb960bd5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/452922955df215a417c80d09dab72bbc667a1861"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ff986e057bf28e2f7690dad410768b2270f9453"},{"type":"WEB","url":"https://git.kernel.org/stable/c/769c53bb6116d0eaec0f1fe4ec4b27a74465cad1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9b4599665e437de8a1152799c34841b799a2e1c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b54926bd558d97c888c3d2d87886f3c159d3254a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ecfa52654d0c9c333c1fe1611f47105f6bce9591"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f8c242908ad15bbd604d3bcb54961b7d454c43f8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fcd6a886443730c39170b8383411e52118aec0a3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49491.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49491"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2022-49491.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}