syzbot


BUG: unable to handle kernel paging request in lookup_one_qstr_excl

Status: upstream: reported C repro on 2025/02/14 19:58
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+2d18bb4b8a11cab7ab13@syzkaller.appspotmail.com
First crash: 42d, last: 29d
Cause bisection: introduced by (bisect log) :
commit 22d9d5e93d0eaf7e8662602713b24e9b6171759f
Author: NeilBrown <neilb@suse.de>
Date: Fri Feb 7 03:36:48 2025 +0000

  VFS: add common error checks to lookup_one_qstr_excl()

Crash: BUG: unable to handle kernel paging request in lookup_one_qstr_excl (log)
Repro: C syz .config
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [udf?] BUG: unable to handle kernel paging request in lookup_one_qstr_excl 0 (1) 2025/02/14 19:58
Last patch testing requests (4)
Created Duration User Patch Repo Result
2025/03/13 07:52 52m retest repro linux-next error
2025/03/13 07:52 50m retest repro linux-next error
2025/03/13 07:52 57m retest repro linux-next error
2025/03/13 07:52 5h58m retest repro linux-next error

Sample crash report:
EXT4-fs warning (device loop0): ext4_block_to_path:107: block 3279949762 > max in inode 13
EXT4-fs (loop0): 1 truncate cleaned up
EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 ro without journal. Quota mode: none.
EXT4-fs error (device loop0): ext4_map_blocks:672: inode #2: block 3: comm syz-executor343: lblock 0 mapped to illegal pblock 3 (length 1)
EXT4-fs warning (device loop0): dx_probe:823: inode #2: lblock 0: comm syz-executor343: error -117 reading directory block
BUG: unable to handle page fault for address: ffffffffffffff8b
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD e93c067 P4D e93c067 PUD e93e067 PMD 0 
Oops: Oops: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 5832 Comm: syz-executor343 Not tainted 6.14.0-rc3-next-20250218-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:__d_entry_type include/linux/dcache.h:416 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:421 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:467 [inline]
RIP: 0010:lookup_one_qstr_excl+0x162/0x370 fs/namei.c:1696
Code: d3 66 90 48 85 c0 0f 85 58 01 00 00 e8 07 0f 84 ff 4c 89 f0 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 57 01 00 00 bb 00 00 38 00 <41> 23 1e 44 89 fd 81 e5 00 00 02 00 89 de 09 ee 31 ff e8 17 13 84
RSP: 0018:ffffc90003eefcb8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000380000 RCX: ffff8880344d0000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001
RBP: ffff88807bbabe2c R08: ffff88807bb2298b R09: 1ffff1100f764531
R10: dffffc0000000000 R11: ffffed100f764532 R12: ffff88807bb228d0
R13: dffffc0000000000 R14: ffffffffffffff8b R15: 0000000000060000
FS:  000055556ec17380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffff8b CR3: 000000007dba2000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 filename_create+0x282/0x480 fs/namei.c:4091
 do_mkdirat+0xbd/0x3a0 fs/namei.c:4322
 __do_sys_mkdirat fs/namei.c:4345 [inline]
 __se_sys_mkdirat fs/namei.c:4343 [inline]
 __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4343
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6df4a19a99
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 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:00007ffc151d83c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f6df4a19a99
RDX: 0000000000000000 RSI: 0000400000000280 RDI: 00000000ffffff9c
RBP: 00007f6df4a8d5f0 R08: 000000000000048f R09: 000055556ec184c0
R10: 00007ffc151d8290 R11: 0000000000000246 R12: 00007ffc151d83f0
R13: 00007ffc151d8618 R14: 431bde82d7b634db R15: 00007f6df4a6203b
 </TASK>
Modules linked in:
CR2: ffffffffffffff8b
---[ end trace 0000000000000000 ]---
RIP: 0010:__d_entry_type include/linux/dcache.h:416 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:421 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:467 [inline]
RIP: 0010:lookup_one_qstr_excl+0x162/0x370 fs/namei.c:1696
Code: d3 66 90 48 85 c0 0f 85 58 01 00 00 e8 07 0f 84 ff 4c 89 f0 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 57 01 00 00 bb 00 00 38 00 <41> 23 1e 44 89 fd 81 e5 00 00 02 00 89 de 09 ee 31 ff e8 17 13 84
RSP: 0018:ffffc90003eefcb8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000380000 RCX: ffff8880344d0000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001
RBP: ffff88807bbabe2c R08: ffff88807bb2298b R09: 1ffff1100f764531
R10: dffffc0000000000 R11: ffffed100f764532 R12: ffff88807bb228d0
R13: dffffc0000000000 R14: ffffffffffffff8b R15: 0000000000060000
FS:  000055556ec17380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffff8b CR3: 000000007dba2000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	d3 66 90             	shll   %cl,-0x70(%rsi)
   3:	48 85 c0             	test   %rax,%rax
   6:	0f 85 58 01 00 00    	jne    0x164
   c:	e8 07 0f 84 ff       	call   0xff840f18
  11:	4c 89 f0             	mov    %r14,%rax
  14:	48 c1 e8 03          	shr    $0x3,%rax
  18:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax
  1d:	84 c0                	test   %al,%al
  1f:	0f 85 57 01 00 00    	jne    0x17c
  25:	bb 00 00 38 00       	mov    $0x380000,%ebx
* 2a:	41 23 1e             	and    (%r14),%ebx <-- trapping instruction
  2d:	44 89 fd             	mov    %r15d,%ebp
  30:	81 e5 00 00 02 00    	and    $0x20000,%ebp
  36:	89 de                	mov    %ebx,%esi
  38:	09 ee                	or     %ebp,%esi
  3a:	31 ff                	xor    %edi,%edi
  3c:	e8                   	.byte 0xe8
  3d:	17                   	(bad)
  3e:	13                   	.byte 0x13
  3f:	84                   	.byte 0x84

Crashes (7696):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/02/25 22:33 linux-next e5d3fd687aac d34966d1 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/25 07:42 linux-next e5d3fd687aac d34966d1 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/15 13:37 linux-next 0ae0fa3bf0b4 40a34ec9 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/13 16:43 linux-next 7b7a883c7f4d 2afad16e .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 17:22 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 17:06 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 16:44 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 16:20 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 15:49 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 15:17 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 14:29 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 13:45 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 13:22 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 12:37 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 12:16 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 11:51 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 11:26 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 11:01 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 10:31 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 10:07 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 09:42 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 09:18 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 08:37 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 08:11 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 07:42 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 07:11 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 06:46 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 06:17 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 06:13 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 05:04 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 04:36 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 03:39 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 03:16 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 02:53 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 02:28 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 02:00 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 01:42 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 00:54 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/26 00:21 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/25 23:56 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/25 23:31 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/25 22:51 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/25 22:32 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/25 22:10 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/25 21:44 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
2025/02/25 21:17 linux-next e5d3fd687aac d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in lookup_one_qstr_excl
* Struck through repros no longer work on HEAD.