Linux kernel BPF program leak in bonding XDP replacement
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
bonding: fix the program leak when XDP is replaced
We need to release the reference on the old BPF prog, whether we are going to no-prog, or replacing the prog with another.
Spotted by AI while running tests for the propagation series (leaked programs were accumulating). Selftest will come in the net-next series to avoid conflicts.
From the CVE record · Linux
The Linux kernel bonding component fails to release a reference to the old BPF program when an XDP program is replaced or removed, allowing leaked programs to accumulate. The input does not specify an attacker, access requirements, or user interaction.
Operators running Linux kernels that use bonding with XDP should check their kernel version; affected versions are not specified.