drm/rockchip: vop: Fix a dereferenced before check warning
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/rockchip: vop: Fix a dereferenced before check warning
The 'state' can't be NULL, we should check crtc_state.
Fix warning: drivers/gpu/drm/rockchip/rockchip_drm_vop.c:1096 vop_plane_atomic_async_check() warn: variable dereferenced before check 'state' (see line 1077)
From the CVE record · Linux
The Linux kernel’s Rockchip DRM VOP code checks the wrong state pointer after a dereference, producing a dereference-before-check warning. The input does not establish an attacker outcome or specify whether access requires network or local access, authentication, or user interaction.
Engineers running Linux kernels with the Rockchip DRM VOP driver should check their builds; affected versions are not specified.