VDB

CVE-2025-38037

CVE-2025-38037 PUBLISHED

vxlan: Annotate FDB data races

Reported by linux · Published June 18, 2025

In the Linux kernel, the following vulnerability has been resolved: vxlan: Annotate FDB data races The 'used' and 'updated' fields in the FDB entry structure can be accessed concurrently by multiple threads, leading to reports such as [1]. Can be reproduced using [2]. Suppress these reports by annotating these accesses using READ_ONCE() / WRITE_ONCE(). [1] BUG: KCSAN: data-race in vxlan_xmit / vxlan_xmit write to 0xffff942604d263a8 of 8 bytes by task 286 on cpu 0: vxlan_xmit+0xb29/0x2380 dev_hard_start_xmit+0x84/0x2f0 __dev_queue_xmit+0x45a/0x1650 packet_xmit+0x100/0x150 packet_sendmsg+0x2114/0x2ac0 __sys_sendto+0x318/0x330 __x64_sys_sendto+0x76/0x90 x64_sys_call+0x14e8/0x1c00 do_syscall_64+0x9e/0x1a0 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff942604d263a8 of 8 bytes by task 287 on cpu 2: vxlan_xmit+0xadf/0x2380 dev_hard_start_xmit+0x84/0x2f0 __dev_queue_xmit+0x45a/0x1650 packet_xmit+0x100/0x150 packet_sendmsg+0x2114/0x2ac0 __sys_sendto+0x318/0x330 __x64_sys_sendto+0x76/0x90 x64_sys_call+0x14e8/0x1c00 do_syscall_64+0x9e/0x1a0 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000000fffbac6e -> 0x00000000fffbac6f Reported by Kernel Concurrency Sanitizer on: CPU: 2 UID: 0 PID: 287 Comm: mausezahn Not tainted 6.13.0-rc7-01544-gb4b270f11a02 #5 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-3.fc41 04/01/2014 [2] #!/bin/bash set +H echo whitelist > /sys/kernel/debug/kcsan echo !vxlan_xmit > /sys/kernel/debug/kcsan ip link add name vx0 up type vxlan id 10010 dstport 4789 local 192.0.2.1 bridge fdb add 00:11:22:33:44:55 dev vx0 self static dst 198.51.100.1 taskset -c 0 mausezahn vx0 -a own -b 00:11:22:33:44:55 -c 0 -q & taskset -c 2 mausezahn vx0 -a own -b 00:11:22:33:44:55 -c 0 -q &

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernelAmazon Linux6.1.141-155.222.amzn2023
kernel-develAmazon Linux6.1.141-155.222.amzn2023
kernel-libbpfAmazon Linux6.1.141-155.222.amzn2023
python3-perf6.12Amazon Linux6.12.31-35.92.amzn2023
kernel6.12Amazon Linux6.12.31-35.92.amzn2023
kernel-headersAmazon Linux6.1.141-155.222.amzn2023
kernel-tools-develAmazon Linux6.1.141-155.222.amzn2023
perf6.12Amazon Linux6.12.31-35.92.amzn2023
kernel-libbpf-develAmazon Linux6.1.141-155.222.amzn2023
kernel-libbpf-staticAmazon Linux6.1.141-155.222.amzn2023
kernel6.12-modules-extraAmazon Linux6.12.31-35.92.amzn2023
LinuxLinux784b78295a3a58bf052339dd669e6e03710220d3, 3.7, 13cba3f837903f7184d6e9b6137d5165ffe82a8f

Affected products

VendorProductVersions
LinuxLinuxd342894c5d2f8c7df194c793ec4059656e09ca31, d342894c5d2f8c7df194c793ec4059656e09ca31, d342894c5d2f8c7df194c793ec4059656e09ca31
LinuxLinux3.7, 0, 5.4.294
amazon:2023kernel0
amazon:2023kernel-devel0
amazon:2023kernel-libbpf0
amazon:2023python3-perf6.120
amazon:2023kernel6.120
amazon:2023kernel-headers0
amazon:2023kernel-tools-devel0
amazon:2023perf6.120
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel6.12-modules-extra0
LinuxLinux*, *, *
amazon:2023bpftool0
amazon:2023kernel-livepatch-6.1.141-155.2220
amazon:2023kernel-tools0
amazon:2023kernel-livepatch-6.12.31-35.920
amazon:2023python3-perf0
amazon:2023kernel-modules-extra0

…and 3 more

Timeline

  • Jun 17, 2025 CVE Published
  • Jun 18, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 2, 2025 PoC Published
  • Mar 29, 2026 Distribution Patch (320 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (332 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score
  • Oct 13, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38037
vulnetix vdb fixes CVE-2025-38037

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-2025-38037/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 ›