syzbot


BUG: unable to handle kernel paging request in step_into

Status: auto-obsoleted due to no activity on 2024/05/25 15:27
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+0994679b6f098bb3da6d@syzkaller.appspotmail.com
First crash: 574d, last: 203d
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 done 24 12d 105d 0/3 upstream: reported C repro on 2024/04/13 08:21
android-5-10 general protection fault in step_into C done 165 6d06h 439d 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 18 51d 111d 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 75 6d21h 439d 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 69 1d14h 439d 0/2 upstream: reported C repro on 2023/05/14 14:12
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/05/25 14:55 31m retest repro upstream OK log
2024/03/16 14:00 22m retest repro upstream error
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
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2024/02/13 13:46 4h54m bisect fix upstream OK (1) job log
2023/11/05 22:40 1h35m bisect fix upstream OK (0) job log log
2023/07/28 01:32 2h48m bisect fix upstream OK (0) job log log
2023/06/03 00:00 55m bisect fix upstream OK (0) job log log
2023/05/03 22:44 1h08m bisect fix upstream OK (0) job log log
2023/04/03 20:11 54m bisect fix upstream OK (0) job log log
2023/03/04 17:56 46m bisect fix upstream OK (0) job log log
2023/02/02 16:46 46m bisect fix upstream OK (0) job log log

Sample crash report:
ntfs: (device loop0): ntfs_lookup_inode_by_name(): Index entry out of bounds in directory inode 0x5.
ntfs: (device loop0): check_windows_hibernation_status(): Failed to find inode number for hiberfil.sys.
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: 5018 Comm: syz-executor275 Not tainted 6.5.0-rc7-syzkaller-00004-gf7757129e3de #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:traverse_mounts fs/namei.c:1431 [inline]
RIP: 0010:handle_mounts fs/namei.c:1543 [inline]
RIP: 0010:step_into+0x57d/0x2230 fs/namei.c:1836
Code: 45 98 44 8b 63 38 48 89 85 48 ff ff ff e8 7b 07 9a ff 48 8b 8d 48 ff ff ff 48 b8 00 00 00 00 00 fc ff df 48 89 ca 48 c1 ea 03 <0f> b6 14 02 48 89 c8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 70
RSP: 0018:ffffc9000336f960 EFLAGS: 00010a02
RAX: dffffc0000000000 RBX: ffffc9000336fc50 RCX: fffffffffb000040
RDX: 1fffffffff600008 RSI: ffffffff81eb1945 RDI: 0000000000000005
RBP: ffffc9000336fa60 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff8a40008b R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffff888018e531e0
FS:  00005555562a6380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffbffff600008 CR3: 00000000282e1000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 walk_component+0xfc/0x5a0 fs/namei.c:2004
 lookup_last fs/namei.c:2455 [inline]
 path_lookupat+0x17f/0x770 fs/namei.c:2479
 do_o_path fs/namei.c:3764 [inline]
 path_openat+0x1a4d/0x29c0 fs/namei.c:3786
 do_filp_open+0x1de/0x430 fs/namei.c:3820
 do_sys_openat2+0x176/0x1e0 fs/open.c:1407
 do_sys_open fs/open.c:1422 [inline]
 __do_sys_open fs/open.c:1430 [inline]
 __se_sys_open fs/open.c:1426 [inline]
 __x64_sys_open+0x154/0x1e0 fs/open.c:1426
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f07c63a2a79
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffedbb55d98 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f07c63eb04b RCX: 00007f07c63a2a79
RDX: 0000000000000000 RSI: 0000000001ee0000 RDI: 0000000020000340
RBP: 0030656c69662f2e R08: 000000000001ee38 R09: 0000000000000000
R10: 00007ffedbb55c60 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffedbb55f78 R14: 0000000000000001 R15: 0000000000000001
 </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+0x57d/0x2230 fs/namei.c:1836
Code: 45 98 44 8b 63 38 48 89 85 48 ff ff ff e8 7b 07 9a ff 48 8b 8d 48 ff ff ff 48 b8 00 00 00 00 00 fc ff df 48 89 ca 48 c1 ea 03 <0f> b6 14 02 48 89 c8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 70
RSP: 0018:ffffc9000336f960 EFLAGS: 00010a02
RAX: dffffc0000000000 RBX: ffffc9000336fc50 RCX: fffffffffb000040
RDX: 1fffffffff600008 RSI: ffffffff81eb1945 RDI: 0000000000000005
RBP: ffffc9000336fa60 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff8a40008b R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffff888018e531e0
FS:  00005555562a6380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffbffff600008 CR3: 00000000282e1000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	45 98                	rex.RB cwtl
   2:	44 8b 63 38          	mov    0x38(%rbx),%r12d
   6:	48 89 85 48 ff ff ff 	mov    %rax,-0xb8(%rbp)
   d:	e8 7b 07 9a ff       	call   0xff9a078d
  12:	48 8b 8d 48 ff ff ff 	mov    -0xb8(%rbp),%rcx
  19:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  20:	fc ff df
  23:	48 89 ca             	mov    %rcx,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	0f b6 14 02          	movzbl (%rdx,%rax,1),%edx <-- trapping instruction
  2e:	48 89 c8             	mov    %rcx,%rax
  31:	83 e0 07             	and    $0x7,%eax
  34:	83 c0 03             	add    $0x3,%eax
  37:	38 d0                	cmp    %dl,%al
  39:	7c 08                	jl     0x43
  3b:	84 d2                	test   %dl,%dl
  3d:	0f                   	.byte 0xf
  3e:	85                   	.byte 0x85
  3f:	70                   	.byte 0x70

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
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
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.