What’s Vulnerable › Vulnerabilities
CVE-2024-47708: netkit: Assign missing bpf_net_context
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-21 · updated 2026-06-17
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: netkit: Assign missing bpf_net_context During the introduction of struct bpf_net_context handling for XDP-redirect, the netkit driver has been missed, which also requires it because NETKIT_REDIRECT invokes skb_do_redirect() which is accessing the per-CPU variables. Otherwise we see the following crash: BUG: kernel NULL pointer dereference, address: 0000000000000038 bpf_redirect() netkit_xmit() dev_hard_start_xmit() Set the bpf_net_context before invoking netkit_xmit() program within the netkit driver.
Affected products
- Linux kernel: from 6.11 before 6.11.2 — fixed in 6.11.2
How to fix
Upgrade to a fixed version: Linux kernel 6.11.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/157f29152b61ca41809dd7ead29f5733adeced19
- https://git.kernel.org/stable/c/182c6fed8c7f62cddce0126ec1fc0da2b700fb11
Get alerted when CVE-2024-47708 or the next vulnerability affects your stack