7.8high
efi: libstub: only free priv.runtime_map when allocated
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 6.1 before 6.1.93, from 6.2 before 6.6.33, from 6.7 before 6.9.4 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: efi: libstub: solo se libera priv.runtime_map cuando se asigna priv.runtime_map solo se asigna cuando efi_novamap no está configurado. De lo contrario, es un valor no inicializado. En la ruta del error se libera incondicionalmente. Evite pasar un valor no inicializado a free_pool. Priv.runtime_map gratuito solo cuando se asignó. Este error fue descubierto y resuelto utilizando Coverity Static Analysis Security Testing (SAST) por Synopsys, Inc.
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-33619 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-33619 changed 2026-08-04 | Public domain |