AZL-117935: CVE-2026-143014 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
dm-crypt: defer async write submission to write thread
With nowriteworkqueue, kcryptdcryptwriteiosubmit() submits the bio directly, even when called from kcryptdasyncdone(). An async cipher may run this callback in softirq or with BH disabled, where submitbionoacct() must not be called because it can sleep.
Submit inline only when async is false. Async completions are sent to the write thread, as is already done for submitfromcryptcpus. Use the async flag rather than ininterrupt(), since callback context depends on the cipher driver. Sync ciphers still submit inline.
Tested with cryptd in QEMU (x8664 and arm64) with CONFIGDEBUGATOMICSLEEP, and on a P2020 running 6.18.55 without it.
In QEMU:
- 4k writes logging "sleeping function called from invalid context": 100/100 unpatched, 0/155 patched. - nrrequests=4 on a loop device: 0/6 unpatched runs completed, 4/4 patched runs completed.
On the P2020, a warning in blkmqrunhwqueue() appeared in the 6th unpatched run and did not appear in 30 patched runs.
Affected Software
Event History
Frequently Asked Questions
Which systems are most likely to be exposed to this issue?
Systems using dm-crypt with no_write_workqueue enabled and an asynchronous cipher are exposed to the unsafe submission path. Synchronous ciphers still submit inline and are not described as using the affected asynchronous completion path.
What conditions are required to trigger the problem?
An asynchronous cipher completion must invoke kcryptd_async_done() in a softirq or bottom-half-disabled context while no_write_workqueue causes the write bio to be submitted directly. In that context, submit_bio_noacct() may sleep, which is not permitted.
How can administrators look for signs of this issue before updating?
The reported testing observed "sleeping function called from invalid context" during 4k writes on unpatched systems. A warning in blk_mq_run_hw_queue() was also observed during testing on an unpatched P2020 system, although absence of these warnings does not establish that the system is unaffected.