syzbot


BUG: unable to handle kernel paging request in udf_close_lvid

Status: upstream: reported C repro on 2023/04/01 11:57
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+26873a72980f8fa8bc55@syzkaller.appspotmail.com
First crash: 388d, last: 4d20h
Bug presence (1)
Date Name Commit Repro Result
2023/05/11 upstream (ToT) cc3c44c9fda2 C [report] BUG: unable to handle kernel paging request in udf_close_lvid
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 KASAN: use-after-free Write in udf_close_lvid udf C error 5 439d 854d 0/1 upstream: reported C repro on 2021/12/21 15:22
linux-5.15 KASAN: use-after-free Write in udf_close_lvid origin:upstream C 12 1d02h 336d 0/3 upstream: reported C repro on 2023/05/23 16:31
upstream KASAN: use-after-free Write in udf_close_lvid udf C done 144 107d 701d 26/26 fixed on 2024/02/21 18:23
linux-4.14 KASAN: use-after-free Write in udf_close_lvid udf C 4 441d 503d 0/1 upstream: reported C repro on 2022/12/07 21:30
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2024/03/23 14:50 1h29m bisect fix linux-6.1.y job log (0) log
2024/02/22 03:46 1h18m bisect fix linux-6.1.y job log (0) log
2023/05/01 17:04 37m bisect fix linux-6.1.y job log (0) log

Sample crash report:
BUG: unable to handle page fault for address: ffffed10189c597d
#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: 0 PID: 3543 Comm: syz-executor826 Not tainted 6.1.54-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
RIP: 0010:udf_close_lvid+0x148/0x9a0 fs/udf/super.c:2073
Code: dc 49 83 c4 50 0f 84 f3 00 00 00 49 8d bf c0 00 00 00 48 89 7c 24 40 31 f6 e8 34 4a 91 07 49 8d 7c 24 18 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 3d 05 00 00 4c 89 7c 24 18 4c 89 74 24
RSP: 0018:ffffc90003a8fbc0 EFLAGS: 00010a06
RAX: 1ffff110189c597d RBX: ffff888072028000 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8b3cea60 RDI: ffff8880c4e2cbe8
RBP: ffffc90003a8fcb0 R08: dffffc0000000000 R09: fffffbfff1ce75e6
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880c4e2cbd0
R13: dffffc0000000000 R14: 1ffff92000751f84 R15: ffff88807a853400
FS:  0000555556ef1380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed10189c597d CR3: 0000000072489000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 udf_put_super+0xc9/0x160 fs/udf/super.c:2360
 generic_shutdown_super+0x130/0x340 fs/super.c:501
 kill_block_super+0x7a/0xe0 fs/super.c:1459
 deactivate_locked_super+0xa0/0x110 fs/super.c:332
 cleanup_mnt+0x490/0x520 fs/namespace.c:1186
 task_work_run+0x246/0x300 kernel/task_work.c:179
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
 syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297
 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f87006af607
Code: 09 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffc354b5de8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 000000000000d496 RCX: 00007f87006af607
RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffc354b5ea0
RBP: 00007ffc354b5ea0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffc354b6f10
R13: 0000555556ef26c0 R14: 431bde82d7b634db R15: 00007ffc354b6f30
 </TASK>
Modules linked in:
CR2: ffffed10189c597d
---[ end trace 0000000000000000 ]---
RIP: 0010:udf_close_lvid+0x148/0x9a0 fs/udf/super.c:2073
Code: dc 49 83 c4 50 0f 84 f3 00 00 00 49 8d bf c0 00 00 00 48 89 7c 24 40 31 f6 e8 34 4a 91 07 49 8d 7c 24 18 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 3d 05 00 00 4c 89 7c 24 18 4c 89 74 24
RSP: 0018:ffffc90003a8fbc0 EFLAGS: 00010a06
RAX: 1ffff110189c597d RBX: ffff888072028000 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8b3cea60 RDI: ffff8880c4e2cbe8
RBP: ffffc90003a8fcb0 R08: dffffc0000000000 R09: fffffbfff1ce75e6
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880c4e2cbd0
R13: dffffc0000000000 R14: 1ffff92000751f84 R15: ffff88807a853400
FS:  0000555556ef1380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed10189c597d CR3: 0000000072489000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	49 83 c4 50          	add    $0x50,%r12
   4:	0f 84 f3 00 00 00    	je     0xfd
   a:	49 8d bf c0 00 00 00 	lea    0xc0(%r15),%rdi
  11:	48 89 7c 24 40       	mov    %rdi,0x40(%rsp)
  16:	31 f6                	xor    %esi,%esi
  18:	e8 34 4a 91 07       	call   0x7914a51
  1d:	49 8d 7c 24 18       	lea    0x18(%r12),%rdi
  22:	48 89 f8             	mov    %rdi,%rax
  25:	48 c1 e8 03          	shr    $0x3,%rax
