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

CVE-2026-43104
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.12 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 214613656b5179f0daab6e0a080814b5100d45f0 < c197def3834cbee3fd824ce4c57d08cb24e18955 ; affected 214613656b5179f0daab6e0a080814b5100d45f0 < 9487daa18e627ac6b5ed5911be79f23362554b70 ; affected 214613656b5179f0daab6e0a080814b5100d45f0 < 259e2bba3fd7005c62cbd42365a48b3221b244e3 ; affected 214613656b5179f0daab6e0a080814b5100d45f0 < dd5c49787a32da96a2b154427eb17cbf12a83c28 ; affected 214613656b5179f0daab6e0a080814b5100d45f0 < d8fdd6adc07b78ad3e9ee0004876d90cb59ca941 ; affected 214613656b5179f0daab6e0a080814b5100d45f0 < e352e9adc9f6df54d63150ff832f71c04e30744b
Linux · Linuxaffected 4.5 ; unaffected 0 < 4.5 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.136 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD