What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.283, 4.19.247, 4.9.318, 5.10.121. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49491 or the next vulnerability affects your stack