CVE-2026-80675
N/A
Summary
In the Linux kernel, the following vulnerability has been resolved:
libbpf: Reject non-exclusive metadata maps in the signed loader
The loader verifies map->sha against the metadata hash in its instructions. map->sha is calculated when BPF_OBJ_GET_INFO_BY_FD is called on the frozen map.
While the map is frozen, the /signed loader/ must also ensure the map is exclusive, as, without exclusivity (which a hostile host could just omit when loading the loader), another BPF program with map access can mutate the contents afterwards, so the check passes on stale data.
With the extra check as part of the signed loader, it now refuses to move on with map->sha validation if the host set it up wrongly.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | fb2b0e290147ba01a53dfd92cf91058c9d2ee254 < b6862b6a25c6a925fb0b0e549ee4a52a8d2966fb | affected |
| Linux | Linux | fb2b0e290147ba01a53dfd92cf91058c9d2ee254 < 0dad5adeb34b6f78a883e8faa6a1c947a240e7c9 | affected |
| Linux | Linux | fb2b0e290147ba01a53dfd92cf91058c9d2ee254 < 0fb6c9ed6493b4af01be8bb0a384574eba7df636 | affected |
| Linux | Linux | 6.18 | affected |
| Linux | Linux | 0 < 6.18 | unaffected |
| Linux | Linux | 6.18.40 <= 6.18.* | unaffected |
| Linux | Linux | 7.1.5 <= 7.1.* | unaffected |
| Linux | Linux | 7.2 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/b6862b6a25c6a925fb0b0e549ee4a52a8d2966fb
- https://git.kernel.org/stable/c/0dad5adeb34b6f78a883e8faa6a1c947a240e7c9
- https://git.kernel.org/stable/c/0fb6c9ed6493b4af01be8bb0a384574eba7df636
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.