syzbot


BUG: unable to handle kernel paging request in udf_free_inode (2)

Status: upstream: reported on 2025/09/16 08:14
Reported-by: syzbot+e2135620bf8f61b83342@syzkaller.appspotmail.com
First crash: 3h37m, last: 1h55m
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in udf_free_inode udf 8 1 1420d 1416d 0/29 auto-closed as invalid on 2022/01/25 11:13
linux-6.1 BUG: unable to handle kernel paging request in udf_free_inode 8 1 314d 314d 0/3 auto-obsoleted due to no activity on 2025/02/14 07:32
upstream KASAN: use-after-free Read in udf_free_inode fs 19 1 994d 990d 0/29 auto-obsoleted due to no activity on 2023/03/26 23:00
linux-5.15 KASAN: use-after-free Read in udf_free_inode 19 1 247d 247d 0/3 auto-obsoleted due to no activity on 2025/04/22 09:43
linux-6.1 KASAN: use-after-free Read in udf_free_inode 19 1 442d 442d 0/3 auto-obsoleted due to no activity on 2024/10/09 09:17

Sample crash report:
BUG: unable to handle page fault for address: ffffed1018d4713a
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 23ffee067 P4D 23ffee067 PUD 13fff5067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 4426 Comm: syz.4.6 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:le32_add_cpu include/linux/byteorder/generic.h:151 [inline]
RIP: 0010:udf_free_inode+0xd0/0x2d0 fs/udf/ialloc.c:-1
Code: 2b 81 e5 00 f0 00 00 bf 00 40 00 00 89 ee e8 97 51 9e fe 31 c0 81 fd 00 40 00 00 0f 94 c0 4d 8d 6c 85 20 4c 89 e8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 4c 89 fd 4c 8b 7c 24 10 0f 85 5a 01 00 00 41
RSP: 0000:ffffc900048cfc70 EFLAGS: 00010a06
RAX: 1ffff11018d4713a RBX: ffff888056580e28 RCX: 0000000000000002
RDX: ffff888074c03b80 RSI: 0000000000008000 RDI: 0000000000004000
RBP: 0000000000008000 R08: dffffc0000000000 R09: fffffbfff1c3eea6
R10: fffffbfff1c3eea6 R11: 1ffffffff1c3eea5 R12: 1ffff1100b586ccf
R13: ffff8880c6a389d0 R14: ffff88805ac36000 R15: dffffc0000000000
FS:  00007f1168d496c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed1018d4713a CR3: 00000000207dd000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 evict+0x485/0x870 fs/inode.c:705
 do_unlinkat+0x377/0x560 fs/namei.c:4397
 __do_sys_unlink fs/namei.c:4438 [inline]
 __se_sys_unlink fs/namei.c:4436 [inline]
 __x64_sys_unlink+0x45/0x50 fs/namei.c:4436
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f1167f8eba9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1168d49038 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007f11681d6180 RCX: 00007f1167f8eba9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000080
RBP: 00007f1168011e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f11681d6218 R14: 00007f11681d6180 R15: 00007ffd6fb040b8
 </TASK>
Modules linked in:
CR2: ffffed1018d4713a
---[ end trace 0000000000000000 ]---
RIP: 0010:le32_add_cpu include/linux/byteorder/generic.h:151 [inline]
RIP: 0010:udf_free_inode+0xd0/0x2d0 fs/udf/ialloc.c:-1
Code: 2b 81 e5 00 f0 00 00 bf 00 40 00 00 89 ee e8 97 51 9e fe 31 c0 81 fd 00 40 00 00 0f 94 c0 4d 8d 6c 85 20 4c 89 e8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 4c 89 fd 4c 8b 7c 24 10 0f 85 5a 01 00 00 41
RSP: 0000:ffffc900048cfc70 EFLAGS: 00010a06
RAX: 1ffff11018d4713a RBX: ffff888056580e28 RCX: 0000000000000002
RDX: ffff888074c03b80 RSI: 0000000000008000 RDI: 0000000000004000
RBP: 0000000000008000 R08: dffffc0000000000 R09: fffffbfff1c3eea6
R10: fffffbfff1c3eea6 R11: 1ffffffff1c3eea5 R12: 1ffff1100b586ccf
R13: ffff8880c6a389d0 R14: ffff88805ac36000 R15: dffffc0000000000
FS:  00007f1168d496c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed1018d4713a CR3: 00000000207dd000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	2b 81 e5 00 f0 00    	sub    0xf000e5(%rcx),%eax
   6:	00 bf 00 40 00 00    	add    %bh,0x4000(%rdi)
   c:	89 ee                	mov    %ebp,%esi
   e:	e8 97 51 9e fe       	call   0xfe9e51aa
  13:	31 c0                	xor    %eax,%eax
  15:	81 fd 00 40 00 00    	cmp    $0x4000,%ebp
  1b:	0f 94 c0             	sete   %al
  1e:	4d 8d 6c 85 20       	lea    0x20(%r13,%rax,4),%r13
  23:	4c 89 e8             	mov    %r13,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 38       	movzbl (%rax,%r15,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	4c 89 fd             	mov    %r15,%rbp
  34:	4c 8b 7c 24 10       	mov    0x10(%rsp),%r15
  39:	0f 85 5a 01 00 00    	jne    0x199
  3f:	41                   	rex.B

Crashes (22):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/16 09:56 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 09:53 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 09:49 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 09:47 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 09:42 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 09:29 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 09:26 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 09:23 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 09:19 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 09:08 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 09:05 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 09:01 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 08:58 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 08:54 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 08:51 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 08:44 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 08:41 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 08:38 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 08:35 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 08:32 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 08:29 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
2025/09/16 08:14 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_free_inode
* Struck through repros no longer work on HEAD.