CVE-2024-47708

Source
https://cve.org/CVERecord?id=CVE-2024-47708
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-47708.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-47708
Downstream
Related
Published
2024-10-21T11:53:42.086Z
Modified
2026-05-15T04:10:22.761966156Z
Summary
netkit: Assign missing bpf_net_context
Details

In the Linux kernel, the following vulnerability has been resolved:

netkit: Assign missing bpfnetcontext

During the introduction of struct bpfnetcontext handling for XDP-redirect, the netkit driver has been missed, which also requires it because NETKITREDIRECT invokes skbdo_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 bpfnetcontext before invoking netkit_xmit() program within the netkit driver.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47708.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.11.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-47708.json"