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

Published Jun 19, 2024
·
Updated

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 ETHHLEN bytes) skb. To fix it check if we can actually pull that amount instead of assuming.

Tested with dropwatch: drop at: brdevxmit+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: PKTTOOSMALL

[1] BUG: KMSAN: uninit-value in brdevxmit+0x61d/0x1cb0 net/bridge/brdevice.c:65 brdevxmit+0x61d/0x1cb0 net/bridge/brdevice.c:65 netdevstartxmit include/linux/netdevice.h:4903 [inline] netdevstartxmit include/linux/netdevice.h:4917 [inline] xmitone net/core/dev.c:3531 [inline] devhardstartxmit+0x247/0xa20 net/core/dev.c:3547 devqueuexmit+0x34db/0x5350 net/core/dev.c:4341 devqueuexmit include/linux/netdevice.h:3091 [inline] bpftxskb net/core/filter.c:2136 [inline] bpfredirectcommon net/core/filter.c:2180 [inline] bpfredirect+0x14a6/0x1620 net/core/filter.c:2187 bpfcloneredirect net/core/filter.c:2460 [inline] bpfcloneredirect+0x328/0x470 net/core/filter.c:2432 bpfprogrun+0x13fe/0xe0f0 kernel/bpf/core.c:1997 bpfprogrun512+0xb5/0xe0 kernel/bpf/core.c:2238 bpfdispatchernopfunc include/linux/bpf.h:1234 [inline] bpfprogrun include/linux/filter.h:657 [inline] bpfprogrun include/linux/filter.h:664 [inline] bpftestrun+0x499/0xc30 net/bpf/testrun.c:425 bpfprogtestrunskb+0x14ea/0x1f20 net/bpf/testrun.c:1058 bpfprogtestrun+0x6b7/0xad0 kernel/bpf/syscall.c:4269 sysbpf+0x6aa/0xd90 kernel/bpf/syscall.c:5678 dosysbpf kernel/bpf/syscall.c:5767 [inline] sesysbpf kernel/bpf/syscall.c:5765 [inline] x64sysbpf+0xa0/0xe0 kernel/bpf/syscall.c:5765 x64syscall+0x96b/0x3b50 arch/x86/include/generated/asm/syscalls64.h:322 dosyscallx64 arch/x86/entry/common.c:52 [inline] dosyscall64+0xcf/0x1e0 arch/x86/entry/common.c:83 entrySYSCALL64afterhwframe+0x77/0x7f

Other sources

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

net: bridge: xmit: make sure we have at least eth header len bytes

The Linux kernel CVE team has assigned CVE-2024-38538 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024061947-CVE-2024-38538-e28a@gregkh/T

— Red Hat

Linux Kernel is vulnerable to a denial of service, caused by an uninit value[1] error in bridge device's xmit path. By sending a specially crafted request, a local authenticated attacker could exploit this vulnerability to cause a denial of service condition.

— IBM

Affected Software

