{"id":"CVE-2025-38037","summary":"vxlan: Annotate FDB data races","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nvxlan: Annotate FDB data races\n\nThe 'used' and 'updated' fields in the FDB entry structure can be\naccessed concurrently by multiple threads, leading to reports such as\n[1]. Can be reproduced using [2].\n\nSuppress these reports by annotating these accesses using\nREAD_ONCE() / WRITE_ONCE().\n\n[1]\nBUG: KCSAN: data-race in vxlan_xmit / vxlan_xmit\n\nwrite to 0xffff942604d263a8 of 8 bytes by task 286 on cpu 0:\n vxlan_xmit+0xb29/0x2380\n dev_hard_start_xmit+0x84/0x2f0\n __dev_queue_xmit+0x45a/0x1650\n packet_xmit+0x100/0x150\n packet_sendmsg+0x2114/0x2ac0\n __sys_sendto+0x318/0x330\n __x64_sys_sendto+0x76/0x90\n x64_sys_call+0x14e8/0x1c00\n do_syscall_64+0x9e/0x1a0\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\nread to 0xffff942604d263a8 of 8 bytes by task 287 on cpu 2:\n vxlan_xmit+0xadf/0x2380\n dev_hard_start_xmit+0x84/0x2f0\n __dev_queue_xmit+0x45a/0x1650\n packet_xmit+0x100/0x150\n packet_sendmsg+0x2114/0x2ac0\n __sys_sendto+0x318/0x330\n __x64_sys_sendto+0x76/0x90\n x64_sys_call+0x14e8/0x1c00\n do_syscall_64+0x9e/0x1a0\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\nvalue changed: 0x00000000fffbac6e -\u003e 0x00000000fffbac6f\n\nReported by Kernel Concurrency Sanitizer on:\nCPU: 2 UID: 0 PID: 287 Comm: mausezahn Not tainted 6.13.0-rc7-01544-gb4b270f11a02 #5\nHardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-3.fc41 04/01/2014\n\n[2]\n #!/bin/bash\n\n set +H\n echo whitelist \u003e /sys/kernel/debug/kcsan\n echo !vxlan_xmit \u003e /sys/kernel/debug/kcsan\n\n ip link add name vx0 up type vxlan id 10010 dstport 4789 local 192.0.2.1\n bridge fdb add 00:11:22:33:44:55 dev vx0 self static dst 198.51.100.1\n taskset -c 0 mausezahn vx0 -a own -b 00:11:22:33:44:55 -c 0 -q &\n taskset -c 2 mausezahn vx0 -a own -b 00:11:22:33:44:55 -c 0 -q &","modified":"2026-04-02T12:47:45.181891Z","published":"2025-06-18T09:33:23.551Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38037.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/02a33b1035a307453a1da6ce0a1bf3676be287d7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/13cba3f837903f7184d6e9b6137d5165ffe82a8f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4eceb7eae6ea7c950384c34e6dbbe872c981935f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/784b78295a3a58bf052339dd669e6e03710220d3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/87d076987a9ba106c83412fcd113656f71af05a1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a6644aeb8ddf196dec5f8e782293c36f065df4d7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e033da39fc6abbddab6c29624acef80757f273fa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f6205f8215f12a96518ac9469ff76294ae7bd612"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38037.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38037"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d342894c5d2f8c7df194c793ec4059656e09ca31"},{"fixed":"02a33b1035a307453a1da6ce0a1bf3676be287d7"},{"fixed":"87d076987a9ba106c83412fcd113656f71af05a1"},{"fixed":"e033da39fc6abbddab6c29624acef80757f273fa"},{"fixed":"784b78295a3a58bf052339dd669e6e03710220d3"},{"fixed":"13cba3f837903f7184d6e9b6137d5165ffe82a8f"},{"fixed":"a6644aeb8ddf196dec5f8e782293c36f065df4d7"},{"fixed":"4eceb7eae6ea7c950384c34e6dbbe872c981935f"},{"fixed":"f6205f8215f12a96518ac9469ff76294ae7bd612"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38037.json"}}],"schema_version":"1.7.5"}