AZL-118262: CVE-2026-143173 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

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

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

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

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

freeioctxreqs() exitaio() atomicdecandtest() // 1 -> 0 atomicsubandtest(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 exitaio() itself. Then the last count is always dropped by exitaio() after it waited, or by a callback while exitaio() waits for it. An unprivileged user gets there with four iosetup() calls and an exit without iodestroy().

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Dec 3, 2026
Advisory Published
via OSV·10:17 AM
Data Sourced
via OSV·10:17 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who can exploit this issue?

An unprivileged local user can reach the vulnerable path. The description indicates this can be triggered with four io_setup() calls.

2

What condition makes the race possible?

The race occurs when exit_aio() has been off-CPU long enough for the final RCU callback to decrement the count but not yet call complete(). exit_aio() can then free its stack-backed wait structure before the callback writes to it.

3

Is remote exploitation indicated?

No remote attack path is described. The provided information identifies an unprivileged user reaching the issue through aio io_setup() calls.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203