WARNING in cache_resume

Status: upstream: reported C repro on 2026/10/29 10:19
Reported-by: syzbot+44dd490fbd7e872da1fd@syzkaller.appspotmail.com
First crash: 15d, last: 14d
▶ ▼ Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 WARNING in cache_resume -1 2 15d 16d 0/2 upstream: reported on 2026/10/28 02:04
linux-6.1 WARNING in cache_resume -1 3 14d 21d 0/3 upstream: reported on 2026/10/23 06:50

Sample crash report:
------------[ cut here ]------------
DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x1, magic = 0xffff888021a483b0, owner = 0xffff88802ccc8000, curr 0xffff888020421dc0, list empty
WARNING: CPU: 1 PID: 4429 at kernel/locking/rwsem.c:1350 __up_write kernel/locking/rwsem.c:1349 [inline]
WARNING: CPU: 1 PID: 4429 at kernel/locking/rwsem.c:1350 up_write+0x397/0x410 kernel/locking/rwsem.c:1604
Modules linked in:

CPU: 1 PID: 4429 Comm: syz.1.22 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:__up_write kernel/locking/rwsem.c:1349 [inline]
RIP: 0010:up_write+0x397/0x410 kernel/locking/rwsem.c:1604
Code: 4c 0f 44 d0 48 c7 c7 e0 1e 2b 8a 48 c7 c6 a0 21 2b 8a 48 8b 14 24 4c 89 f1 4d 89 e0 4d 89 f9 41 52 e8 5d 85 61 08 48 83 c4 08 <0f> 0b e9 70 fd ff ff 48 c7 c1 48 56 6d 8e 80 e1 07 80 c1 03 38 c1
RSP: 0018:ffffc900032bfad0 EFLAGS: 00010292

RAX: 79618a00f4624b00 RBX: ffff888021a483b0 RCX: ffff888020421dc0
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffff8880b8f33d7f R09: 1ffff110171e67af
R10: dffffc0000000000 R11: ffffed10171e67b0 R12: ffff88802ccc8000
R13: ffff888021a48408 R14: ffff888021a483b0 R15: ffff888020421dc0
FS:  00007f73f82736c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f73f8e9cdac CR3: 000000005c4e5000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 allow_background_work drivers/md/dm-cache-target.c:1037 [inline]
 cache_resume+0x83/0xf0 drivers/md/dm-cache-target.c:3083
 dm_table_resume_targets+0x28f/0x3f0 drivers/md/dm-table.c:2176
 __dm_resume+0x22/0x1a0 drivers/md/dm.c:2556
 dm_resume+0x226/0x2f0 drivers/md/dm.c:2601
 do_resume drivers/md/dm-ioctl.c:1194 [inline]
 dev_suspend+0x3fe/0x740 drivers/md/dm-ioctl.c:1226
 ctl_ioctl drivers/md/dm-ioctl.c:2024 [inline]
 dm_ctl_ioctl+0x947/0xd00 drivers/md/dm-ioctl.c:2046
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f73f8c14559
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:00007f73f8273028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f73f8e9afa0 RCX: 00007f73f8c14559
RDX: 00002000000004c0 RSI: 00000000c138fd06 RDI: 0000000000000005
RBP: 00007f73f8cabb20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f73f8e9b038 R14: 00007f73f8e9afa0 R15: 00007ffda9dcaa08
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/30 10:47 linux-5.15.y 792fbe1537d8 b498adee .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in cache_resume
2026/10/29 10:19 linux-5.15.y 792fbe1537d8 b1d00f76 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in cache_resume
* Struck through repros no longer work on HEAD.