syzbot


KASAN: use-after-free Read in udf_free_inode

Status: auto-obsoleted due to no activity on 2024/10/09 09:17
Reported-by: syzbot+bc5ff6826e62c196ea3a@syzkaller.appspotmail.com
First crash: 173d, last: 173d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KASAN: use-after-free Read in udf_free_inode fs 1 725d 721d 0/28 auto-obsoleted due to no activity on 2023/03/26 23:00
upstream BUG: unable to handle kernel paging request in udf_free_inode udf 1 1151d 1147d 0/28 auto-closed as invalid on 2022/01/25 11:13
linux-6.1 BUG: unable to handle kernel paging request in udf_free_inode 1 45d 45d 0/3 upstream: reported on 2024/11/06 07:32

Sample crash report:
==================================================================
BUG: KASAN: use-after-free in udf_free_inode+0x269/0x2d0
Read of size 4 at addr ffff8880953d3b90 by task syz.2.560/6735

CPU: 0 PID: 6735 Comm: syz.2.560 Not tainted 6.1.96-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
 print_address_description mm/kasan/report.c:284 [inline]
 print_report+0x15f/0x4f0 mm/kasan/report.c:395
 kasan_report+0x136/0x160 mm/kasan/report.c:495
 udf_free_inode+0x269/0x2d0
 evict+0x2a4/0x620 fs/inode.c:666
 do_unlinkat+0x509/0x820 fs/namei.c:4399
 __do_sys_unlink fs/namei.c:4440 [inline]
 __se_sys_unlink fs/namei.c:4438 [inline]
 __x64_sys_unlink+0x45/0x50 fs/namei.c:4438
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe833d75b99
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:00007fe834a98048 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007fe833f04078 RCX: 00007fe833d75b99
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100
RBP: 00007fe833df677e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fe833f04078 R15: 00007ffd6b07cbb8
 </TASK>

The buggy address belongs to the physical page:

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/01 09:16 linux-6.1.y 99e6a620de00 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan KASAN: use-after-free Read in udf_free_inode
* Struck through repros no longer work on HEAD.