Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 1 day, 12 hours ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
libbpf: Reject non-exclusive metadata maps in the signed loader

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 products

Linux
  • <6.18
  • =<6.18.*
  • =<7.1.*
  • <0fb6c9ed6493b4af01be8bb0a384574eba7df636
  • <b6862b6a25c6a925fb0b0e549ee4a52a8d2966fb
  • <0dad5adeb34b6f78a883e8faa6a1c947a240e7c9
  • ==6.18
  • =<*