bpf: Mask pseudo pointer values in verifier logs
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1c53d16b174dd9e02243fc0e85089e2aa6a0d21a, Kernel 6181239115e19cda4b483a2604193a9379cbd28f, Kernel 72a85e9464a5332fb2cd7efd26d9295275ceda2d and 3 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.10, >=4976b718c3551faba2c0616ef55ebeb74db1c5ca <1c53d16b174dd9e02243fc0e85089e2aa6a0d21a, >=4976b718c3551faba2c0616ef55ebeb74db1c5ca <6181239115e19cda4b483a2604193a9379cbd28f, >=4976b718c3551faba2c0616ef55ebeb74db1c5ca <72a85e9464a5332fb2cd7efd26d9295275ceda2d, >=4976b718c3551faba2c0616ef55ebeb74db1c5ca <b767a5d7c6cb595f9feb00b5af96191a59efca26, >=4976b718c3551faba2c0616ef55ebeb74db1c5ca <b96cb1235fcaa687291b1e1d910f0930d1939919, >=4976b718c3551faba2c0616ef55ebeb74db1c5ca <c727b3d50ecb0f4992a964360771040a84026914 | 1c53d16b174dd9e02243fc0e85089e2aa6a0d21a, 6181239115e19cda4b483a2604193a9379cbd28f, 72a85e9464a5332fb2cd7efd26d9295275ceda2d, b767a5d7c6cb595f9feb00b5af96191a59efca26, b96cb1235fcaa687291b1e1d910f0930d1939919, c727b3d50ecb0f4992a964360771040a84026914 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket