CVE-2026-43121

published 6 May 2026 · updated 13 Nov 2026

io_uring/zcrx: fix user_ref race between scrub and refill paths

4.7MediumCVSS 4.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a94f096e28bfc7975163a6b80f1c8f323efe317a, Kernel 6.19.6, Kernel 485dc691257b96e6d3bdc25b0eff2daadcc5c46c and 2 more.

In the Linux kernel, the following vulnerability has been resolved: io_uring/zcrx: fix user_ref race between scrub and refill paths The io_zcrx_put_niov_uref() function uses a non-atomic check-then-decrement pattern (atomic_read followed by separate atomic_dec) to manipulate user_refs. This is serialized against other callers by rq_lock, but io_zcrx_scrub() modifies the same counter with atomic_xchg() WITHOUT holding rq_lock. On SMP systems, the following race exists: CPU0 (refill, holds rq_lock) CPU1 (scrub, no rq_lock) put_niov_uref: atomic_read(uref) - 1 // window opens atomic_xchg(uref, 0) - 1 return_niov_freelist(niov) [PUSH #1] // window closes atomic_dec(uref) - wraps to -1 returns true return_niov(niov) return_niov_freelist(niov) [PUSH #2: DOUBLE-FREE] The same niov is pushed to the freelist twice, causing free_count to exceed nr_iovs. Subsequent freelist pushes then perform an out-of-bounds write (a u32 value) past the kvmalloc'd freelist array into the adjacent slab object. Fix this by replacing the non-atomic read-then-dec in io_zcrx_put_niov_uref() with an atomic_try_cmpxchg loop that atomically tests and decrements user_refs. This makes the operation safe against concurrent atomic_xchg from scrub without requiring scrub to acquire rq_lock. [pavel: removed a warning and a comment]

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=34a3e60821ab9f335a58d43a88cccdbefdebdec3 <a94f096e28bfc7975163a6b80f1c8f323efe317a, >=6.19 <6.19.6, >=34a3e60821ab9f335a58d43a88cccdbefdebdec3 <485dc691257b96e6d3bdc25b0eff2daadcc5c46c, >=6.15 <6.18.16, =6.15, >=34a3e60821ab9f335a58d43a88cccdbefdebdec3 <003049b1c4fb8aabb93febb7d1e49004f6ad653ba94f096e28bfc7975163a6b80f1c8f323efe317a, 6.19.6, 485dc691257b96e6d3bdc25b0eff2daadcc5c46c, 6.18.16, 003049b1c4fb8aabb93febb7d1e49004f6ad653b
linux-kernel: Kernel>=6.15.0 <6.18.16, >=6.19.0 <6.19.66.18.16, 6.19.6

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-43121 severity on Zeptric[![CVE-2026-43121](https://zeptric.io/badge/cve/CVE-2026-43121.svg)](https://zeptric.io/cve/CVE-2026-43121)