Skip to content
Heist/ feed
Back to feed
HighFix available

drm/stm: Avoid use-after-free issues with crtc and plane

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: drm/stm: Avoid use-after-free issues with crtc and plane ltdc_load() calls functions drm_crtc_init_with_planes(), drm_universal_plane_init() and drm_encoder_init(). These functions should not be called with parameters allocated with devm_kzalloc() to avoid use-after-free issues [1]. Use allocations managed by the DRM framework. Found by Linux Verification Center (linuxtesting.org). [1] https://lore.kernel.org/lkml/u366i76e3qhh3ra5oxrtngjtm2u5lterkekcz6y2jkndhuxzli@diujon4h7qwb/

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.113, 6.10.14, 6.11.3, 6.6.55
CVEs
CVE-2024-49992
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 03:16 UTC · Revision 1

Source evidence

drm/stm: Avoid use-after-free issues with crtc and plane

core-osv · Original source

Published 21 Oct 2024, 18:02 UTC

In the Linux kernel, the following vulnerability has been resolved: drm/stm: Avoid use-after-free issues with crtc and plane ltdc_load() calls functions drm_crtc_init_with_planes(), drm_universal_plane_init() and drm_encoder_init(). These functions should not be called with parameters allocated with devm_kzalloc() to avoid use-after-free issues [1]. Use allocations managed by the DRM framework. Found by Linux Verification Center (linuxtesting.org). [1] https://lore.kernel.org/lkml/u366i76e3qhh3ra5oxrtngjtm2u5lterkekcz6y2jkndhuxzli@diujon4h7qwb/

osv:CVE-2024-49992

Kernel

Fixed versions: 6.1.113, 6.6.55, 6.10.14, 6.11.3

Complete source record
{
  "id": "903030dc899abaa89efe28085cb23763a56c35fc6712e4a44add189f19175576",
  "url": "https://osv.dev/vulnerability/CVE-2024-49992",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drm/stm: Avoid use-after-free issues with crtc and plane",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: drm/stm: Avoid use-after-free issues with crtc and plane ltdc_load() calls functions drm_crtc_init_with_planes(), drm_universal_plane_init() and drm_encoder_init(). These functions should not be called with parameters allocated with devm_kzalloc() to avoid use-after-free issues [1]. Use allocations managed by the DRM framework. Found by Linux Verification Center (linuxtesting.org). [1] https://lore.kernel.org/lkml/u366i76e3qhh3ra5oxrtngjtm2u5lterkekcz6y2jkndhuxzli@diujon4h7qwb/",
    "evidence": "osv:CVE-2024-49992",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.113",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.55",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.10.14",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.11.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-49992",
      "aliases": [
        "CVE-2024-49992"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b759012c5fa761ee08998c80fc4ad6343c258487"
                },
                {
                  "fixed": "d02611ff001454358be6910cb926799e2d818716"
                },
                {
                  "fixed": "0a1741d10da29aa84955ef89ae9a03c4b6038657"
                },
                {
                  "fixed": "454e5d7e671946698af0f201e48469e5ddb42851"
                },
                {
                  "fixed": "b22eec4b57d04befa90e8554ede34e6c67257606"
                },
                {
                  "fixed": "19dd9780b7ac673be95bf6fd6892a184c9db611f"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49992.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.13.0"
                },
                {
                  "fixed": "6.1.113"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.55"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.10.14"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.11.0"
                },
                {
                  "fixed": "6.11.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49992.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.275177869Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0a1741d10da29aa84955ef89ae9a03c4b6038657",
        "https://git.kernel.org/stable/c/19dd9780b7ac673be95bf6fd6892a184c9db611f",
        "https://git.kernel.org/stable/c/454e5d7e671946698af0f201e48469e5ddb42851",
        "https://git.kernel.org/stable/c/b22eec4b57d04befa90e8554ede34e6c67257606",
        "https://git.kernel.org/stable/c/d02611ff001454358be6910cb926799e2d818716",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49992.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-49992",
        "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/2024/49xxx/CVE-2024-49992.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-49992",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 509772,
  "published_at": "2024-10-21T18:02:34.442+00:00"
}