220 affected componentsFixes available
redhat/kernel<6.1.93
6.1.93
redhat/kernel<6.6.33
6.6.33
redhat/kernel<6.8.12
6.8.12
redhat/kernel<6.9.3
6.9.3
redhat/kernel<6.10
6.10
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
Linux Linux kernel>=2.6.12<6.1.93
Linux Linux kernel>=6.2<6.6.33
Linux Linux kernel>=6.7<6.8.12
Linux Linux kernel>=6.9<6.9.3
linux/kernel>=2.6.12<4.19.324
4.19.324
linux/kernel>=4.20.0<5.4.286
5.4.286
linux/kernel>=5.5.0<5.10.230
5.10.230
linux/kernel>=5.11.0<5.15.172
5.15.172
linux/kernel>=5.16.0<6.1.93
6.1.93
linux/kernel>=6.2.0<6.6.33
6.6.33
linux/kernel>=6.7.0<6.8.12
6.8.12
linux/kernel>=6.9.0<6.9.3
6.9.3
debian/linux<6.1.94-1
6.1.94-1
debian/linux<6.8.12-1
6.8.12-1
debian/linux<6.8.12-1
6.8.12-1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1
ubuntu/linux-aws<4.4.0-1138.144
4.4.0-1138.144
ubuntu/linux-azure<4.15.0-1183.198~14.04.1
4.15.0-1183.198~14.04.1
ubuntu/linux-lts-xenial<4.4.0-261.295~14.04.1
4.4.0-261.295~14.04.1
ubuntu/linux*
ubuntu/linux<4.4.0-261.295
4.4.0-261.295
ubuntu/linux-aws<4.4.0-1176.191
4.4.0-1176.191
ubuntu/linux-aws-hwe<4.15.0-1175.188~16.04.1
4.15.0-1175.188~16.04.1
ubuntu/linux-azure<4.15.0-1183.198~16.04.1
4.15.0-1183.198~16.04.1
ubuntu/linux-gcp<4.15.0-1168.185~16.04.1
4.15.0-1168.185~16.04.1
ubuntu/linux-hwe<4.15.0-231.243~16.04.1
4.15.0-231.243~16.04.1
ubuntu/linux-kvm<4.4.0-1139.149
4.4.0-1139.149
ubuntu/linux-oracle<4.15.0-1137.148~16.04.1
4.15.0-1137.148~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1107.114
4.4.0-1107.114
ubuntu/linux-fips*
ubuntu/linux<4.15.0-231.243
4.15.0-231.243
ubuntu/linux-aws<4.15.0-1175.188
4.15.0-1175.188
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-aws-5.4<5.4.0-1136.146~18.04.1
5.4.0-1136.146~18.04.1
ubuntu/linux-azure*
ubuntu/linux-azure-4.15<4.15.0-1183.198
4.15.0-1183.198
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-5.4<5.4.0-1142.149~18.04.1
5.4.0-1142.149~18.04.1
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-4.15<4.15.0-1168.185
4.15.0-1168.185
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-5.4<5.4.0-1140.149~18.04.1
5.4.0-1140.149~18.04.1
ubuntu/linux-gke-4.15*
ubuntu/linux-gke-5.4*
ubuntu/linux-gkeop-5.4*
ubuntu/linux-hwe*
ubuntu/linux-hwe-5.4<5.4.0-202.222~18.04.1
5.4.0-202.222~18.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-ibm-5.4<5.4.0-1083.88~18.04.1
5.4.0-1083.88~18.04.1
ubuntu/linux-kvm<4.15.0-1158.163
4.15.0-1158.163
ubuntu/linux-oem*
ubuntu/linux-oracle<4.15.0-1137.148
4.15.0-1137.148
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-oracle-5.4<5.4.0-1135.144~18.04.1
5.4.0-1135.144~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1120.132~18.04.1
5.4.0-1120.132~18.04.1
ubuntu/linux-aws-fips<4.15.0-2113.119
4.15.0-2113.119
ubuntu/linux-azure-fips<4.15.0-2092.98
4.15.0-2092.98
ubuntu/linux-fips<4.15.0-1129.140
4.15.0-1129.140
ubuntu/linux-gcp-fips<4.15.0-2076.81
4.15.0-2076.81
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-202.222
5.4.0-202.222
ubuntu/linux-aws<5.4.0-1136.146
5.4.0-1136.146
ubuntu/linux-aws-5.15<5.15.0-1073.79~20.04.1
5.15.0-1073.79~20.04.1
ubuntu/linux-azure<5.4.0-1142.149
5.4.0-1142.149
ubuntu/linux-azure-5.15<5.15.0-1078.87~20.04.1
5.15.0-1078.87~20.04.1
ubuntu/linux-bluefield<5.4.0-1096.103
5.4.0-1096.103
ubuntu/linux-gcp<5.4.0-1140.149
5.4.0-1140.149
ubuntu/linux-gcp-5.15<5.15.0-1072.80~20.04.1
5.15.0-1072.80~20.04.1
ubuntu/linux-hwe-5.15<5.15.0-127.137~20.04.1
5.15.0-127.137~20.04.1
ubuntu/linux-ibm<5.4.0-1083.88
5.4.0-1083.88
ubuntu/linux-ibm-5.15<5.15.0-1066.69~20.04.1
5.15.0-1066.69~20.04.1
ubuntu/linux-intel-iotg-5.15<5.15.0-1071.77~20.04.1
5.15.0-1071.77~20.04.1
ubuntu/linux-iot<5.4.0-1045.46
5.4.0-1045.46
ubuntu/linux-kvm<5.4.0-1124.132
5.4.0-1124.132
ubuntu/linux-lowlatency-hwe-5.15<5.15.0-127.137~20.04.1
5.15.0-127.137~20.04.1
ubuntu/linux-nvidia-tegra-5.15<5.15.0-1032.32~20.04.1
5.15.0-1032.32~20.04.1
ubuntu/linux-oracle<5.4.0-1135.144
5.4.0-1135.144
ubuntu/linux-oracle-5.15<5.15.0-1071.77~20.04.1
5.15.0-1071.77~20.04.1
ubuntu/linux-raspi<5.4.0-1120.132
5.4.0-1120.132
ubuntu/linux-riscv-5.15<5.15.0-1069.73~20.04.1
5.15.0-1069.73~20.04.1
ubuntu/linux-xilinx-zynqmp<5.4.0-1055.59
5.4.0-1055.59
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.13*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.13*
ubuntu/linux-azure-5.8*
ubuntu/linux-azure-fde*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.13*
ubuntu/linux-gcp-5.8*
ubuntu/linux-gke*
ubuntu/linux-gke-5.15*
ubuntu/linux-gkeop*
ubuntu/linux-gkeop-5.15*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.13*
ubuntu/linux-hwe-5.8*
ubuntu/linux-intel-5.13*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.13*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.8*
ubuntu/linux-aws-fips<5.4.0-1136.146+fips1
5.4.0-1136.146+fips1
ubuntu/linux-azure-fips<5.4.0-1142.149+fips1
5.4.0-1142.149+fips1
ubuntu/linux-fips<5.4.0-1110.120
5.4.0-1110.120
ubuntu/linux-gcp-fips<5.4.0-1140.149+fips1
5.4.0-1140.149+fips1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.15.0-127.137
5.15.0-127.137
ubuntu/linux-allwinner-5.19*
ubuntu/linux-aws<5.15.0-1073.79
5.15.0-1073.79
ubuntu/linux-aws-5.19*
ubuntu/linux-aws-6.2*
ubuntu/linux-aws-6.5*
ubuntu/linux-aws-6.8<6.8.0-1013.14~22.04.1
6.8.0-1013.14~22.04.1
ubuntu/linux-azure<5.15.0-1078.87
5.15.0-1078.87
ubuntu/linux-azure-5.19*
ubuntu/linux-azure-6.2*
ubuntu/linux-azure-6.5*
ubuntu/linux-azure-6.8<6.8.0-1012.14~22.04.1
6.8.0-1012.14~22.04.1
ubuntu/linux-azure-fde<5.15.0-1078.87.1
5.15.0-1078.87.1
ubuntu/linux-azure-fde-5.19*
ubuntu/linux-azure-fde-6.2*
ubuntu/linux-gcp<5.15.0-1072.80
5.15.0-1072.80
ubuntu/linux-gcp-5.19*
ubuntu/linux-gcp-6.2*
ubuntu/linux-gcp-6.5*
ubuntu/linux-gcp-6.8<6.8.0-1012.13~22.04.1
6.8.0-1012.13~22.04.1
ubuntu/linux-gke<5.15.0-1070.76
5.15.0-1070.76
ubuntu/linux-gkeop<5.15.0-1056.63
5.15.0-1056.63
ubuntu/linux-hwe-5.19*
ubuntu/linux-hwe-6.2*
ubuntu/linux-hwe-6.5*
ubuntu/linux-hwe-6.8<6.8.0-40.40~22.04.3
6.8.0-40.40~22.04.3
ubuntu/linux-ibm<5.15.0-1066.69
5.15.0-1066.69
ubuntu/linux-ibm-6.8<6.8.0-1010.10~22.04.1
6.8.0-1010.10~22.04.1
ubuntu/linux-intel-iotg<5.15.0-1071.77
5.15.0-1071.77
ubuntu/linux-kvm<5.15.0-1070.75
5.15.0-1070.75
ubuntu/linux-lowlatency<5.15.0-127.137
5.15.0-127.137
ubuntu/linux-lowlatency-hwe-5.19*
ubuntu/linux-lowlatency-hwe-6.2*
ubuntu/linux-lowlatency-hwe-6.5*
ubuntu/linux-lowlatency-hwe-6.8<6.8.0-40.40.1~22.04.1
6.8.0-40.40.1~22.04.1
ubuntu/linux-nvidia<5.15.0-1068.69
5.15.0-1068.69
ubuntu/linux-nvidia-6.2*
ubuntu/linux-nvidia-6.5*
ubuntu/linux-nvidia-6.8<6.8.0-1011.11~22.04.1
6.8.0-1011.11~22.04.1
ubuntu/linux-nvidia-tegra<5.15.0-1032.32
5.15.0-1032.32
ubuntu/linux-nvidia-tegra-igx<5.15.0-1020.20
5.15.0-1020.20
ubuntu/linux-oem-5.17*
ubuntu/linux-oem-6.0*
ubuntu/linux-oem-6.1*
ubuntu/linux-oem-6.5*
ubuntu/linux-oracle<5.15.0-1071.77
5.15.0-1071.77
ubuntu/linux-oracle-6.5*
ubuntu/linux-oracle-6.8<6.8.0-1010.10~22.04.1
6.8.0-1010.10~22.04.1
ubuntu/linux-raspi<5.15.0-1066.69
5.15.0-1066.69
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.19*
ubuntu/linux-riscv-6.5*
ubuntu/linux-riscv-6.8<6.8.0-40.40.1~22.04.1
6.8.0-40.40.1~22.04.1
ubuntu/linux-starfive-5.19*
ubuntu/linux-starfive-6.2*
ubuntu/linux-starfive-6.5*
ubuntu/linux-xilinx-zynqmp<5.15.0-1039.43
5.15.0-1039.43
ubuntu/linux-bluefield<5.15.0-1057.59
5.15.0-1057.59
ubuntu/linux-intel-iot-realtime<5.15.0-1066.68
5.15.0-1066.68
ubuntu/linux-realtime<5.15.0-1074.82
5.15.0-1074.82
ubuntu/linux-realtime-6.8<6.8.1-1006.6~22.04.1
6.8.1-1006.6~22.04.1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-aws-fips<5.15.0-1073.79+fips1
5.15.0-1073.79+fips1
ubuntu/linux-azure-fips<5.15.0-1078.87+fips1
5.15.0-1078.87+fips1
ubuntu/linux-fips<5.15.0-127.137+fips1
5.15.0-127.137+fips1
ubuntu/linux-gcp-fips<5.15.0-1072.80+fips1
5.15.0-1072.80+fips1
ubuntu/linux<6.8.0-40.40
6.8.0-40.40
ubuntu/linux-aws<6.8.0-1013.14
6.8.0-1013.14
ubuntu/linux-azure<6.8.0-1012.14
6.8.0-1012.14
ubuntu/linux-gcp<6.8.0-1012.13
6.8.0-1012.13
ubuntu/linux-gke<6.8.0-1008.11
6.8.0-1008.11
ubuntu/linux-ibm<6.8.0-1010.10
6.8.0-1010.10
ubuntu/linux-lowlatency<6.8.0-40.40.1
6.8.0-40.40.1
ubuntu/linux-nvidia<6.8.0-1011.11
6.8.0-1011.11
ubuntu/linux-nvidia-lowlatency<6.8.0-1011.11.1
6.8.0-1011.11.1
ubuntu/linux-oem-6.8<6.8.0-1010.10
6.8.0-1010.10
ubuntu/linux-oracle<6.8.0-1010.10
6.8.0-1010.10
ubuntu/linux-raspi<6.8.0-1009.10
6.8.0-1009.10
ubuntu/linux-riscv<6.8.0-40.40.1
6.8.0-40.40.1
ubuntu/linux-raspi-realtime<6.8.0-2008.8
6.8.0-2008.8
ubuntu/linux-realtime<6.8.1-1006.6
6.8.1-1006.6
ubuntu/linux-fips<6.8.0-78.78+fips1
6.8.0-78.78+fips1
ubuntu/linux-vmware*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.1.93
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.6.33
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.8.12
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.9.3
  5. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.10
  6. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 4.19.324
  7. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.4.286
  8. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.230
  9. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.172
  10. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.93
  11. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.33
  12. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.8.12
  13. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.9.3
  14. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.94-1
  15. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.8.12-1
  16. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1
  17. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1138.144
  18. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1183.198~14.04.1
  19. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-261.295~14.04.1
  20. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.4.0-261.295
  21. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1176.191
  22. Upgrade

    Upgrade ubuntu/linux-aws-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-1175.188~16.04.1
  23. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1183.198~16.04.1
  24. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.15.0-1168.185~16.04.1
  25. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-231.243~16.04.1
  26. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.4.0-1139.149
  27. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1137.148~16.04.1
  28. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.4.0-1107.114
  29. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.15.0-231.243
  30. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.15.0-1175.188
  31. Upgrade

    Upgrade ubuntu/linux-aws-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1136.146~18.04.1
  32. Upgrade

    Upgrade ubuntu/linux-azure-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1183.198
  33. Upgrade

    Upgrade ubuntu/linux-azure-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1142.149~18.04.1
  34. Upgrade

    Upgrade ubuntu/linux-gcp-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1168.185
  35. Upgrade

    Upgrade ubuntu/linux-gcp-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1140.149~18.04.1
  36. Upgrade

    Upgrade ubuntu/linux-hwe-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-202.222~18.04.1
  37. Upgrade

    Upgrade ubuntu/linux-ibm-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1083.88~18.04.1
  38. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.15.0-1158.163
  39. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1137.148
  40. Upgrade

    Upgrade ubuntu/linux-oracle-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1135.144~18.04.1
  41. Upgrade

    Upgrade ubuntu/linux-raspi-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1120.132~18.04.1
  42. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2113.119
  43. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2092.98
  44. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-1129.140
  45. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2076.81
  46. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.4.0-202.222
  47. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.4.0-1136.146
  48. Upgrade

    Upgrade ubuntu/linux-aws-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1073.79~20.04.1
  49. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.4.0-1142.149
  50. Upgrade

    Upgrade ubuntu/linux-azure-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1078.87~20.04.1
  51. Upgrade

    Upgrade ubuntu/linux-bluefield to a version that resolves this vulnerability.

    Fixed in 5.4.0-1096.103
  52. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1140.149
  53. Upgrade

    Upgrade ubuntu/linux-gcp-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1072.80~20.04.1
  54. Upgrade

    Upgrade ubuntu/linux-hwe-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-127.137~20.04.1
  55. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1083.88
  56. Upgrade

    Upgrade ubuntu/linux-ibm-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1066.69~20.04.1
  57. Upgrade

    Upgrade ubuntu/linux-intel-iotg-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1071.77~20.04.1
  58. Upgrade

    Upgrade ubuntu/linux-iot to a version that resolves this vulnerability.

    Fixed in 5.4.0-1045.46
  59. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1124.132
  60. Upgrade

    Upgrade ubuntu/linux-lowlatency-hwe-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-127.137~20.04.1
  61. Upgrade

    Upgrade ubuntu/linux-nvidia-tegra-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1032.32~20.04.1
  62. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.4.0-1135.144
  63. Upgrade

    Upgrade ubuntu/linux-oracle-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1071.77~20.04.1
  64. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.4.0-1120.132
  65. Upgrade

    Upgrade ubuntu/linux-riscv-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1069.73~20.04.1
  66. Upgrade

    Upgrade ubuntu/linux-xilinx-zynqmp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1055.59
  67. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1136.146+fips1
  68. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1142.149+fips1
  69. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1110.120
  70. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1140.149+fips1
  71. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.15.0-127.137
  72. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.15.0-1073.79
  73. Upgrade

    Upgrade ubuntu/linux-aws-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1013.14~22.04.1
  74. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.15.0-1078.87
  75. Upgrade

    Upgrade ubuntu/linux-azure-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1012.14~22.04.1
  76. Upgrade

    Upgrade ubuntu/linux-azure-fde to a version that resolves this vulnerability.

    Fixed in 5.15.0-1078.87.1
  77. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.15.0-1072.80
  78. Upgrade

    Upgrade ubuntu/linux-gcp-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1012.13~22.04.1
  79. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 5.15.0-1070.76
  80. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 5.15.0-1056.63
  81. Upgrade

    Upgrade ubuntu/linux-hwe-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-40.40~22.04.3
  82. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 5.15.0-1066.69
  83. Upgrade

    Upgrade ubuntu/linux-ibm-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1010.10~22.04.1
  84. Upgrade

    Upgrade ubuntu/linux-intel-iotg to a version that resolves this vulnerability.

    Fixed in 5.15.0-1071.77
  85. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.15.0-1070.75
  86. Upgrade

    Upgrade ubuntu/linux-lowlatency to a version that resolves this vulnerability.

    Fixed in 5.15.0-127.137
  87. Upgrade

    Upgrade ubuntu/linux-lowlatency-hwe-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-40.40.1~22.04.1
  88. Upgrade

    Upgrade ubuntu/linux-nvidia to a version that resolves this vulnerability.

    Fixed in 5.15.0-1068.69
  89. Upgrade

    Upgrade ubuntu/linux-nvidia-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1011.11~22.04.1
  90. Upgrade

    Upgrade ubuntu/linux-nvidia-tegra to a version that resolves this vulnerability.

    Fixed in 5.15.0-1032.32
  91. Upgrade

    Upgrade ubuntu/linux-nvidia-tegra-igx to a version that resolves this vulnerability.

    Fixed in 5.15.0-1020.20
  92. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.15.0-1071.77
  93. Upgrade

    Upgrade ubuntu/linux-oracle-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1010.10~22.04.1
  94. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.15.0-1066.69
  95. Upgrade

    Upgrade ubuntu/linux-riscv-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-40.40.1~22.04.1
  96. Upgrade

    Upgrade ubuntu/linux-xilinx-zynqmp to a version that resolves this vulnerability.

    Fixed in 5.15.0-1039.43
  97. Upgrade

    Upgrade ubuntu/linux-bluefield to a version that resolves this vulnerability.

    Fixed in 5.15.0-1057.59
  98. Upgrade

    Upgrade ubuntu/linux-intel-iot-realtime to a version that resolves this vulnerability.

    Fixed in 5.15.0-1066.68
  99. Upgrade

    Upgrade ubuntu/linux-realtime to a version that resolves this vulnerability.

    Fixed in 5.15.0-1074.82
  100. Upgrade

    Upgrade ubuntu/linux-realtime-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.1-1006.6~22.04.1
  101. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.15.0-1073.79+fips1
  102. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.15.0-1078.87+fips1
  103. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 5.15.0-127.137+fips1
  104. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.15.0-1072.80+fips1
  105. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 6.8.0-40.40
  106. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 6.8.0-1013.14
  107. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 6.8.0-1012.14
  108. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 6.8.0-1012.13
  109. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 6.8.0-1008.11
  110. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 6.8.0-1010.10
  111. Upgrade

    Upgrade ubuntu/linux-lowlatency to a version that resolves this vulnerability.

    Fixed in 6.8.0-40.40.1
  112. Upgrade

    Upgrade ubuntu/linux-nvidia to a version that resolves this vulnerability.

    Fixed in 6.8.0-1011.11
  113. Upgrade

    Upgrade ubuntu/linux-nvidia-lowlatency to a version that resolves this vulnerability.

    Fixed in 6.8.0-1011.11.1
  114. Upgrade

    Upgrade ubuntu/linux-oem-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1010.10
  115. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 6.8.0-1010.10
  116. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 6.8.0-1009.10
  117. Upgrade

    Upgrade ubuntu/linux-riscv to a version that resolves this vulnerability.

    Fixed in 6.8.0-40.40.1
  118. Upgrade

    Upgrade ubuntu/linux-raspi-realtime to a version that resolves this vulnerability.

    Fixed in 6.8.0-2008.8
  119. Upgrade

    Upgrade ubuntu/linux-realtime to a version that resolves this vulnerability.

    Fixed in 6.8.1-1006.6
  120. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 6.8.0-78.78+fips1
  121. Configuration

    Apply the kernel fix for CVE-2024-38538 described as: 'net: bridge: xmit: make sure we have at least eth header len bytes' / 'check if we can actually pull that amount instead of assuming' in br_dev_xmit (net/bridge/br_device.c).

    Linux kernel net/bridge (br_device.c xmit path) ETH header length handling = ensure skb pull succeeds before using eth header length (avoid assuming eth header len bytes can be pulled)
  122. Compensating control

    Mitigate by preventing or reducing exposure to specially crafted packets that trigger 'PKT_TOO_SMALL' in the bridge xmit path (short skb with length less than ETH_HLEN). For example, restrict traffic that can reach the Linux bridge datapath from untrusted sources (e.g., via network ACLs/firewall rules).

Event History

Jun 19, 2024
CVE Published
via MITRE·01:35 PM
Data Sourced
via MITRE·01:35 PM
DescriptionSeverity
Data Sourced
via OSV·01:35 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-38538?

CVE-2024-38538 has been classified as a vulnerability that can lead to potential memory corruption in the Linux kernel.

2

How do I fix CVE-2024-38538?

To address CVE-2024-38538, you should update your Linux kernel to version 6.1.93, 6.6.33, 6.8.12, 6.9.3, 6.10, or any later patched version.

3

Which Linux distributions are affected by CVE-2024-38538?

CVE-2024-38538 affects various versions of the Linux kernel across multiple distributions, including Red Hat and Debian.

4

Can CVE-2024-38538 lead to system exploitation?

Yes, if exploited, CVE-2024-38538 could allow attackers to execute arbitrary code, potentially compromising system security.

5

What components of the Linux kernel does CVE-2024-38538 impact?

CVE-2024-38538 specifically impacts the bridge device within the Linux kernel's networking stack.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203