drm/rockchip: vop: fix possible null-ptr-deref in vop_bind()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2048e3286f347db5667708e47448176b5329e8d8 · < b54926bd558d97c888c3d2d87886f3c159d3254a| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's Rockchip VOP driver can dereference a null pointer in vop_bind() if platform_get_resource() returns NULL. The input does not specify whether an attacker can trigger this condition, or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the Rockchip VOP driver should check their systems; affected versions were not provided.