High · published December 29, 2024
In the Linux kernel, the following vulnerability has been resolved:
bpf, sockmap: Several fixes to bpf_msg_pop_data
Several fixes to bpf_msg_pop_data,
1. In sk_msg_shift_left, we should put_page
2. if (len == 0), return early is better
3. pop the entire sk_msg (last == msg->sg.size) should be supported
4. Fix for the value of variable "a"
5. In sk_msg_shift_left, after shifting, i has already pointed to the next
element. Addtional sk_msg_iter_var_next may result in BUG.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 5.0, < 5.4.287 | 5.4.287 |
| linux/linux_kernel | ≥ 5.5, < 5.10.231 | 5.10.231 |
| linux/linux_kernel | ≥ 5.11, < 5.15.174 | 5.15.174 |
| linux/linux_kernel | ≥ 5.16, < 6.1.120 | 6.1.120 |
| linux/linux_kernel | ≥ 6.2, < 6.6.64 | 6.6.64 |
| linux/linux_kernel | ≥ 6.7, < 6.11.11 | 6.11.11 |
| linux/linux_kernel | ≥ 6.12, < 6.12.2 | 6.12.2 |