syzbot
WARNING in cache_resume
Status:
upstream: reported on 2026/10/23 06:50
Reported-by: syzbot+712cc4b6f28381766222@syzkaller.appspotmail.com
First crash: 21d, last: 14d
Sample crash report:
------------[ cut here ]------------
DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x1, magic = 0xffff88805674e3b0, owner = 0xffff8880288d8000, curr 0xffff8880592a9e00, list empty
WARNING: CPU: 1 PID: 12222 at kernel/locking/rwsem.c:1372 __up_write kernel/locking/rwsem.c:1371 [inline]
WARNING: CPU: 1 PID: 12222 at kernel/locking/rwsem.c:1372 up_write+0x397/0x410 kernel/locking/rwsem.c:1626
Modules linked in:
CPU: 1 PID: 12222 Comm: syz.1.2526 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
RIP: 0010:__up_write kernel/locking/rwsem.c:1371 [inline]
RIP: 0010:up_write+0x397/0x410 kernel/locking/rwsem.c:1626
Code: 4c 0f 44 d0 48 c7 c7 20 0d ac 8a 48 c7 c6 60 0f ac 8a 48 8b 14 24 4c 89 f1 4d 89 e0 4d 89 f9 41 52 e8 8d 4a ea ff 48 83 c4 08 <0f> 0b e9 70 fd ff ff 48 c7 c1 a8 14 23 8f 80 e1 07 80 c1 03 38 c1
RSP: 0000:ffffc9000ff7fac0 EFLAGS: 00010296
RAX: a84336c907146700 RBX: ffff88805674e3b0 RCX: 0000000000080000
RDX: ffffc90005871000 RSI: 0000000000011aec RDI: 0000000000011aed
RBP: dffffc0000000000 R08: ffffc9000ff7f7c7 R09: 1ffff92001fefef8
R10: dffffc0000000000 R11: fffff52001fefef9 R12: ffff8880288d8000
R13: ffff88805674e408 R14: ffff88805674e3b0 R15: ffff8880592a9e00
FS: 00007f79e3e7b6c0(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6d029556c8 CR3: 0000000059191000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
allow_background_work drivers/md/dm-cache-target.c:1033 [inline]
cache_resume+0x83/0xf0 drivers/md/dm-cache-target.c:3107
dm_table_resume_targets+0x27a/0x3d0 drivers/md/dm-table.c:2146
__dm_resume+0x22/0x1b0 drivers/md/dm.c:2826
dm_resume+0x21b/0x2e0 drivers/md/dm.c:2871
do_resume drivers/md/dm-ioctl.c:1209 [inline]
dev_suspend+0x3ba/0x700 drivers/md/dm-ioctl.c:1241
ctl_ioctl drivers/md/dm-ioctl.c:2055 [inline]
dm_ctl_ioctl+0xa9c/0xec0 drivers/md/dm-ioctl.c:2077
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f79e2f9f559
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f79e3e7b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f79e3225fa0 RCX: 00007f79e2f9f559
RDX: 0000200000000480 RSI: 00000000c138fd06 RDI: 0000000000000003
RBP: 00007f79e3036b20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f79e3226038 R14: 00007f79e3225fa0 R15: 00007ffd20f95c58
</TASK>
* Struck through repros no longer work on HEAD.