# CVE-2026-43104: drm/vc4: Fix a memory leak in hang state error path

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `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.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-06T07:40:33.036Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-401
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 214613656b5179f0daab6e0a080814b5100d45f0 before c197def3834cbee3fd824ce4c57d08cb24e18955; from 214613656b5179f0daab6e0a080814b5100d45f0 before 9487daa18e627ac6b5ed5911be79f23362554b70; from 214613656b5179f0daab6e0a080814b5100d45f0 before 259e2bba3fd7005c62cbd42365a48b3221b244e3; from 214613656b5179f0daab6e0a080814b5100d45f0 before dd5c49787a32da96a2b154427eb17cbf12a83c28; from 214613656b5179f0daab6e0a080814b5100d45f0 before d8fdd6adc07b78ad3e9ee0004876d90cb59ca941; from 214613656b5179f0daab6e0a080814b5100d45f0 before e352e9adc9f6df54d63150ff832f71c04e30744b; from 214613656b5179f0daab6e0a080814b5100d45f0 before 3eb7dd55021d0f4308fbea0bea21d2118984d8e7; from 214613656b5179f0daab6e0a080814b5100d45f0 before 9525d169e5fd481538cf8c663cc5839e54f2e481; 4.5 (not affected: before 4.5; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.136 up to 6.6.*; from 6.12.83 up to 6.12.*; from 6.18.24 up to 6.18.*; from 6.19.14 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 4.5 before 6.6.136; from 6.7 before 6.12.83; from 6.13 before 6.18.24; from 6.19 before 6.19.14; 7.0

## References

- <https://git.kernel.org/stable/c/c197def3834cbee3fd824ce4c57d08cb24e18955>
- <https://git.kernel.org/stable/c/9487daa18e627ac6b5ed5911be79f23362554b70>
- <https://git.kernel.org/stable/c/259e2bba3fd7005c62cbd42365a48b3221b244e3>
- <https://git.kernel.org/stable/c/dd5c49787a32da96a2b154427eb17cbf12a83c28> (patch)
- <https://git.kernel.org/stable/c/d8fdd6adc07b78ad3e9ee0004876d90cb59ca941> (patch)
- <https://git.kernel.org/stable/c/e352e9adc9f6df54d63150ff832f71c04e30744b> (patch)
- <https://git.kernel.org/stable/c/3eb7dd55021d0f4308fbea0bea21d2118984d8e7> (patch)
- <https://git.kernel.org/stable/c/9525d169e5fd481538cf8c663cc5839e54f2e481> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2026-43104 · Whole record: https://cve.day/CVE-2026-43104.json · Rebuilt by cve.day 2026-11-25T22:59:20.675Z
