bpf: Mask pseudo pointer values in verifier logs
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.189, 6.6.158, 6.12.111, 6.18.53, 7.1.5
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: bpf: Mask pseudo pointer values in verifier logs print_bpf_insn() masks ldimm64 immediates for pointer-bearing pseudo sources when pointer leaks are not allowed, but the mask only covers BPF_PSEUDO_MAP_FD and BPF_PSEUDO_MAP_VALUE. BPF_PSEUDO_MAP_IDX, BPF_PSEUDO_MAP_IDX_VALUE, and BPF_PSEUDO_BTF_ID can also be resolved to kernel pointer values before the verifier log prints the instruction. Include them in the existing pointer classification so the log prints 0x0 instead of the rewritten address.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 4976b718c3551faba2c0616ef55ebeb74db1c5ca · fixed in b767a5d7c6cb595f9feb00b5af96191a59efca26; From 4976b718c3551faba2c0616ef55ebeb74db1c5ca · fixed in 6181239115e19cda4b483a2604193a9379cbd28f; From 4976b718c3551faba2c0616ef55ebeb74db1c5ca · fixed in c727b3d50ecb0f4992a964360771040a84026914; From 4976b718c3551faba2c0616ef55ebeb74db1c5ca · fixed in b96cb1235fcaa687291b1e1d910f0930d1939919; From 4976b718c3551faba2c0616ef55ebeb74db1c5ca · fixed in 1c53d16b174dd9e02243fc0e85089e2aa6a0d21a; From 4976b718c3551faba2c0616ef55ebeb74db1c5ca · fixed in 72a85e9464a5332fb2cd7efd26d9295275ceda2d
- Linux Linux
5.10
- KernelLinux
From 5.10.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53; From 6.19.0 · fixed in 7.1.5