Bug 2320271 (CVE-2024-47708) - CVE-2024-47708 kernel: netkit: Assign missing bpf_net_context
Summary: CVE-2024-47708 kernel: netkit: Assign missing bpf_net_context
Keywords:
Status: NEW
Alias: CVE-2024-47708
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2320343
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 13:07 UTC by OSIDB Bzimport
Modified: 2024-10-21 20:35 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 13:07:12 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.