syzbot
BUG: unable to handle kernel paging request in snapshot_merge_next_chunks
Status:
upstream: reported C repro on 2026/11/21 02:15
Reported-by: syzbot+3801f2812e84ad3529ef@syzkaller.appspotmail.com
First crash: 14d, last: 1d10h
Sample crash report:
BUG: unable to handle page fault for address: fffffffffffffffc
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 7012067 P4D 7012067 PUD 7014067 PMD 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 305 Comm: syz-executor252 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:snapshot_merge_next_chunks+0x26c/0xca0 drivers/md/dm-snap.c:1056
Code: 83 c3 38 48 89 d8 48 c1 e8 03 80 3c 08 00 74 08 48 89 df e8 36 2d 2a fe 4c 89 ff 4c 89 e6 4c 89 ea 4c 8b 1b 41 ba 5d d2 f4 ae <45> 03 53 fc 74 02 0f 0b 41 ff d3 89 c3 bf 01 00 00 00 89 c6 e8 5b
RSP: 0018:ffffc90000d578a0 EFLAGS: 00010246
RAX: 1ffffffff0ec86cf RBX: ffffffff87643678 RCX: dffffc0000000000
RDX: ffffc90000d57940 RSI: ffffc90000d57920 RDI: ffff88810eff7800
RBP: ffffc90000d57a90 R08: ffff88810e704dbf R09: 1ffff11021ce09b7
R10: 00000000aef4d25d R11: 0000000000000000 R12: ffffc90000d57920
R13: ffffc90000d57940 R14: ffff88810e704db8 R15: ffff88810eff7800
FS: 0000555579c7f3c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffffc CR3: 0000000121a1a000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
start_merge drivers/md/dm-snap.c:1166 [inline]
snapshot_merge_resume+0x252/0x2a0 drivers/md/dm-snap.c:2309
dm_table_resume_targets+0x243/0x380 drivers/md/dm-table.c:2189
__dm_resume+0x25/0x1b0 drivers/md/dm.c:2822
dm_resume+0x166/0x1e0 drivers/md/dm.c:2867
do_resume drivers/md/dm-ioctl.c:1199 [inline]
dev_suspend+0x3fb/0x700 drivers/md/dm-ioctl.c:1231
ctl_ioctl drivers/md/dm-ioctl.c:2040 [inline]
dm_ctl_ioctl+0x95f/0xd00 drivers/md/dm-ioctl.c:2062
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0x12f/0x1b0 fs/ioctl.c:856
__x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856
x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17
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:0x7f37a2a3d0b9
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 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 d8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffed6074a28 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000003631 RCX: 00007f37a2a3d0b9
RDX: 0000200000000680 RSI: 00000000c138fd06 RDI: 0000000000000004
RBP: 0000000000000001 R08: 00007ffed6074b58 R09: 00007ffed6074b58
R10: 00007ffed6074b58 R11: 0000000000000246 R12: 00007ffed6074b48
R13: 0000000000000002 R14: 00007f37a2acdca0 R15: 0000000000000002
</TASK>
Modules linked in:
CR2: fffffffffffffffc
---[ end trace 0000000000000000 ]---
RIP: 0010:snapshot_merge_next_chunks+0x26c/0xca0 drivers/md/dm-snap.c:1056
Code: 83 c3 38 48 89 d8 48 c1 e8 03 80 3c 08 00 74 08 48 89 df e8 36 2d 2a fe 4c 89 ff 4c 89 e6 4c 89 ea 4c 8b 1b 41 ba 5d d2 f4 ae <45> 03 53 fc 74 02 0f 0b 41 ff d3 89 c3 bf 01 00 00 00 89 c6 e8 5b
RSP: 0018:ffffc90000d578a0 EFLAGS: 00010246
RAX: 1ffffffff0ec86cf RBX: ffffffff87643678 RCX: dffffc0000000000
RDX: ffffc90000d57940 RSI: ffffc90000d57920 RDI: ffff88810eff7800
RBP: ffffc90000d57a90 R08: ffff88810e704dbf R09: 1ffff11021ce09b7
R10: 00000000aef4d25d R11: 0000000000000000 R12: ffffc90000d57920
R13: ffffc90000d57940 R14: ffff88810e704db8 R15: ffff88810eff7800
FS: 0000555579c7f3c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffffc CR3: 0000000121a1a000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 83 c3 38 add $0x38,%ebx
3: 48 89 d8 mov %rbx,%rax
6: 48 c1 e8 03 shr $0x3,%rax
a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1)
e: 74 08 je 0x18
10: 48 89 df mov %rbx,%rdi
13: e8 36 2d 2a fe call 0xfe2a2d4e
18: 4c 89 ff mov %r15,%rdi
1b: 4c 89 e6 mov %r12,%rsi
1e: 4c 89 ea mov %r13,%rdx
21: 4c 8b 1b mov (%rbx),%r11
24: 41 ba 5d d2 f4 ae mov $0xaef4d25d,%r10d
* 2a: 45 03 53 fc add -0x4(%r11),%r10d <-- trapping instruction
2e: 74 02 je 0x32
30: 0f 0b ud2
32: 41 ff d3 call *%r11
35: 89 c3 mov %eax,%ebx
37: bf 01 00 00 00 mov $0x1,%edi
3c: 89 c6 mov %eax,%esi
3e: e8 .byte 0xe8
3f: 5b pop %rbx
* Struck through repros no longer work on HEAD.