syzbot


KASAN: use-after-free Write in udf_close_lvid

Status: upstream: reported C repro on 2023/05/23 16:31
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+61564e5023b7229ec85d@syzkaller.appspotmail.com
First crash: 962d, last: 4d17h
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/05/23 upstream (ToT) ae8373a5add4 C [report] KASAN: use-after-free Read in crc_itu_t
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 KASAN: use-after-free Write in udf_close_lvid udf 24 C error 5 1065d 1480d 0/1 upstream: reported C repro on 2021/12/21 15:22
linux-4.14 KASAN: use-after-free Write in udf_close_lvid udf 24 C 4 1066d 1128d 0/1 upstream: reported C repro on 2022/12/07 21:30
linux-6.1 BUG: unable to handle kernel paging request in udf_close_lvid origin:upstream 24 C error 42 110d 1014d 0/3 upstream: reported C repro on 2023/04/01 11:57
upstream KASAN: use-after-free Write in udf_close_lvid udf 24 C done 144 732d 1326d 25/29 fixed on 2024/02/21 18:23
upstream BUG: unable to handle kernel paging request in udf_close_lvid udf 8 1 433d 429d 0/29 auto-obsoleted due to no activity on 2025/01/31 11:46
linux-6.6 BUG: unable to handle kernel paging request in udf_close_lvid 19 C 4 19d 19d 0/2 upstream: reported C repro on 2025/12/21 05:47
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/12/23 11:20 8m retest repro linux-5.15.y report log
2025/12/23 11:20 8m retest repro linux-5.15.y report log
2025/12/23 11:20 9m retest repro linux-5.15.y report log
2025/12/23 11:20 9m retest repro linux-5.15.y report log
2025/12/23 11:20 9m retest repro linux-5.15.y report log
2025/12/09 07:05 19m retest repro linux-5.15.y report log
2025/12/09 07:05 42m retest repro linux-5.15.y report log
2025/11/02 03:27 12m retest repro linux-5.15.y report log
2025/11/02 03:27 14m retest repro linux-5.15.y report log
2025/11/02 03:27 9m retest repro linux-5.15.y report log
Fix bisection attempts (10)
Created Duration User Patch Repo Result
2024/10/14 23:27 0m bisect fix linux-5.15.y error job log
2024/08/30 15:54 48m bisect fix linux-5.15.y OK (0) job log log
2024/07/23 17:46 1h07m bisect fix linux-5.15.y OK (0) job log log
2024/06/08 04:00 55m bisect fix linux-5.15.y OK (0) job log log
2024/03/25 01:46 1h06m bisect fix linux-5.15.y OK (0) job log log
2024/02/23 14:18 59m bisect fix linux-5.15.y OK (0) job log log
2024/01/14 18:39 1h31m bisect fix linux-5.15.y OK (0) job log log
2023/12/10 01:52 1h16m bisect fix linux-5.15.y OK (0) job log log
2023/11/09 21:23 1h26m bisect fix linux-5.15.y OK (0) job log log
2023/10/06 23:00 59m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
==================================================================
BUG: KASAN: use-after-free in udf_close_lvid+0x674/0x990 fs/udf/super.c:2108
Write of size 1 at addr ffff8881699beff8 by task syz-executor/4283

CPU: 1 PID: 4283 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
 print_address_description+0x60/0x2d0 mm/kasan/report.c:248
 __kasan_report mm/kasan/report.c:434 [inline]
 kasan_report+0xdf/0x130 mm/kasan/report.c:451
 udf_close_lvid+0x674/0x990 fs/udf/super.c:2108
 udf_put_super+0xc8/0x160 fs/udf/super.c:2395
 generic_shutdown_super+0x130/0x300 fs/super.c:475
 kill_block_super+0x7c/0xe0 fs/super.c:1427
 deactivate_locked_super+0x93/0xf0 fs/super.c:335
 cleanup_mnt+0x418/0x4d0 fs/namespace.c:1148
 task_work_run+0x125/0x1a0 kernel/task_work.c:188
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214
 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
 syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f692677ba77
Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffe9573b488 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f69267fed7d RCX: 00007f692677ba77
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe9573b540
RBP: 00007ffe9573b540 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe9573c5d0
R13: 00007f69267fed7d R14: 0000000000014a48 R15: 00007ffe9573c610
 </TASK>

The buggy address belongs to the page:
page:ffffea0005a66f80 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1699be
flags: 0x57ff00000000000(node=1|zone=2|lastcpupid=0x7ff)
raw: 057ff00000000000 ffffea0005a66f88 ffffea0005a66f88 0000000000000000
raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner info is not present (never set?)

Memory state around the buggy address:
 ffff8881699bee80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff8881699bef00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff8881699bef80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                                                                ^
 ffff8881699bf000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff8881699bf080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================

Crashes (19):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/05 01:15 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan KASAN: use-after-free Write in udf_close_lvid
2025/09/02 09:38 linux-5.15.y 01879f56bdde 807a3b61 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan KASAN: use-after-free Write in udf_close_lvid
2024/05/08 13:40 linux-5.15.y 284087d4f7d5 4cf3f9b3 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-5-15-kasan KASAN: use-after-free Write in udf_close_lvid
2023/07/19 16:32 linux-5.15.y d54cfc420586 022df2bb .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-5-15-kasan KASAN: use-after-free Write in udf_close_lvid
2023/06/08 21:43 linux-5.15.y d7af3e5ba454 058b3a5a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-5-15-kasan KASAN: use-after-free Write in udf_close_lvid
2023/06/08 16:11 linux-5.15.y d7af3e5ba454 058b3a5a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-5-15-kasan KASAN: use-after-free Write in udf_close_lvid
2023/05/29 07:12 linux-5.15.y 1fe619a7d252 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-5-15-kasan KASAN: use-after-free Write in udf_close_lvid
2023/05/23 16:31 linux-5.15.y 9d6bde853685 4bce1a3e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-5-15-kasan KASAN: use-after-free Write in udf_close_lvid
2025/12/26 16:14 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-5-15-kasan KASAN: use-after-free Read in udf_close_lvid
2024/04/19 12:55 linux-5.15.y c52b9710c83d af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-5-15-kasan BUG: unable to handle kernel paging request in udf_close_lvid
2023/08/11 14:00 linux-5.15.y c275eaaaa342 da3c3ef8 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-5-15-kasan KASAN: slab-out-of-bounds Write in udf_close_lvid
2023/06/19 05:45 linux-5.15.y 471e639e59d1 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-5-15-kasan BUG: unable to handle kernel paging request in udf_close_lvid
2023/05/28 19:13 linux-5.15.y 1fe619a7d252 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-5-15-kasan BUG: unable to handle kernel paging request in udf_close_lvid
2025/05/27 16:08 linux-5.15.y 98f47d0e9b8c 874a1386 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: unable to handle kernel paging request in udf_close_lvid
2023/12/14 21:30 linux-5.15.y d0fc081c6241 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Write in udf_close_lvid
2025/09/15 06:51 linux-5.15.y 43bb85222e53 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel paging request in udf_close_lvid
2025/08/25 11:25 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan KASAN: use-after-free Read in udf_close_lvid
2024/04/22 22:45 linux-5.15.y c52b9710c83d 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel paging request in udf_close_lvid
2024/04/22 22:39 linux-5.15.y c52b9710c83d 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: unable to handle kernel paging request in udf_close_lvid
* Struck through repros no longer work on HEAD.