Vulnerability · Published Jun 19, 2024 · Assigned by Linux

CVE-2024-38538net: bridge: xmit: make sure we have at least eth header len bytes

High 7.3

In plain English

A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.3%top 79.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

In the Linux kernel, the following vulnerability has been resolved: net: bridge: xmit: make sure we have at least eth header len bytes syzbot triggered an uninit value[1] error in bridge device's xmit path by sending a short (less than ETH_HLEN bytes) skb. To fix it check if we can actually pull that amount instead of assuming. Tested with dropwatch: drop at: br_dev_xmit+0xb93/0x12d0 [bridge] (0xffffffffc06739b3) origin: software timestamp: Mon May 13 11:31:53 2024 778214037 nsec protocol: 0x88a8 length: 2 original length: 2 drop reason: PKT_TOO_SMALL [1] BUG: KMSAN: uninit-value in br_dev_xmit+0x61d/0x1cb0 net/bridge/br_device.c:65 br_dev_xmit+0x61d/0x1cb0 net/bridge/br_device.c:65 __netdev_start_xmit include/linux/netdevice.h:4903 [inline] netdev_start_xmit include/linux/netdevice.h:4917 [inline] xmit_one net/core/dev.c:3531 [inline] dev_hard_start_xmit+0x247/0xa20 net/core/dev.c:3547 __dev_queue_xmit+0x34db/0x5350 net/core/dev.c:4341 dev_queue_xmit include/linux/netdevice.h:3091 [inline] __bpf_tx_skb net/core/filter.c:2136 [inline] __bpf_redirect_common net/core/filter.c:2180 [inline] __bpf_redirect+0x14a6/0x1620 net/core/filter.c:2187 ____bpf_clone_redirect net/core/filter.c:2460 [inline] bpf_clone_redirect+0x328/0x470 net/core/filter.c:2432 ___bpf_prog_run+0x13fe/0xe0f0 kernel/bpf/core.c:1997 __bpf_prog_run512+0xb5/0xe0 kernel/bpf/core.c:2238 bpf_dispatcher_nop_func include/linux/bpf.h:1234 [inline] __bpf_prog_run include/linux/filter.h:657 [inline] bpf_prog_run include/linux/filter.h:664 [inline] bpf_test_run+0x499/0xc30 net/bpf/test_run.c:425 bpf_prog_test_run_skb+0x14ea/0x1f20 net/bpf/test_run.c:1058 bpf_prog_test_run+0x6b7/0xad0 kernel/bpf/syscall.c:4269 __sys_bpf+0x6aa/0xd90 kernel/bpf/syscall.c:5678 __do_sys_bpf kernel/bpf/syscall.c:5767 [inline] __se_sys_bpf kernel/bpf/syscall.c:5765 [inline] __x64_sys_bpf+0xa0/0xe0 kernel/bpf/syscall.c:5765 x64_sys_call+0x96b/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:322 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9bpftool7.3.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-debug5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-debug-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-debug-devel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-debug-devel-matched5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-debug-modules5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-debug-modules-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-debug-modules-extra5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-devel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-devel-matched5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-modules5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-modules-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-modules-extra5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-abi-stablelists5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-cross-headers5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-debug5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-debug-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-debug-devel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-debug-devel-matched5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-debug-modules5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-debug-modules-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-debug-modules-extra5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-debug-uki-virt5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-devel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-devel-matched5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-doc5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-headers5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-modules5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-modules-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-modules-extra5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-rt5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-rt-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-rt-debug5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-rt-debug-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-rt-debug-devel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-rt-debug-modules5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-rt-debug-modules-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-rt-debug-modules-extra5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-rt-devel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-rt-modules5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-rt-modules-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-rt-modules-extra5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-tools5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-tools-libs5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-tools-libs-devel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-uki-virt5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-zfcpdump5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-zfcpdump-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-zfcpdump-devel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-zfcpdump-devel-matched5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-zfcpdump-modules5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-zfcpdump-modules-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-zfcpdump-modules-extra5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9libperf5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9perf5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9python3-perf5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9rtla5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9rv5.14.0-427.33.1.el9_4ALSA-2024:5928
Debian:12linux6.1.94-1DEBIAN-CVE-2024-38538
Debian:13linux6.8.12-1DEBIAN-CVE-2024-38538
Debian:14linux6.8.12-1DEBIAN-CVE-2024-38538
Ubuntu:22.04:LTSlinux5.15.0-127.137USN-7166-1
Ubuntu:22.04:LTSlinux5.15.0-127.137UBUNTU-CVE-2024-38538
Ubuntu:24.04:LTSlinux6.8.0-40.40UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-aws5.15.0-1073.79UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-aws5.15.0-1073.79USN-7166-2
Ubuntu:24.04:LTSlinux-aws6.8.0-1013.14UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-aws-6.5no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-aws-6.86.8.0-1013.14~22.04.1UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-azure5.15.0-1078.87USN-7186-2
Ubuntu:22.04:LTSlinux-azure5.15.0-1078.87UBUNTU-CVE-2024-38538
Ubuntu:24.04:LTSlinux-azure6.8.0-1012.14UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-azure-6.5no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-azure-6.86.8.0-1012.14~22.04.1UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1078.87.1UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-gcp5.15.0-1072.80USN-7166-1
Ubuntu:22.04:LTSlinux-gcp5.15.0-1072.80UBUNTU-CVE-2024-38538
Ubuntu:24.04:LTSlinux-gcp6.8.0-1012.13UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-gcp-6.5no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-gcp-6.86.8.0-1012.13~22.04.1UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-gke5.15.0-1070.76USN-7166-1
Ubuntu:22.04:LTSlinux-gke5.15.0-1070.76UBUNTU-CVE-2024-38538
Ubuntu:24.04:LTSlinux-gke6.8.0-1008.11UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1056.63USN-7166-1
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1056.63UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-hwe-6.5no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-hwe-6.86.8.0-40.40~22.04.3UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-ibm5.15.0-1066.69UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-ibm5.15.0-1066.69USN-7166-1
Ubuntu:24.04:LTSlinux-ibm6.8.0-1010.10UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-ibm-6.86.8.0-1010.10~22.04.1UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1071.77USN-7186-1
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1071.77UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-kvm5.15.0-1070.75USN-7166-1
Ubuntu:22.04:LTSlinux-kvm5.15.0-1070.75UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-127.137USN-7166-1
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-127.137UBUNTU-CVE-2024-38538
Ubuntu:24.04:LTSlinux-lowlatency6.8.0-40.40.1UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.5no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.86.8.0-40.40.1~22.04.1UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1068.69UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1068.69USN-7166-1
Ubuntu:24.04:LTSlinux-nvidia6.8.0-1011.11UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-nvidia-6.5no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-nvidia-6.86.8.0-1011.11~22.04.1UBUNTU-CVE-2024-38538
Ubuntu:24.04:LTSlinux-nvidia-lowlatency6.8.0-1011.11.1UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-nvidia-tegra5.15.0-1032.32UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-nvidia-tegra-igx5.15.0-1020.20UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-oem-6.5no fix listedUBUNTU-CVE-2024-38538
Ubuntu:24.04:LTSlinux-oem-6.86.8.0-1010.10UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-oracle5.15.0-1071.77USN-7166-1
Ubuntu:22.04:LTSlinux-oracle5.15.0-1071.77UBUNTU-CVE-2024-38538
Ubuntu:24.04:LTSlinux-oracle6.8.0-1010.10UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-oracle-6.5no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-oracle-6.86.8.0-1010.10~22.04.1UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-raspi5.15.0-1066.69USN-7166-1
Ubuntu:22.04:LTSlinux-raspi5.15.0-1066.69UBUNTU-CVE-2024-38538
Ubuntu:24.04:LTSlinux-raspi6.8.0-1009.10UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2024-38538
Ubuntu:24.04:LTSlinux-riscv6.8.0-40.40.1UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-riscv-6.5no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-riscv-6.86.8.0-40.40.1~22.04.1UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-starfive-6.5no fix listedUBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-xilinx-zynqmp5.15.0-1039.43UBUNTU-CVE-2024-38538
Ubuntu:22.04:LTSlinux-xilinx-zynqmp5.15.0-1039.43USN-7166-4

Affected products (as reported)

VendorProductVersions
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 3e01fc3c66e65d9afe98f1489047a1b2dd8741ca1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before b2b7c43cd32080221bb233741bd6011983fe7c111da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 82090f94c723dab724b1c32db406091d40448a171da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before c964429ef53f42098a6545a5dabeb1441c1e821d1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 28126b83f86ab9cc7936029c2dff845d3dcedba21da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 1abb371147905ba250b4cc0230c4be7e90bea4d51da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before f482fd4ce919836a49012b2d31b00fc36e2488f21da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 5b5d669f569807c7ab07546e73c0741845a2547a
Linux Linux 2.6.12

References