Medium · published February 27, 2025
In the Linux kernel, the following vulnerability has been resolved:
bpf: Send signals asynchronously if !preemptible
BPF programs can execute in all kinds of contexts and when a program
running in a non-preemptible context uses the bpf_send_signal() kfunc,
it will cause issues because this kfunc can sleep.
Change `irqs_disabled()` to `!preemptible()`.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 5.6.1, < 5.10.235 | 5.10.235 |
| linux/linux_kernel | ≥ 5.11, < 5.15.179 | 5.15.179 |
| linux/linux_kernel | ≥ 5.16, < 6.1.129 | 6.1.129 |
| linux/linux_kernel | ≥ 6.2, < 6.6.76 | 6.6.76 |
| linux/linux_kernel | ≥ 6.7, < 6.12.13 | 6.12.13 |
| linux/linux_kernel | ≥ 6.13, < 6.13.2 | 6.13.2 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | ≥ 5.4.33, < 5.4.291 | 5.4.291 |
| linux/linux_kernel | ≥ 5.5.18, < 5.6 | 5.6 |