CVE-2026-143173

Not scored yetLast modified Dec 3, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

aio: don't let exit_aio() return before complete() is done

exit_aio() kills all contexts in one go and waits for them with a single on-stack struct ctx_rq_wait. The count starts at table->nr, each killed context drops one count in free_ioctx_reqs() and exit_aio() subtracts the empty slots afterwards. Whoever drops the last count either calls complete() or, if it is exit_aio(), skips the wait.

With a full table skipped is zero and atomic_sub_and_test(0, ...) only tells us whether the count already hit zero. free_ioctx_reqs() runs from the percpu_ref RCU callback, so if exit_aio() is off the CPU long enough the last callback can have done its atomic_dec_and_test() but not yet called complete():

free_ioctx_reqs() exit_aio() atomic_dec_and_test() // 1 -> 0 atomic_sub_and_test(0) // true kfree(table) return complete(&wait.comp)

complete() then locks and writes a completion on a stack frame that is gone. So hold an extra count for exit_aio() itself. Then the last count is always dropped by exit_aio() after it waited, or by a callback while exit_aio() waits for it. An unprivileged user gets there with four io_setup() calls and an exit without io_destroy().

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143174In the Linux kernel, the following vulnerability has been resolved: eventpoll: wake the next waiter when a woken waiter is killed ProcesseCVE-2026-143175In the Linux kernel, the following vulnerability has been resolved: pidfd: restrict task access ioctls to the caller's pid namespace pidfdCVE-2026-143176In the Linux kernel, the following vulnerability has been resolved: errseq: don't let errseq_check_and_advance() hide later errors errseq_CVE-2026-143177In the Linux kernel, the following vulnerability has been resolved: memstick: core: don't clear dev->driver in memstick_device_remove() meCVE-2026-143178In the Linux kernel, the following vulnerability has been resolved: mmc: meson-gx: report busy from DAT0 alone meson_mmc_card_busy() reporCVE-2026-143179In the Linux kernel, the following vulnerability has been resolved: mmc: omap: synchronize clock timer before disabling fclk mmc_omap_seleCVE-2026-143186.8The GiveWP WordPress plugin before 4.16.3 does not escape a donation-form template setting before outputting it in an HTML attribute, allowCVE-2026-143180In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Drop capture packets with bogus actual_length retire_CVE-2026-143181In the Linux kernel, the following vulnerability has been resolved: ALSA: caiaq: Kill EP1 URB before unregistering the input device snd_diCVE-2026-143182In the Linux kernel, the following vulnerability has been resolved: KEYS: Verify the key identity in __key_unlink_begin When two keys haveCVE-2026-143183In the Linux kernel, the following vulnerability has been resolved: KEYS: Reject descriptions larger than KEY_MAX_DESC_SIZE KEY_MAX_DESC_SCVE-2026-143184In the Linux kernel, the following vulnerability has been resolved: tracing/eprobe: Install the trigger for every instance that enables the
CVE-2026-143173: Unscored | Vulnix