syzbot


BUG: unable to handle kernel paging request in __brelse

Status: upstream: reported C repro on 2024/06/25 23:42
Subsystems: udf
[Documentation on labels]
Reported-by: syzbot+8c750412421a6826fb6f@syzkaller.appspotmail.com
First crash: 27d, last: 21d
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [udf?] BUG: unable to handle kernel paging request in __brelse 0 (2) 2024/06/26 00:32
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/07/12 13:28 56m retest repro linux-next OK log
2024/06/26 00:32 15m peili.dev@gmail.com patch linux-next error

Sample crash report:
UDF-fs: Scanning with blocksize 2048 failed
UDF-fs: error (device loop0): udf_read_tagged: read failed, block=256, location=256
UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000)
BUG: unable to handle page fault for address: ffffffffffffffeb
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD e136067 P4D e136067 PUD e138067 PMD 0 
Oops: Oops: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 5094 Comm: syz-executor927 Not tainted 6.10.0-rc4-next-20240621-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline]
RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline]
RIP: 0010:atomic_read include/linux/atomic/atomic-instrumented.h:33 [inline]
RIP: 0010:__brelse+0x38/0xa0 fs/buffer.c:1235
Code: 48 83 c3 60 48 89 df be 04 00 00 00 e8 21 e9 dc ff 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 75 44 <8b> 2b 31 ff 89 ee e8 ad 83 76 ff 85 ed 74 17 e8 64 7f 76 ff 48 89
RSP: 0018:ffffc90003447ac8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffffffffffffeb RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffffffffffeb
RBP: 0000000000000008 R08: ffffffffffffffee R09: 1ffffffffffffffd
R10: dffffc0000000000 R11: fffffbfffffffffe R12: 0000000000000008
R13: ffff888028efb440 R14: 0000000000000000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffeb CR3: 000000000e132000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 brelse include/linux/buffer_head.h:325 [inline]
 udf_sb_free_bitmap fs/udf/super.c:339 [inline]
 udf_free_partition fs/udf/super.c:352 [inline]
 udf_sb_free_partitions+0x1d5/0x540 fs/udf/super.c:377
 udf_put_super+0x113/0x160 fs/udf/super.c:2367
 generic_shutdown_super+0x136/0x2d0 fs/super.c:642
 kill_block_super+0x44/0x90 fs/super.c:1685
 deactivate_locked_super+0xc4/0x130 fs/super.c:473
 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1267
 task_work_run+0x24f/0x310 kernel/task_work.c:180
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0xa27/0x28e0 kernel/exit.c:876
 do_group_exit+0x207/0x2c0 kernel/exit.c:1025
 __do_sys_exit_group kernel/exit.c:1036 [inline]
 __se_sys_exit_group kernel/exit.c:1034 [inline]
 __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1034
 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:0x7f5e47397789
Code: Unable to access opcode bytes at 0x7f5e4739775f.
RSP: 002b:00007ffd91c73db8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f5e47397789
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 00007f5e474132b0 R08: ffffffffffffffb8 R09: 00007ffd91c73e90
R10: 00007ffd91c73ce0 R11: 0000000000000246 R12: 00007f5e474132b0
R13: 0000000000000000 R14: 00007f5e47414020 R15: 00007f5e47365cd0
 </TASK>
Modules linked in:
CR2: ffffffffffffffeb
---[ end trace 0000000000000000 ]---
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline]
RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline]
RIP: 0010:atomic_read include/linux/atomic/atomic-instrumented.h:33 [inline]
RIP: 0010:__brelse+0x38/0xa0 fs/buffer.c:1235
Code: 48 83 c3 60 48 89 df be 04 00 00 00 e8 21 e9 dc ff 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 75 44 <8b> 2b 31 ff 89 ee e8 ad 83 76 ff 85 ed 74 17 e8 64 7f 76 ff 48 89
RSP: 0018:ffffc90003447ac8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffffffffffffeb RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffffffffffeb
RBP: 0000000000000008 R08: ffffffffffffffee R09: 1ffffffffffffffd
R10: dffffc0000000000 R11: fffffbfffffffffe R12: 0000000000000008
R13: ffff888028efb440 R14: 0000000000000000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffeb CR3: 000000000e132000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	48 83 c3 60          	add    $0x60,%rbx
   4:	48 89 df             	mov    %rbx,%rdi
   7:	be 04 00 00 00       	mov    $0x4,%esi
   c:	e8 21 e9 dc ff       	call   0xffdce932
  11:	48 89 d8             	mov    %rbx,%rax
  14:	48 c1 e8 03          	shr    $0x3,%rax
  18:	48 b9 00 00 00 00 00 	movabs $0xdffffc0000000000,%rcx
  1f:	fc ff df
  22:	0f b6 04 08          	movzbl (%rax,%rcx,1),%eax
  26:	84 c0                	test   %al,%al
  28:	75 44                	jne    0x6e
