# CVE-2024-33619: efi: libstub: only free priv.runtime_map when allocated

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-06-21T10:18:05.007Z
- Modified: 2026-08-05T11:29:50.746Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

efi: libstub: only free priv.runtime_map when allocated

priv.runtime_map is only allocated when efi_novamap is not set.
Otherwise, it is an uninitialized value.  In the error path, it is freed
unconditionally.  Avoid passing an uninitialized value to free_pool.
Free priv.runtime_map only when it was allocated.

This bug was discovered and resolved using Coverity Static Analysis
Security Testing (SAST) by Synopsys, Inc.

(As written by CVE List.)

## Affected

- Linux Linux: from f80d26043af91ceb5036c478101c015edb9e7630 before b8938d6f570f010a1dcdbfed3e5b5d3258c2a908; from f80d26043af91ceb5036c478101c015edb9e7630 before 9dce01f386c9ce6990c0a83fa14b1c95330b037e; from f80d26043af91ceb5036c478101c015edb9e7630 before 6ca67a5fe1c606d1fbe24c30a9fc0bdc43a18554; from f80d26043af91ceb5036c478101c015edb9e7630 before 4b2543f7e1e6b91cfc8dd1696e3cdf01c3ac8974; 6.1 (not affected: before 6.1; from 6.1.93 up to 6.1.*; from 6.6.33 up to 6.6.*; from 6.9.4 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 6.1 before 6.1.93; from 6.2 before 6.6.33; from 6.7 before 6.9.4

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/b8938d6f570f010a1dcdbfed3e5b5d3258c2a908> (mailing-list, patch)
- <https://git.kernel.org/stable/c/9dce01f386c9ce6990c0a83fa14b1c95330b037e> (mailing-list, patch)
- <https://git.kernel.org/stable/c/6ca67a5fe1c606d1fbe24c30a9fc0bdc43a18554> (mailing-list, patch)
- <https://git.kernel.org/stable/c/4b2543f7e1e6b91cfc8dd1696e3cdf01c3ac8974> (mailing-list, patch)

## Sources

- CVE List: [CVE-2024-33619](https://www.cve.org/CVERecord?id=CVE-2024-33619), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-33619](https://nvd.nist.gov/vuln/detail/CVE-2024-33619), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-33619 · Whole record: https://cve.day/CVE-2024-33619.json · Rebuilt by cve.day 2026-11-25T22:58:42.106Z
