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: udf
[Documentation on labels]
Reported-by: syzbot+2d18bb4b8a11cab7ab13@syzkaller.appspotmail.com
First crash: 7d22h, last: 8m
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

Sample crash report:
loop0: detected capacity change from 0 to 1024
hfsplus: found bad thread record in catalog
BUG: unable to handle page fault for address: fffffffffffffffb
#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: 0 UID: 0 PID: 5831 Comm: syz-executor319 Not tainted 6.14.0-rc2-next-20250214-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
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 d7 03 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 e7 07 84
RSP: 0018:ffffc90003f6fbf8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000380000 RCX: ffff88807b141e00
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001
RBP: ffff88807a839cbc R08: ffff88807c738233 R09: 1ffff1100f8e7046
R10: dffffc0000000000 R11: ffffed100f8e7047 R12: ffff88807c738178
R13: dffffc0000000000 R14: fffffffffffffffb R15: 0000000000000000
FS:  0000555574727380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffffb CR3: 0000000077e84000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_renameat2+0x664/0x1280 fs/namei.c:5158
 __do_sys_rename fs/namei.c:5253 [inline]
 __se_sys_rename fs/namei.c:5251 [inline]
 __x64_sys_rename+0x82/0x90 fs/namei.c:5251
 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:0x7f7ddb4e9d99
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:00007fff83940438 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7ddb4e9d99
RDX: 00007f7ddb4e8d91 RSI: 0000400000001300 RDI: 0000400000000040
RBP: 00007f7ddb55e5f0 R08: 00000000000006dc R09: 00005555747284c0
R10: 00007fff83940300 R11: 0000000000000246 R12: 00007fff83940460
R13: 00007fff83940688 R14: 431bde82d7b634db R15: 00007f7ddb53303b
 </TASK>
Modules linked in:
CR2: fffffffffffffffb
---[ 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 d7 03 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 e7 07 84
RSP: 0018:ffffc90003f6fbf8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000380000 RCX: ffff88807b141e00
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001
RBP: ffff88807a839cbc R08: ffff88807c738233 R09: 1ffff1100f8e7046
R10: dffffc0000000000 R11: ffffed100f8e7047 R12: ffff88807c738178
R13: dffffc0000000000 R14: fffffffffffffffb R15: 0000000000000000
FS:  0000555574727380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffffb CR3: 0000000077e84000 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 d7 03 84 ff       	call   0xff8403e8
  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:	e7 07                	out    %eax,$0x7
  3f:	84                   	.byte 0x84

Crashes (3772):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/21 04:15 linux-next e5d3fd687aac 0808a665 .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/21 02:57 linux-next e5d3fd687aac 0808a665 .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/21 01:36 linux-next e5d3fd687aac 0808a665 .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/21 00:14 linux-next e5d3fd687aac 50668798 .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/21 00:02 linux-next e5d3fd687aac 50668798 .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/20 22:40 linux-next e5d3fd687aac 50668798 .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/20 22:16 linux-next e5d3fd687aac 50668798 .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/20 21:39 linux-next e5d3fd687aac 50668798 .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/20 20:39 linux-next e5d3fd687aac 50668798 .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/20 20:11 linux-next e5d3fd687aac 50668798 .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/20 19:37 linux-next e5d3fd687aac 50668798 .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/20 19:18 linux-next e5d3fd687aac 50668798 .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/20 18:36 linux-next e5d3fd687aac 50668798 .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/20 18:25 linux-next e5d3fd687aac 50668798 .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/20 18:24 linux-next e5d3fd687aac 50668798 .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/20 17:24 linux-next e5d3fd687aac 50668798 .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/20 17:04 linux-next e5d3fd687aac 50668798 .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/20 13:31 linux-next e5d3fd687aac 50668798 .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/20 13:17 linux-next e5d3fd687aac 50668798 .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/20 12:14 linux-next e5d3fd687aac 50668798 .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/20 12:05 linux-next e5d3fd687aac 50668798 .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/20 11:00 linux-next e5d3fd687aac 50668798 .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/20 09:39 linux-next e5d3fd687aac 50668798 .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/20 08:18 linux-next e5d3fd687aac 50668798 .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/20 07:05 linux-next e5d3fd687aac cbd8edab .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/20 06:12 linux-next e5d3fd687aac cbd8edab .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/20 05:40 linux-next e5d3fd687aac cbd8edab .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/20 05:39 linux-next e5d3fd687aac cbd8edab .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/20 04:35 linux-next e5d3fd687aac cbd8edab .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/20 03:48 linux-next e5d3fd687aac cbd8edab .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/20 00:37 linux-next e5d3fd687aac cbd8edab .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/20 00:00 linux-next e5d3fd687aac cbd8edab .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/19 23:58 linux-next e5d3fd687aac cbd8edab .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/19 22:58 linux-next e5d3fd687aac cbd8edab .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/19 22:37 linux-next e5d3fd687aac cbd8edab .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/19 21:53 linux-next e5d3fd687aac cbd8edab .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/19 21:33 linux-next e5d3fd687aac cbd8edab .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/19 21:01 linux-next e5d3fd687aac cbd8edab .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/19 20:04 linux-next e5d3fd687aac cbd8edab .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/19 19:30 linux-next e5d3fd687aac cbd8edab .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/19 17:41 linux-next e5d3fd687aac cbd8edab .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/19 15:57 linux-next e5d3fd687aac cbd8edab .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/19 13:06 linux-next e5d3fd687aac 9a14138f .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/19 12:29 linux-next e5d3fd687aac 9a14138f .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/19 11:44 linux-next e5d3fd687aac 9a14138f .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.