syzbot


general protection fault in ntfs_lookup

Status: auto-obsoleted due to no activity on 2023/02/25 08:59
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+3e567493c9db9df18d8f@syzkaller.appspotmail.com
First crash: 476d, last: 465d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs3?] general protection fault in ntfs_lookup 0 (1) 2023/01/09 06:48

Sample crash report:
=======================================================
ntfs3: loop4: Different NTFS' sector size (4096) and media sector size (512)
ntfs3: loop4: Mark volume as dirty due to NTFS errors
ntfs3: loop4: Failed to load $Extend.
general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027]
CPU: 1 PID: 8410 Comm: syz-executor.4 Not tainted 6.2.0-rc3-next-20230112-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:ntfs_lookup+0x16b/0x260 fs/ntfs3/namei.c:96
Code: ff ff e8 38 ae cd fe 48 81 fd 00 f0 ff ff 77 2b e8 5a b1 cd fe 48 8d 7d 20 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d3 00 00 00 48 83 7d 20 00 74 54 e8 2f b1 cd fe
RSP: 0018:ffffc90015d67d20 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 1ffffffff1ce7efe RCX: ffffc9000c8ba000
RDX: 0000000000000004 RSI: ffffffff82b40b86 RDI: 0000000000000020
RBP: 0000000000000000 R08: 0000000000000007 R09: fffffffffffff000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808d1fc758
R13: ffff88808ddc8000 R14: ffff888094785370 R15: ffff8880947851b8
FS:  00007f8b2d057700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556083406820 CR3: 0000000076061000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __lookup_hash+0x117/0x180 fs/namei.c:1602
 filename_create+0x1d6/0x4a0 fs/namei.c:3809
 do_mkdirat+0x9d/0x2f0 fs/namei.c:4052
 __do_sys_mkdir fs/namei.c:4082 [inline]
 __se_sys_mkdir fs/namei.c:4080 [inline]
 __x64_sys_mkdir+0xf6/0x140 fs/namei.c:4080
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f8b2c28c0c9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007f8b2d057168 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007f8b2c3abf80 RCX: 00007f8b2c28c0c9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000
RBP: 00007f8b2c2e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffecf2a1e2f R14: 00007f8b2d057300 R15: 0000000000022000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ntfs_lookup+0x16b/0x260 fs/ntfs3/namei.c:96
Code: ff ff e8 38 ae cd fe 48 81 fd 00 f0 ff ff 77 2b e8 5a b1 cd fe 48 8d 7d 20 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d3 00 00 00 48 83 7d 20 00 74 54 e8 2f b1 cd fe
RSP: 0018:ffffc90015d67d20 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 1ffffffff1ce7efe RCX: ffffc9000c8ba000
RDX: 0000000000000004 RSI: ffffffff82b40b86 RDI: 0000000000000020
RBP: 0000000000000000 R08: 0000000000000007 R09: fffffffffffff000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808d1fc758
R13: ffff88808ddc8000 R14: ffff888094785370 R15: ffff8880947851b8
FS:  00007f8b2d057700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8b2d036718 CR3: 0000000076061000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	e8 38 ae cd fe       	callq  0xfecdae3d
   5:	48 81 fd 00 f0 ff ff 	cmp    $0xfffffffffffff000,%rbp
   c:	77 2b                	ja     0x39
   e:	e8 5a b1 cd fe       	callq  0xfecdb16d
  13:	48 8d 7d 20          	lea    0x20(%rbp),%rdi
  17:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1e:	fc ff df
  21:	48 89 fa             	mov    %rdi,%rdx
  24:	48 c1 ea 03          	shr    $0x3,%rdx
* 28:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2c:	0f 85 d3 00 00 00    	jne    0x105
  32:	48 83 7d 20 00       	cmpq   $0x0,0x20(%rbp)
  37:	74 54                	je     0x8d
  39:	e8 2f b1 cd fe       	callq  0xfecdb16d

Crashes (258):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/16 08:43 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/16 07:40 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/16 05:13 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/16 03:56 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/15 23:55 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/15 21:24 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/15 18:59 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/15 16:28 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/15 14:21 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/15 13:56 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/15 10:46 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/15 08:11 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/15 05:51 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/15 01:20 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/14 22:47 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/14 21:25 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/14 20:05 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/13 23:18 linux-next 0a093b2893c7 529798b0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/13 21:28 linux-next 0a093b2893c7 529798b0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/13 11:19 linux-next 0a093b2893c7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/13 07:47 linux-next 0a093b2893c7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/13 05:12 linux-next 0a093b2893c7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/13 01:41 linux-next 0a093b2893c7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/12 23:48 linux-next 0a093b2893c7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/12 17:49 linux-next 0a093b2893c7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/12 15:57 linux-next 0a093b2893c7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/12 13:52 linux-next 0a093b2893c7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/12 13:10 linux-next 0a093b2893c7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/12 03:25 linux-next c9e9cdd8bdcc 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/12 02:19 linux-next c9e9cdd8bdcc 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/11 23:50 linux-next c9e9cdd8bdcc 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/11 22:39 linux-next c9e9cdd8bdcc 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/11 12:44 linux-next c9e9cdd8bdcc 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/11 12:28 linux-next c9e9cdd8bdcc 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/11 03:41 linux-next 435bf71af3a0 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/11 02:13 linux-next 435bf71af3a0 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/10 15:18 linux-next 435bf71af3a0 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/10 12:43 linux-next 435bf71af3a0 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/10 03:21 linux-next 543b9b2fe10b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/10 02:59 linux-next 543b9b2fe10b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/10 01:17 linux-next 543b9b2fe10b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/10 00:13 linux-next 543b9b2fe10b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/09 23:09 linux-next 543b9b2fe10b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/09 19:56 linux-next 543b9b2fe10b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/09 18:45 linux-next 543b9b2fe10b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/09 17:02 linux-next 543b9b2fe10b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/09 12:28 linux-next 543b9b2fe10b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/09 11:15 linux-next 543b9b2fe10b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/09 01:39 linux-next cc3c08b41a9c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/08 23:46 linux-next cc3c08b41a9c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/08 21:38 linux-next cc3c08b41a9c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
2023/01/05 06:42 linux-next cc3c08b41a9c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in ntfs_lookup
* Struck through repros no longer work on HEAD.