CVE-2024-33619
JSON

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 packageVersionsReported by
Linux Linuxfrom 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_kernelfrom 6.1 before 6.1.93, from 6.2 before 6.6.33, from 6.7 before 6.9.4NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-908

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

Sources

SourceRecordLicence
CVE ListCVE-2024-33619 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-33619 changed 2026-08-04Public domain