CVE-2024-47734
bonding: Fix unnecessary warnings and logs from bond_xdp_get_xmit_slave()
Reported by linux · Published October 21, 2024
In the Linux kernel, the following vulnerability has been resolved: bonding: Fix unnecessary warnings and logs from bond_xdp_get_xmit_slave() syzbot reported a WARNING in bond_xdp_get_xmit_slave. To reproduce this[1], one bond device (bond1) has xdpdrv, which increases bpf_master_redirect_enabled_key. Another bond device (bond0) which is unsupported by XDP but its slave (veth3) has xdpgeneric that returns XDP_TX. This triggers WARN_ON_ONCE() from the xdp_master_redirect(). To reduce unnecessary warnings and improve log management, we need to delete the WARN_ON_ONCE() and add ratelimit to the netdev_err(). [1] Steps to reproduce: # Needs tx_xdp with return XDP_TX; ip l add veth0 type veth peer veth1 ip l add veth3 type veth peer veth4 ip l add bond0 type bond mode 6 # BOND_MODE_ALB, unsupported by XDP ip l add bond1 type bond # BOND_MODE_ROUNDROBIN by default ip l set veth0 master bond1 ip l set bond1 up # Increases bpf_master_redirect_enabled_key ip l set dev bond1 xdpdrv object tx_xdp.o section xdp_tx ip l set veth3 master bond0 ip l set bond0 up ip l set veth4 up # Triggers WARN_ON_ONCE() from the xdp_master_redirect() ip l set veth3 xdpgeneric object tx_xdp.o section xdp_tx
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-libbpf-devel | Amazon Linux | 6.1.115-126.197.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.115-126.197.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.115-126.197.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.115-126.197.amzn2023 |
| linux_kernel | linux | 6.11.2, 6.10.13, 6.6.54, 6.1.113, 5.15.168 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e |
| Linux | Linux | 5.15, 0, 5.15.168 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| linux | linux_kernel | 5.15, 5.15, 5.15 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-livepatch-6.1.115-126.197 | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-headers | 0 |
| Linux | Linux | 5.15.168, 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e |
| amazon:2023 | kernel-tools | 0 |
Timeline
- Oct 21, 2024 Coalition ESS Score (17 in total, the first dated here)
- Oct 21, 2024 CVE Published
- Oct 22, 2024 EPSS Score (30 in total, the first dated here)
- Jan 3, 2026 Security Advisory (449 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (381 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-47734
vulnetix vdb fixes CVE-2024-47734
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-47734/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart