Skip to content
Heist/ feed
Back to feed
UnratedFix available

drm/vc4: Fix a memory leak in hang state error path

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: drm/vc4: Fix a memory leak in hang state error path When vc4_save_hang_state() encounters an early return condition, it returns without freeing the previously allocated `kernel_state`, leaking memory. Add the missing kfree() calls by consolidating the early return paths into a single place.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.258, 5.15.209, 6.1.175, 6.12.83, 6.18.24, 6.19.14, 6.6.136
CVEs
CVE-2026-43104
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 03:24 UTC · Revision 1

Source evidence

drm/vc4: Fix a memory leak in hang state error path

core-osv · Original source

Published 6 May 2026, 07:40 UTC

In the Linux kernel, the following vulnerability has been resolved: drm/vc4: Fix a memory leak in hang state error path When vc4_save_hang_state() encounters an early return condition, it returns without freeing the previously allocated `kernel_state`, leaking memory. Add the missing kfree() calls by consolidating the early return paths into a single place.

osv:CVE-2026-43104

Kernel

Fixed versions: 5.10.258, 5.15.209, 6.1.175, 6.6.136, 6.12.83, 6.18.24, 6.19.14

Complete source record
{
  "id": "21fe4dfc4c8d497fd82cdbc1c269c1a6755f27211c3839c555fd70e51f2abb4b",
  "url": "https://osv.dev/vulnerability/CVE-2026-43104",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drm/vc4: Fix a memory leak in hang state error path",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: drm/vc4: Fix a memory leak in hang state error path When vc4_save_hang_state() encounters an early return condition, it returns without freeing the previously allocated `kernel_state`, leaking memory. Add the missing kfree() calls by consolidating the early return paths into a single place.",
    "evidence": "osv:CVE-2026-43104",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.258",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.209",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.175",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.136",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.83",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.24",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.19.14",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-43104",
      "aliases": [
        "CVE-2026-43104"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "214613656b5179f0daab6e0a080814b5100d45f0"
                },
                {
                  "fixed": "c197def3834cbee3fd824ce4c57d08cb24e18955"
                },
                {
                  "fixed": "9487daa18e627ac6b5ed5911be79f23362554b70"
                },
                {
                  "fixed": "259e2bba3fd7005c62cbd42365a48b3221b244e3"
                },
                {
                  "fixed": "dd5c49787a32da96a2b154427eb17cbf12a83c28"
                },
                {
                  "fixed": "d8fdd6adc07b78ad3e9ee0004876d90cb59ca941"
                },
                {
                  "fixed": "e352e9adc9f6df54d63150ff832f71c04e30744b"
                },
                {
                  "fixed": "3eb7dd55021d0f4308fbea0bea21d2118984d8e7"
                },
                {
                  "fixed": "9525d169e5fd481538cf8c663cc5839e54f2e481"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43104.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.5.0"
                },
                {
                  "fixed": "5.10.258"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.209"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.175"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.136"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.83"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.24"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "6.19.14"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43104.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.100711192Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/259e2bba3fd7005c62cbd42365a48b3221b244e3",
        "https://git.kernel.org/stable/c/3eb7dd55021d0f4308fbea0bea21d2118984d8e7",
        "https://git.kernel.org/stable/c/9487daa18e627ac6b5ed5911be79f23362554b70",
        "https://git.kernel.org/stable/c/9525d169e5fd481538cf8c663cc5839e54f2e481",
        "https://git.kernel.org/stable/c/c197def3834cbee3fd824ce4c57d08cb24e18955",
        "https://git.kernel.org/stable/c/d8fdd6adc07b78ad3e9ee0004876d90cb59ca941",
        "https://git.kernel.org/stable/c/dd5c49787a32da96a2b154427eb17cbf12a83c28",
        "https://git.kernel.org/stable/c/e352e9adc9f6df54d63150ff832f71c04e30744b",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43104.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-43104",
        "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/2026/43xxx/CVE-2026-43104.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-43104",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 509830,
  "published_at": "2026-05-06T07:40:33.036+00:00"
}