syzbot


BUG: unable to handle kernel paging request in io_schedule

Status: auto-obsoleted due to no activity on 2025/07/08 13:29
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+b43febb4dbd338b56739@syzkaller.appspotmail.com
First crash: 140d, last: 107d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs3?] BUG: unable to handle kernel paging request in io_schedule 0 (1) 2025/03/01 07:59
Last patch testing requests (6)
Created Duration User Patch Repo Result
2025/05/20 16:36 20m retest repro upstream OK log
2025/05/20 16:08 20m retest repro upstream OK log
2025/05/20 15:38 20m retest repro upstream OK log
2025/03/11 15:18 15m retest repro upstream report log
2025/03/11 15:18 18m retest repro upstream report log
2025/03/11 15:18 19m retest repro upstream report log

Sample crash report:
loop0: detected capacity change from 0 to 4096
=======================================================
WARNING: The mand mount option has been deprecated and
         and is ignored by this kernel. Remove the mand
         option from the mount to silence this warning.
=======================================================
ntfs3(loop0): Different NTFS sector size (2048) and media sector size (512).
netlink: 4 bytes leftover after parsing attributes in process `syz.0.0'.
overlayfs: upper fs does not support tmpfile.
overlayfs: upper fs does not support RENAME_WHITEOUT.
BUG: unable to handle page fault for address: ffffed1103e82539
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 5ffcd067 P4D 5ffcd067 PUD 0 
Oops: Oops: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5321 Comm: syz.0.0 Not tainted 6.14.0-syzkaller-10167-g93d52288679e #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:io_schedule_finish kernel/sched/core.c:7717 [inline]
RIP: 0010:io_schedule+0x8d/0x110 kernel/sched/core.c:7743
Code: 42 80 3c 38 00 74 08 48 89 df e8 5e a5 fd f5 48 8b 3b 48 85 ff 74 0a be 01 00 00 00 e8 0c 42 b1 f8 41 83 e5 08 e8 33 f3 ff ff <43> 0f b6 04 3c 84 c0 75 59 41 8b 06 83 e0 f7 41 0f b7 cd 09 c1 66
RSP: 0018:ffffc9000d22e378 EFLAGS: 00010246
RAX: 0000000000400140 RBX: ffff88801f4136c8 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8ca15b20 RDI: 0000000000000001
RBP: 0000000000000008 R08: ffffffff905f2777 R09: 1ffffffff20be4ee
R10: dffffc0000000000 R11: fffffbfff20be4ef R12: 1ffff11003e8253a
R13: 0000000000000000 R14: ffff88801f4129d0 R15: dffffc00ffffffff
FS:  00007ff3013586c0(0000) GS:ffff88808c5b7000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed1103e82539 CR3: 000000003a82e000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:247
 __wait_on_bit+0xb0/0x300 kernel/sched/wait_bit.c:49
 out_of_line_wait_on_bit+0x1e0/0x280 kernel/sched/wait_bit.c:64
 wait_on_bit_io include/linux/wait_bit.h:105 [inline]
 __wait_on_buffer fs/buffer.c:123 [inline]
 wait_on_buffer include/linux/buffer_head.h:413 [inline]
 __sync_dirty_buffer+0x2f7/0x390 fs/buffer.c:2846
 ntfs_write_bh+0x5fe/0x7c0 fs/ntfs3/fsntfs.c:1485
 mi_write+0x9b/0x1e0 fs/ntfs3/record.c:402
 indx_update_dup+0x691/0x860 fs/ntfs3/index.c:2697
 ni_update_parent+0xa1a/0xdd0 fs/ntfs3/frecord.c:3230
 ni_write_inode+0xe7a/0x1110 fs/ntfs3/frecord.c:3321
 write_inode fs/fs-writeback.c:1525 [inline]
 __writeback_single_inode+0x708/0x10d0 fs/fs-writeback.c:1745
 writeback_single_inode+0x1f3/0x660 fs/fs-writeback.c:1801
 sync_inode_metadata+0xc6/0x120 fs/fs-writeback.c:2883
 __generic_file_fsync+0x134/0x1a0 fs/libfs.c:1536
 generic_file_fsync+0x70/0xf0 fs/libfs.c:1566
 ovl_sync_file+0x3a/0x50 fs/overlayfs/copy_up.c:254
 ovl_copy_up_metadata+0xac5/0xef0 fs/overlayfs/copy_up.c:724
 ovl_copy_up_workdir fs/overlayfs/copy_up.c:816 [inline]
 ovl_do_copy_up fs/overlayfs/copy_up.c:1001 [inline]
 ovl_copy_up_one fs/overlayfs/copy_up.c:1202 [inline]
 ovl_copy_up_flags+0x2460/0x47f0 fs/overlayfs/copy_up.c:1257
 ovl_open+0x14f/0x320 fs/overlayfs/file.c:211
 do_dentry_open+0xdec/0x1960 fs/open.c:956
 vfs_open+0x3b/0x370 fs/open.c:1086
 do_open fs/namei.c:3845 [inline]
 path_openat+0x2caf/0x35d0 fs/namei.c:4004
 do_filp_open+0x284/0x4e0 fs/namei.c:4031
 do_sys_openat2+0x12b/0x1d0 fs/open.c:1429
 do_sys_open fs/open.c:1444 [inline]
 __do_sys_open fs/open.c:1452 [inline]
 __se_sys_open fs/open.c:1448 [inline]
 __x64_sys_open+0x226/0x280 fs/open.c:1448
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff30058d169
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ff301358038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007ff3007a5fa0 RCX: 00007ff30058d169
RDX: 0000000000000000 RSI: 0000000000042082 RDI: 0000200000000040
RBP: 00007ff30060e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff3007a5fa0 R15: 00007fffc8b31a58
 </TASK>
Modules linked in:
CR2: ffffed1103e82539
---[ end trace 0000000000000000 ]---
RIP: 0010:io_schedule_finish kernel/sched/core.c:7717 [inline]
RIP: 0010:io_schedule+0x8d/0x110 kernel/sched/core.c:7743
Code: 42 80 3c 38 00 74 08 48 89 df e8 5e a5 fd f5 48 8b 3b 48 85 ff 74 0a be 01 00 00 00 e8 0c 42 b1 f8 41 83 e5 08 e8 33 f3 ff ff <43> 0f b6 04 3c 84 c0 75 59 41 8b 06 83 e0 f7 41 0f b7 cd 09 c1 66
RSP: 0018:ffffc9000d22e378 EFLAGS: 00010246
RAX: 0000000000400140 RBX: ffff88801f4136c8 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8ca15b20 RDI: 0000000000000001
RBP: 0000000000000008 R08: ffffffff905f2777 R09: 1ffffffff20be4ee
R10: dffffc0000000000 R11: fffffbfff20be4ef R12: 1ffff11003e8253a
R13: 0000000000000000 R14: ffff88801f4129d0 R15: dffffc00ffffffff
FS:  00007ff3013586c0(0000) GS:ffff88808c5b7000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed1103e82539 CR3: 000000003a82e000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	42 80 3c 38 00       	cmpb   $0x0,(%rax,%r15,1)
   5:	74 08                	je     0xf
   7:	48 89 df             	mov    %rbx,%rdi
   a:	e8 5e a5 fd f5       	call   0xf5fda56d
   f:	48 8b 3b             	mov    (%rbx),%rdi
  12:	48 85 ff             	test   %rdi,%rdi
  15:	74 0a                	je     0x21
  17:	be 01 00 00 00       	mov    $0x1,%esi
  1c:	e8 0c 42 b1 f8       	call   0xf8b1422d
  21:	41 83 e5 08          	and    $0x8,%r13d
  25:	e8 33 f3 ff ff       	call   0xfffff35d
* 2a:	43 0f b6 04 3c       	movzbl (%r12,%r15,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	75 59                	jne    0x8c
  33:	41 8b 06             	mov    (%r14),%eax
  36:	83 e0 f7             	and    $0xfffffff7,%eax
  39:	41 0f b7 cd          	movzwl %r13w,%ecx
  3d:	09 c1                	or     %eax,%ecx
  3f:	66                   	data16

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/30 13:29 upstream 93d52288679e d3999433 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in io_schedule
2025/03/30 12:17 upstream 93d52288679e d3999433 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in io_schedule
2025/02/25 14:39 upstream d082ecbc71e9 d34966d1 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in io_schedule
2025/02/25 11:04 upstream d082ecbc71e9 d34966d1 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in io_schedule
2025/02/25 09:44 upstream d082ecbc71e9 d34966d1 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in io_schedule
2025/02/25 07:57 upstream d082ecbc71e9 d34966d1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in io_schedule
* Struck through repros no longer work on HEAD.