* 29:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax <-- trapping instruction
  2e:	84 c0                	test   %al,%al
  30:	0f 85 3d 05 00 00    	jne    0x573
  36:	4c 89 7c 24 18       	mov    %r15,0x18(%rsp)
  3b:	4c                   	rex.WR
  3c:	89                   	.byte 0x89
  3d:	74 24                	je     0x63

Crashes (23):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/22 07:01 linux-6.1.y a356197db198 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_close_lvid
2023/04/01 11:56 linux-6.1.y 3b29299e5f60 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_close_lvid
2023/08/13 13:41 linux-6.1.y 1321ab403b38 39990d51 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_close_lvid
2023/06/25 02:30 linux-6.1.y e84a4e368abe 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_close_lvid
2024/04/19 03:50 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan KASAN: slab-out-of-bounds Write in udf_close_lvid
2024/04/12 01:21 linux-6.1.y bf1e3b1cb1e0 95ed9ece .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-6-1-kasan KASAN: use-after-free Write in udf_close_lvid
2024/04/12 00:35 linux-6.1.y bf1e3b1cb1e0 95ed9ece .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-6-1-kasan KASAN: use-after-free Write in udf_close_lvid
2023/09/17 00:21 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-6-1-kasan KASAN: slab-out-of-bounds Write in udf_close_lvid
2023/09/13 06:54 linux-6.1.y 59b13c2b647e 59da8366 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-6-1-kasan KASAN: use-after-free Write in udf_close_lvid
2023/06/26 13:50 linux-6.1.y e84a4e368abe 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-6-1-kasan KASAN: use-after-free Write in udf_close_lvid
2023/06/12 11:26 linux-6.1.y 2f3918bc53fb 49519f06 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-6-1-kasan KASAN: use-after-free Write in udf_close_lvid
2023/06/12 07:32 linux-6.1.y 2f3918bc53fb 49519f06 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-6-1-kasan KASAN: use-after-free Write in udf_close_lvid
2023/05/29 12:59 linux-6.1.y a343b0dd87b4 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-6-1-kasan KASAN: use-after-free Write in udf_close_lvid
2024/01/04 00:50 linux-6.1.y a507f147e6f0 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_close_lvid
2023/12/18 20:25 linux-6.1.y ba6f5fb46511 924661f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_close_lvid
2023/12/05 19:29 linux-6.1.y c6114c845984 858d62d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_close_lvid
2023/10/03 02:41 linux-6.1.y d23900f974e0 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_close_lvid
2023/07/11 17:16 linux-6.1.y 61fd484b2cf6 2f19aa4f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan BUG: unable to handle kernel paging request in udf_close_lvid
2024/04/11 23:52 linux-6.1.y bf1e3b1cb1e0 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan KASAN: use-after-free Write in udf_close_lvid
2024/01/12 15:08 linux-6.1.y 7c58bfa711cb f6fa7c28 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan KASAN: use-after-free Write in udf_close_lvid
2023/11/09 19:15 linux-6.1.y fb2635ac69ab 56230772 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan KASAN: use-after-free Read in udf_close_lvid
2023/10/30 07:57 linux-6.1.y 32c9cdbe383c 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan KASAN: slab-out-of-bounds Read in udf_close_lvid
2023/09/13 12:26 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan KASAN: use-after-free Read in udf_close_lvid
* Struck through repros no longer work on HEAD.