# CVE-2024-47708: netkit: Assign missing bpf_net_context

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2024-10-21T11:53:42.086Z
- Modified: 2026-06-17T07:57:35.800Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 401cb7dae8130fd34eb84648e02ab4c506df7d5e before 182c6fed8c7f62cddce0126ec1fc0da2b700fb11; from 401cb7dae8130fd34eb84648e02ab4c506df7d5e before 157f29152b61ca41809dd7ead29f5733adeced19; 6.11 (not affected: before 6.11; from 6.11.2 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.11 before 6.11.2

## References

- <https://git.kernel.org/stable/c/182c6fed8c7f62cddce0126ec1fc0da2b700fb11> (patch)
- <https://git.kernel.org/stable/c/157f29152b61ca41809dd7ead29f5733adeced19> (patch)

## Sources

- CVE List: [CVE-2024-47708](https://www.cve.org/CVERecord?id=CVE-2024-47708), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-47708](https://nvd.nist.gov/vuln/detail/CVE-2024-47708), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-47708 · Whole record: https://cve.day/CVE-2024-47708.json · Rebuilt by cve.day 2026-11-25T22:58:46.977Z
