VDB

CVE-2024-47734

CVE-2024-47734 PUBLISHED

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.

PackageEcosystemFixed in
kernel-libbpf-develAmazon Linux6.1.115-126.197.amzn2023
kernel-tools-develAmazon Linux6.1.115-126.197.amzn2023
kernel-libbpf-staticAmazon Linux6.1.115-126.197.amzn2023
kernel-libbpfAmazon Linux6.1.115-126.197.amzn2023
linux_kernellinux6.11.2, 6.10.13, 6.6.54, 6.1.113, 5.15.168

Affected products

VendorProductVersions
LinuxLinux9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e
LinuxLinux5.15, 0, 5.15.168
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-tools-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-libbpf0
linuxlinux_kernel5.15, 5.15, 5.15
amazon:2023kernel-modules-extra0
amazon:2023kernel-modules-extra-common0
amazon:2023python3-perf0
amazon:2023kernel0
amazon:2023kernel-devel0
amazon:2023bpftool0
amazon:2023kernel-livepatch-6.1.115-126.1970
amazon:2023perf0
amazon:2023kernel-headers0
LinuxLinux5.15.168, 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e
amazon:2023kernel-tools0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›