Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2026-43121
PUBLISHED
More InfoOfficial Page
Assigner-Linux
Assigner Org ID-416baaa9-dc9f-4396-8d5f-8c081fb06d67
View Known Exploited Vulnerability (KEV) details
Published At-06 May, 2026 | 11:27
Updated At-11 May, 2026 | 22:18
Rejected At-
▼CVE Numbering Authority (CNA)
io_uring/zcrx: fix user_ref race between scrub and refill paths

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 Products
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • io_uring/zcrx.c
Default Status
unaffected
Versions
Affected
  • From 34a3e60821ab9f335a58d43a88cccdbefdebdec3 before a94f096e28bfc7975163a6b80f1c8f323efe317a (git)
  • From 34a3e60821ab9f335a58d43a88cccdbefdebdec3 before 485dc691257b96e6d3bdc25b0eff2daadcc5c46c (git)
  • From 34a3e60821ab9f335a58d43a88cccdbefdebdec3 before 003049b1c4fb8aabb93febb7d1e49004f6ad653b (git)
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • io_uring/zcrx.c
Default Status
affected
Versions
Affected
  • 6.15
Unaffected
  • From 0 before 6.15 (semver)
  • From 6.18.16 through 6.18.* (semver)
  • From 6.19.6 through 6.19.* (semver)
  • From 7.0 through * (original_commit_for_fix)
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://git.kernel.org/stable/c/a94f096e28bfc7975163a6b80f1c8f323efe317a
N/A
https://git.kernel.org/stable/c/485dc691257b96e6d3bdc25b0eff2daadcc5c46c
N/A
https://git.kernel.org/stable/c/003049b1c4fb8aabb93febb7d1e49004f6ad653b
N/A
Hyperlink: https://git.kernel.org/stable/c/a94f096e28bfc7975163a6b80f1c8f323efe317a
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/485dc691257b96e6d3bdc25b0eff2daadcc5c46c
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/003049b1c4fb8aabb93febb7d1e49004f6ad653b
Resource: N/A
Details not found