syzbot


BUG: unable to handle kernel paging request in step_into

Status: upstream: reported C repro on 2023/01/04 08:32
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+0994679b6f098bb3da6d@syzkaller.appspotmail.com
First crash: 510d, last: 139d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: fixed by (bisect log) :
commit 6f861765464f43a71462d52026fbddfc858239a5
Author: Jan Kara <jack@suse.cz>
Date: Wed Nov 1 17:43:10 2023 +0000

  fs: Block writes to mounted block devices

  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs?] BUG: unable to handle kernel paging request in step_into 1 (3) 2024/02/14 09:45
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 general protection fault in step_into origin:lts-only C 20 11d 41d 0/3 upstream: reported C repro on 2024/04/13 08:21
android-5-10 general protection fault in step_into C done 156 5d17h 376d 0/2 upstream: reported C repro on 2023/05/14 14:12
linux-6.1 KASAN: null-ptr-deref Read in step_into origin:lts-only C inconclusive 16 11d 48d 0/3 upstream: reported C repro on 2024/04/06 11:08
android-5-15 general protection fault in step_into origin:downstream C done 68 8d11h 376d 0/2 upstream: reported C repro on 2023/05/14 14:01
android-6-1 general protection fault in step_into origin:downstream C done 65 19d 376d 0/2 upstream: reported C repro on 2023/05/14 14:12
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/03/16 14:00 22m retest repro upstream error OK
2024/03/02 04:51 33m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/01/29 06:14 18m retest repro upstream OK log
2024/01/23 08:47 35m retest repro upstream OK log
2024/01/06 00:28 15m retest repro upstream report log
2023/12/22 10:52 19m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/11/20 01:03 11m retest repro upstream report log
2023/10/06 04:31 15m retest repro upstream report log
2023/09/19 02:25 14m retest repro upstream report log
2023/09/04 22:27 9m retest repro upstream report log
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2024/02/13 13:46 4h54m bisect fix upstream job log (1)
2023/11/05 22:40 1h35m bisect fix upstream job log (0) log
2023/07/28 01:32 2h48m bisect fix upstream job log (0) log
2023/06/03 00:00 55m bisect fix upstream job log (0) log
2023/05/03 22:44 1h08m bisect fix upstream job log (0) log
2023/04/03 20:11 54m bisect fix upstream job log (0) log
2023/03/04 17:56 46m bisect fix upstream job log (0) log
2023/02/02 16:46 46m bisect fix upstream job log (0) log

Sample crash report:
ntfs: (device loop0): check_windows_hibernation_status(): Failed to find inode number for hiberfil.sys.
ntfs: (device loop0): load_system_files(): Failed to determine if Windows is hibernated.  Will not be able to remount read-write.  Run chkdsk.
ntfs: (device loop0): ntfs_lookup(): ntfs_lookup_ino_by_name() failed with error code 83886016.
BUG: unable to handle page fault for address: fffffbffff600008
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 23ffe4067 P4D 23ffe4067 PUD 23ffe3067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 4997 Comm: syz-executor689 Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
RIP: 0010:traverse_mounts fs/namei.c:1431 [inline]
RIP: 0010:handle_mounts fs/namei.c:1543 [inline]
RIP: 0010:step_into+0x1c8/0x1080 fs/namei.c:1836
Code: c0 0f 85 b4 0b 00 00 44 8b 3b 43 80 3c 34 00 74 0a 48 8b 7c 24 10 e8 d7 17 ec ff 48 8b 9c 24 d8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 a1 0b 00 00 8b 1b 89 de 81 e6 00 00 07
RSP: 0018:ffffc90003b5f680 EFLAGS: 00010a02
RAX: 1fffffffff600008 RBX: fffffffffb000040 RCX: ffff88802c701dc0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003b5f7e0 R08: ffffffff81f73fbd R09: ffffed100eae18c1
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200076beeb
R13: ffffc90003b5fba0 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000555556631300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffbffff600008 CR3: 0000000027ca1000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 lookup_last fs/namei.c:2455 [inline]
 path_lookupat+0x16f/0x450 fs/namei.c:2479
 do_o_path+0x95/0x230 fs/namei.c:3762
 path_openat+0x29f0/0x3170 fs/namei.c:3784
 do_filp_open+0x234/0x490 fs/namei.c:3818
 do_sys_openat2+0x13f/0x500 fs/open.c:1356
 do_sys_open fs/open.c:1372 [inline]
 __do_sys_open fs/open.c:1380 [inline]
 __se_sys_open fs/open.c:1376 [inline]
 __x64_sys_open+0x225/0x270 fs/open.c:1376
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe9dcb4bc69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 00 00 90 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff052dab88 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007fe9dcb4bc69
RDX: 0000000000000000 RSI: 0000000001ee0000 RDI: 0000000020000340
RBP: 00007fe9dcb0b270 R08: 00007fff052daa60 R09: 0000000000000000
R10: 00007fff052daa50 R11: 0000000000000246 R12: 00007fe9dcb0b300
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
Modules linked in:
CR2: fffffbffff600008
---[ end trace 0000000000000000 ]---
RIP: 0010:traverse_mounts fs/namei.c:1431 [inline]
RIP: 0010:handle_mounts fs/namei.c:1543 [inline]
RIP: 0010:step_into+0x1c8/0x1080 fs/namei.c:1836
Code: c0 0f 85 b4 0b 00 00 44 8b 3b 43 80 3c 34 00 74 0a 48 8b 7c 24 10 e8 d7 17 ec ff 48 8b 9c 24 d8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 a1 0b 00 00 8b 1b 89 de 81 e6 00 00 07
RSP: 0018:ffffc90003b5f680 EFLAGS: 00010a02
RAX: 1fffffffff600008 RBX: fffffffffb000040 RCX: ffff88802c701dc0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003b5f7e0 R08: ffffffff81f73fbd R09: ffffed100eae18c1
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200076beeb
R13: ffffc90003b5fba0 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000555556631300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffbffff600008 CR3: 0000000027ca1000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	c0 0f 85             	rorb   $0x85,(%rdi)
   3:	b4 0b                	mov    $0xb,%ah
   5:	00 00                	add    %al,(%rax)
   7:	44 8b 3b             	mov    (%rbx),%r15d
   a:	43 80 3c 34 00       	cmpb   $0x0,(%r12,%r14,1)
   f:	74 0a                	je     0x1b
  11:	48 8b 7c 24 10       	mov    0x10(%rsp),%rdi
  16:	e8 d7 17 ec ff       	callq  0xffec17f2
  1b:	48 8b 9c 24 d8 00 00 	mov    0xd8(%rsp),%rbx
  22:	00
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 30       	movzbl (%rax,%r14,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 a1 0b 00 00    	jne    0xbd8
  37:	8b 1b                	mov    (%rbx),%ebx
  39:	89 de                	mov    %ebx,%esi
  3b:	81                   	.byte 0x81
  3c:	e6 00                	out    %al,$0x0
  3e:	00 07                	add    %al,(%rdi)

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/22 17:41 upstream dad9774deaf1 09ffe269 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root BUG: unable to handle kernel paging request in step_into
2023/08/21 21:30 upstream f7757129e3de 6b415825 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root BUG: unable to handle kernel paging request in step_into
2022/12/31 08:20 upstream bff687b3dad6 ab32d508 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs BUG: unable to handle kernel paging request in step_into
2023/12/08 10:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d46efae31672 28b24332 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 KASAN: null-ptr-deref Read in step_into
2023/12/08 10:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d46efae31672 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 KASAN: null-ptr-deref Read in step_into
* Struck through repros no longer work on HEAD.