CVE-2026-143014
not scored yetdm-crypt: defer async write submission to write thread
In the Linux kernel, the following vulnerability has been resolved:
dm-crypt: defer async write submission to write thread
With no_write_workqueue, kcryptd_crypt_write_io_submit() submits the
bio directly, even when called from kcryptd_async_done(). An async
cipher may run this callback in softirq or with BH disabled, where
submit_bio_noacct() 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 submit_from_crypt_cpus. Use
the async flag rather than in_interrupt(), since callback context
depends on the cipher driver. Sync ciphers still submit inline.
Tested with cryptd in QEMU (x86_64 and arm64) with
CONFIG_DEBUG_ATOMIC_SLEEP, 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. - nr_requests=4 on a loop device: 0/6 unpatched runs completed,
4/4 patched runs completed.
On the P2020, a warning in blk_mq_run_hw_queue() appeared in the
6th unpatched run and did not appear in 30 patched runs.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 39d42fa96ba1b7d2544db3f8ed5da8fb0d5cb877, < 6eef2b2b0f6f8ea5b2988f932ad7fe2c279a85de; >= 39d42fa96ba1b7d2544db3f8ed5da8fb0d5cb877, < b21d25b0046d180095aecfa03b9805f38aae1d0a; >= 39d42fa96ba1b7d2544db3f8ed5da8fb0d5cb877, < 5d8858b8e0daf9323caa88e7093fdf97bad5673c; >= 39d42fa96ba1b7d2544db3f8ed5da8fb0d5cb877, < 6fed9e26810f0b466dbcebe35a73d1fd48793ff5 | 6eef2b2b0f6f8ea5b2988f932ad7fe2c279a85de, b21d25b0046d180095aecfa03b9805f38aae1d0a, 5d8858b8e0daf9323caa88e7093fdf97bad5673c, 6fed9e26810f0b466dbcebe35a73d1fd48793ff5 |
| CVE List | Linux | Linux | = 5.9 |
References
- https://git.kernel.org/stable/c/5d8858b8e0daf9323caa88e7093fdf97bad5673c
- https://git.kernel.org/stable/c/6eef2b2b0f6f8ea5b2988f932ad7fe2c279a85de
- https://git.kernel.org/stable/c/6fed9e26810f0b466dbcebe35a73d1fd48793ff5
- https://git.kernel.org/stable/c/b21d25b0046d180095aecfa03b9805f38aae1d0a
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:07 UTC · CVE List: first stored (published 3 Dec 2026)