Skip to content
Heist/ feed
Back to feed
MediumFix available

drm/omap: fix NULL but dereferenced coccicheck error

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.17.14, 5.18.3
CVEs
CVE-2022-49510
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:15 UTC · Revision 1

Source evidence

drm/omap: fix NULL but dereferenced coccicheck error

core-osv · Original source

Published 26 Feb 2025, 02:13 UTC

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.

osv:CVE-2022-49510

Kernel

Fixed versions: 5.17.14, 5.18.3

Complete source record
{
  "id": "ce6cdb156b95640a276c0443a70d61ac617426e3773105f7fb9cc74a1d1a7651",
  "url": "https://osv.dev/vulnerability/CVE-2022-49510",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drm/omap: fix NULL but dereferenced coccicheck error",
    "summary": "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.",
    "evidence": "osv:CVE-2022-49510",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.17.14",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.18.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-49510",
      "aliases": [
        "CVE-2022-49510"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e02b5cc9e898ad6f223a69df63397beae60390ff"
                },
                {
                  "fixed": "d2507be660310bb9bcca918f81f49b8bba07e462"
                },
                {
                  "fixed": "08d9a75eab594ca508a440db7c73064498d26687"
                },
                {
                  "fixed": "8f2a3970c969d0d8d7289a4c65edcedafc16fd92"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49510.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.17.0"
                },
                {
                  "fixed": "5.17.14"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.18.0"
                },
                {
                  "fixed": "5.18.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49510.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.455062169Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/08d9a75eab594ca508a440db7c73064498d26687",
        "https://git.kernel.org/stable/c/8f2a3970c969d0d8d7289a4c65edcedafc16fd92",
        "https://git.kernel.org/stable/c/d2507be660310bb9bcca918f81f49b8bba07e462",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49510.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-49510",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49510.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-49510",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504582,
  "published_at": "2025-02-26T02:13:40.777+00:00"
}