CVE-2026-143027
Description
In the Linux kernel, the following vulnerability has been resolved:
dm cache: reject kcopyd client destory if it setup failed
The value of cache->copier is -EINTR when failed to create a rescuer kthread for wq kcopyd, in cache_create(), the code jumps directly to __destroy(cache), it merely performs a simple check to see whether copier is NULL, potentially hitting:
BUG: KASAN: null-ptr-deref in dm_kcopyd_client_destroy+0xae/0x480 drivers/md/dm-kcopyd.c:980 Read of size 4 at addr 0000000000000174 by task syz.2.19/6560 Call Trace: dm_kcopyd_client_destroy+0xae/0x480 drivers/md/dm-kcopyd.c:980 __destroy+0x172/0x2f0 drivers/md/dm-cache-target.c:1973 cache_create drivers/md/dm-cache-target.c:2604 [inline] cache_ctr+0x1674/0x2bf0 drivers/md/dm-cache-target.c:2649 dm_table_add_target+0x58d/0xc70 drivers/md/dm-table.c:749 populate_table drivers/md/dm-ioctl.c:1602 [inline] table_load+0x325/0x8a0 drivers/md/dm-ioctl.c:1645 ctl_ioctl drivers/md/dm-ioctl.c:2221 [inline]
Set copier to NULL to avoid destroying a invalid kcopy client.
Affected products
1Patches
Vulnerability mechanics
References
6- git.kernel.org/stable/c/308bde4052bc7167b2e00d347990284a5c8f753envd
- git.kernel.org/stable/c/56e8c6075385425e1574c267a6872d382d7b4756nvd
- git.kernel.org/stable/c/7b6ac795e9eb57adbd408cfbb4db3b17047b83c0nvd
- git.kernel.org/stable/c/8b97b168eb4d3affcf23d2980a0c3f35ed9262e2nvd
- git.kernel.org/stable/c/f98c4c79e505cef57d0f37e8f27a8a062914321fnvd
- git.kernel.org/stable/c/fff4550558441274d0d5fb5c5d2cd0e2f27ced40nvd
News mentions
0No linked articles in our index yet.