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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= f80d26043af91ceb5036c478101c015edb9e7630, < b8938d6f570f010a1dcdbfed3e5b5d3258c2a908; >= f80d26043af91ceb5036c478101c015edb9e7630, < 9dce01f386c9ce6990c0a83fa14b1c95330b037e; >= f80d26043af91ceb5036c478101c015edb9e7630, < 6ca67a5fe1c606d1fbe24c30a9fc0bdc43a18554; >= f80d26043af91ceb5036c478101c015edb9e7630, < 4b2543f7e1e6b91cfc8dd1696e3cdf01c3ac8974 |
| Linux | Linux | 6.1 |
References
- https://git.kernel.org/stable/c/4b2543f7e1e6b91cfc8dd1696e3cdf01c3ac8974Mailing List, Patch
- https://git.kernel.org/stable/c/6ca67a5fe1c606d1fbe24c30a9fc0bdc43a18554Mailing List, Patch
- https://git.kernel.org/stable/c/9dce01f386c9ce6990c0a83fa14b1c95330b037eMailing List, Patch
- https://git.kernel.org/stable/c/b8938d6f570f010a1dcdbfed3e5b5d3258c2a908Mailing List, Patch
- https://git.kernel.org/stable/c/4b2543f7e1e6b91cfc8dd1696e3cdf01c3ac8974Mailing List, Patch
- https://git.kernel.org/stable/c/6ca67a5fe1c606d1fbe24c30a9fc0bdc43a18554Mailing List, Patch
- https://git.kernel.org/stable/c/9dce01f386c9ce6990c0a83fa14b1c95330b037eMailing List, Patch
- https://git.kernel.org/stable/c/b8938d6f570f010a1dcdbfed3e5b5d3258c2a908Mailing List, Patch
Timeline
- Published
- Jun 21, 2024
- Last modified
- Aug 4, 2026
- NVD status
- Modified