* 2a:	8b 2b                	mov    (%rbx),%ebp <-- trapping instruction
  2c:	31 ff                	xor    %edi,%edi
  2e:	89 ee                	mov    %ebp,%esi
  30:	e8 ad 83 76 ff       	call   0xff7683e2
  35:	85 ed                	test   %ebp,%ebp
  37:	74 17                	je     0x50
  39:	e8 64 7f 76 ff       	call   0xff767fa2
  3e:	48                   	rex.W
  3f:	89                   	.byte 0x89

Crashes (383):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/24 13:23 linux-next f76698bd9a8c edc5149a .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 __brelse
2024/06/27 14:25 linux-next 62c97045b8f7 5c045c04 .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 __brelse
2024/06/27 08:14 linux-next 62c97045b8f7 5c045c04 .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 __brelse
2024/06/27 08:07 linux-next 62c97045b8f7 5c045c04 .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 __brelse
2024/06/27 07:04 linux-next 62c97045b8f7 5c045c04 .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 __brelse
2024/06/27 01:59 linux-next 62c97045b8f7 880c1ca1 .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 __brelse
2024/06/26 17:39 linux-next 62c97045b8f7 880c1ca1 .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 __brelse
2024/06/26 17:32 linux-next 62c97045b8f7 880c1ca1 .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 __brelse
2024/06/26 15:49 linux-next 62c97045b8f7 880c1ca1 .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 __brelse
2024/06/26 15:49 linux-next 62c97045b8f7 880c1ca1 .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 __brelse
2024/06/26 12:05 linux-next 62c97045b8f7 dec8bc94 .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 __brelse
2024/06/26 11:02 linux-next 62c97045b8f7 dec8bc94 .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 __brelse
2024/06/26 09:48 linux-next 62c97045b8f7 dec8bc94 .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 __brelse
2024/06/26 07:39 linux-next 62c97045b8f7 dec8bc94 .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 __brelse
2024/06/26 07:32 linux-next 62c97045b8f7 dec8bc94 .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 __brelse
2024/06/26 07:32 linux-next 62c97045b8f7 dec8bc94 .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 __brelse
2024/06/26 03:49 linux-next 62c97045b8f7 da0bd5ca .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 __brelse
2024/06/26 01:40 linux-next 62c97045b8f7 da0bd5ca .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 __brelse
2024/06/25 22:10 linux-next 62c97045b8f7 da0bd5ca .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 __brelse
2024/06/25 17:48 linux-next 62c97045b8f7 da0bd5ca .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 __brelse
2024/06/25 17:38 linux-next 62c97045b8f7 da0bd5ca .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 __brelse
2024/06/25 11:24 linux-next 62c97045b8f7 215eef4a .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 __brelse
2024/06/25 02:20 linux-next 62c97045b8f7 215eef4a .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 __brelse
2024/06/25 02:19 linux-next 62c97045b8f7 215eef4a .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 __brelse
2024/06/25 00:31 linux-next 62c97045b8f7 215eef4a .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 __brelse
2024/06/24 20:05 linux-next f76698bd9a8c 215eef4a .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 __brelse
2024/06/24 19:10 linux-next f76698bd9a8c 215eef4a .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 __brelse
2024/06/23 09:28 linux-next f76698bd9a8c edc5149a .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 __brelse
2024/06/23 02:57 linux-next f76698bd9a8c edc5149a .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 __brelse
2024/06/23 02:56 linux-next f76698bd9a8c edc5149a .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 __brelse
2024/06/23 01:17 linux-next f76698bd9a8c edc5149a .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 __brelse
2024/06/23 00:02 linux-next f76698bd9a8c edc5149a .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 __brelse
2024/06/22 22:54 linux-next f76698bd9a8c edc5149a .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 __brelse
2024/06/22 21:54 linux-next f76698bd9a8c edc5149a .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 __brelse
2024/06/22 20:21 linux-next f76698bd9a8c edc5149a .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 __brelse
2024/06/22 20:18 linux-next f76698bd9a8c edc5149a .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 __brelse
2024/06/22 15:53 linux-next f76698bd9a8c edc5149a .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 __brelse
2024/06/22 12:59 linux-next f76698bd9a8c edc5149a .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 __brelse
2024/06/22 12:49 linux-next f76698bd9a8c edc5149a .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 __brelse
2024/06/22 11:55 linux-next f76698bd9a8c edc5149a .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 __brelse
2024/06/22 11:48 linux-next f76698bd9a8c edc5149a .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 __brelse
2024/06/22 11:43 linux-next f76698bd9a8c edc5149a .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 __brelse
2024/06/22 11:34 linux-next f76698bd9a8c edc5149a .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 __brelse
2024/06/22 11:29 linux-next f76698bd9a8c edc5149a .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 __brelse
* Struck through repros no longer work on HEAD.