CVE-2022-49510

drm/omap: fix NULL but dereferenced coccicheck error

State
Published
Severity
5.5 Medium
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

Description

In 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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • e02b5cc9e898ad6f223a69df63397beae60390ff to before d2507be660310bb9bcca918f81f49b8bba07e462Affected
  • e02b5cc9e898ad6f223a69df63397beae60390ff to before 08d9a75eab594ca508a440db7c73064498d26687Affected
  • e02b5cc9e898ad6f223a69df63397beae60390ff to before 8f2a3970c969d0d8d7289a4c65edcedafc16fd92Affected
LinuxLinux
  • 5.17Affected
  • before 5.17Not affected
  • 5.17.14 through 5.17.*Not affected
  • 5.18.3 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.