CVE-2025-37920: xsk: Fix race condition in AF_XDP generic RX path
Vulnerability summary
CVE-2025-37920 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.3% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
CIRCL last checked 06-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 40 · Related 38Timeline
- 20-05-2025PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: xsk: Fix race condition in AF_XDP generic RX path Move rx_lock from xsk_socket to xsk_buff_pool. Fix synchronization for shared umem mode in generic RX path where multiple sockets share single xsk_buff_pool. RX queue is exclusive to xsk_socket, while FILL queue can be shared between multiple sockets. This could result in race condition where two CPU cores access RX path of two different sockets sharing the same umem. Protect both queues by acquiring spinlock in shared xsk_buff_pool. Lock contention may be minimized in the future by some per-thread FQ buffering. It's safe and necessary to move spin_lock_bh(rx_lock) after xsk_rcv_check(): * xs->pool and spinlock_init is synchronized by xsk_bind() -> xsk_is_bound() memory barriers. * xsk_rcv_check() may return true at the moment of xsk_release() or xsk_unbind_dev(), however this will not cause any data races or race conditions. xsk_unbind_dev() removes xdp socket from all maps and waits for completion of all outstanding rx operations. Packets in RX path will either complete safely or drop.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.16%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.16% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu142 products
- linuxAll versions (No fix recorded) | < 5.15.0-202.212 | < 6.8.0-100.100
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1119.126 | < 6.8.0-1046.49
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ bf0bdd1343efbbf65b4d53aef1fce14acbd79d50, < 975b372313dc018b9bd6cc0d85d188787054b19e | ≥ bf0bdd1343efbbf65b4d53aef1fce14acbd79d50, < b6978c565ce33658543c637060852434b4248d30 | ≥ bf0bdd1343efbbf65b4d53aef1fce14acbd79d50, < 65d3c570614b892257dc58a1b202908242ecf8fd | ≥ bf0bdd1343efbbf65b4d53aef1fce14acbd79d50, < 75a240a3e8abf17b9e00b0ef0492b1bbaa932251 | ≥ bf0bdd1343efbbf65b4d53aef1fce14acbd79d50, < a1356ac7749cafc4e27aa62c0c4604b5dca4983e | fd7c22ba7a0ad898b9ecf77dd53f5ccc48492e35 | 8a090e3b73eaffe18e08ccc3fb5abecf6b0a9781 | ≥ 5.1.20, < 5.2 | ≥ 5.2.3, < 5.3 | 5.3
- linux_kernel≥ 5.1.20, < 5.2 | ≥ 5.2.3, < 6.12.28 | ≥ 6.13, < 6.14.6 | 6.15:rc1 | 6.15:rc2 | 6.15:rc3 | 6.15:rc4
Debian1 product
- linux< 6.1.164-1 | < 6.12.29-1
3 vendors · 145 products