# CVE-2022-49510: drm/omap: fix NULL but dereferenced coccicheck error

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-02-26T02:13:40.777Z
- Modified: 2026-06-17T05:18:17.040Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from e02b5cc9e898ad6f223a69df63397beae60390ff before d2507be660310bb9bcca918f81f49b8bba07e462; from e02b5cc9e898ad6f223a69df63397beae60390ff before 08d9a75eab594ca508a440db7c73064498d26687; from e02b5cc9e898ad6f223a69df63397beae60390ff before 8f2a3970c969d0d8d7289a4c65edcedafc16fd92; 5.17 (not affected: before 5.17; from 5.17.14 up to 5.17.*; from 5.18.3 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 5.17 before 5.17.14; from 5.18 before 5.18.3

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/d2507be660310bb9bcca918f81f49b8bba07e462> (patch)
- <https://git.kernel.org/stable/c/08d9a75eab594ca508a440db7c73064498d26687> (patch)
- <https://git.kernel.org/stable/c/8f2a3970c969d0d8d7289a4c65edcedafc16fd92> (patch)

## Sources

- CVE List: [CVE-2022-49510](https://www.cve.org/CVERecord?id=CVE-2022-49510), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49510](https://nvd.nist.gov/vuln/detail/CVE-2022-49510), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49510 · Whole record: https://cve.day/CVE-2022-49510.json · Rebuilt by cve.day 2026-11-25T22:58:20.700Z
