drm/omap: fix NULL but dereferenced coccicheck error
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.17.145.18.35.19In the Linux kernel, the following vulnerability has been resolved:
drm/omap: fix NULL but dereferenced coccicheck error
Fix the following coccicheck warning: ./drivers/gpu/drm/omapdrm/omap_overlay.c:89:22-25: ERROR: r_ovl is NULL but dereferenced.
Here should be ovl->idx rather than r_ovl->idx.
From the CVE record · Linux
The Linux kernel’s drm/omap overlay code dereferences a NULL pointer where it should use ovl->idx instead of r_ovl->idx. The input does not specify an attacker action, impact beyond the dereference, or whether exploitation requires network access, authentication, or user interaction.
Engineers running the Linux kernel should check whether their kernel includes the affected drm/omap overlay code; affected versions are not specified.