Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
4976b718c3551faba2c0616ef55ebeb74db1c5ca to < b767a5d7c6cb595f9feb00b5af96191a59efca26affected4976b718c3551faba2c0616ef55ebeb74db1c5ca to < 6181239115e19cda4b483a2604193a9379cbd28faffected4976b718c3551faba2c0616ef55ebeb74db1c5ca to < c727b3d50ecb0f4992a964360771040a84026914affected4976b718c3551faba2c0616ef55ebeb74db1c5ca to < b96cb1235fcaa687291b1e1d910f0930d1939919affected4976b718c3551faba2c0616ef55ebeb74db1c5ca to < 1c53d16b174dd9e02243fc0e85089e2aa6a0d21aaffected4976b718c3551faba2c0616ef55ebeb74db1c5ca to < 72a85e9464a5332fb2cd7efd26d9295275ceda2daffected
Linux Linux
Default version status: affected
5.10affected0 to < 5.10unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/b767a5d7c6cb595f9feb00b5af96191a59efca26 ↗
- https://git.kernel.org/stable/c/6181239115e19cda4b483a2604193a9379cbd28f ↗
- https://git.kernel.org/stable/c/c727b3d50ecb0f4992a964360771040a84026914 ↗
- https://git.kernel.org/stable/c/b96cb1235fcaa687291b1e1d910f0930d1939919 ↗
- https://git.kernel.org/stable/c/1c53d16b174dd9e02243fc0e85089e2aa6a0d21a ↗
- https://git.kernel.org/stable/c/72a85e9464a5332fb2cd7efd26d9295275ceda2d ↗