syzbot


WARNING in udf_free_blocks (2)

Status: upstream: reported C repro on 2025/01/12 10:23
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+eee8568c73f195a7d8fa@syzkaller.appspotmail.com
First crash: 186d, last: 17d
Bug presence (1)
Date Name Commit Repro Result
2025/01/12 upstream (ToT) b62cef9a5c67 C [report] KASAN: use-after-free Read in udf_unlink
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in udf_free_blocks -1 1 193d 193d 0/3 auto-obsoleted due to no activity on 2025/04/15 10:15
linux-5.15 WARNING in udf_free_blocks -1 1 430d 430d 0/3 auto-obsoleted due to no activity on 2024/08/21 03:04
upstream WARNING in udf_free_blocks (2) udf -1 1 575d 573d 0/29 auto-obsoleted due to no activity on 2024/03/29 02:59
upstream WARNING in udf_free_blocks udf -1 6 705d 823d 0/29 auto-obsoleted due to no activity on 2023/11/20 09:23
linux-6.1 WARNING in udf_free_blocks (2) origin:upstream -1 C 1 24d 24d 0/3 upstream: reported C repro on 2025/06/22 21:08
Last patch testing requests (9)
Created Duration User Patch Repo Result
2025/06/29 17:50 11m retest repro linux-5.15.y report log
2025/06/29 17:50 16m retest repro linux-5.15.y report log
2025/06/29 17:50 15m retest repro linux-5.15.y report log
2025/06/15 04:23 10m retest repro linux-5.15.y report log
2025/06/15 04:23 10m retest repro linux-5.15.y report log
2025/05/25 10:52 11m retest repro linux-5.15.y report log
2025/05/25 10:52 11m retest repro linux-5.15.y report log
2025/04/13 09:47 15m retest repro linux-5.15.y report log
2025/04/13 09:47 15m retest repro linux-5.15.y report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4167 at fs/udf/udfdecl.h:127 udf_updated_lvid fs/udf/udfdecl.h:125 [inline]
WARNING: CPU: 0 PID: 4167 at fs/udf/udfdecl.h:127 udf_add_free_space fs/udf/balloc.c:137 [inline]
WARNING: CPU: 0 PID: 4167 at fs/udf/udfdecl.h:127 udf_table_free_blocks fs/udf/balloc.c:397 [inline]
WARNING: CPU: 0 PID: 4167 at fs/udf/udfdecl.h:127 udf_free_blocks+0x149e/0x1760 fs/udf/balloc.c:686
Modules linked in:
CPU: 1 PID: 4167 Comm: syz-executor283 Not tainted 5.15.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:udf_updated_lvid fs/udf/udfdecl.h:125 [inline]
RIP: 0010:udf_add_free_space fs/udf/balloc.c:137 [inline]
RIP: 0010:udf_table_free_blocks fs/udf/balloc.c:397 [inline]
RIP: 0010:udf_free_blocks+0x149e/0x1760 fs/udf/balloc.c:686
Code: f8 55 b5 fe 48 8b 9c 24 70 01 00 00 48 85 db 74 0a e8 e6 55 b5 fe e9 61 ff ff ff e8 dc 55 b5 fe e9 66 ff ff ff e8 d2 55 b5 fe <0f> 0b e9 29 f6 ff ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c 25 ec ff
RSP: 0018:ffffc90002ddf620 EFLAGS: 00010293
RAX: ffffffff82c26b6e RBX: 1ffff920005bbf48 RCX: ffff88801a5ebb80
RDX: 0000000000000000 RSI: 00000000588311a2 RDI: 0000000000000000
RBP: ffffc90002ddf830 R08: dffffc0000000000 R09: fffff520005bbe7d
R10: fffff520005bbe7d R11: 1ffff920005bbe7c R12: dffffc0000000000
R13: ffff88807a5e2000 R14: 00000000588311a2 R15: ffff8880703ac01f
FS:  0000555569b37380(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc53c36b000 CR3: 00000000210b0000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 extent_trunc+0x357/0x440 fs/udf/truncate.c:56
 udf_truncate_extents+0x326/0xd70 fs/udf/truncate.c:212
 udf_setsize+0xd72/0x1090 fs/udf/inode.c:1183
 udf_evict_inode+0x74/0x3e0 fs/udf/inode.c:145
 evict+0x485/0x870 fs/inode.c:647
 do_unlinkat+0x3d8/0x6f0 fs/namei.c:4355
 __do_sys_unlink fs/namei.c:4396 [inline]
 __se_sys_unlink fs/namei.c:4394 [inline]
 __x64_sys_unlink+0x45/0x50 fs/namei.c:4394
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f141af48e17
Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe552988e8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f141af48e17
RDX: 00007ffe55298910 RSI: 00007ffe552989a0 RDI: 00007ffe552989a0
RBP: 00007ffe552989a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffe55299a90
R13: 0000555569b48740 R14: 431bde82d7b634db R15: 00007ffe5529bc10
 </TASK>

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/29 16:44 linux-5.15.y 98f47d0e9b8c 3d2f584d .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 WARNING in udf_free_blocks
2025/03/16 03:05 linux-5.15.y 0c935c049b5c e2826670 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in udf_free_blocks
2025/02/27 13:34 linux-5.15.y c16c81c81336 6a8fcbc4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in udf_free_blocks
2025/02/26 12:41 linux-5.15.y c16c81c81336 d34966d1 .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 WARNING in udf_free_blocks
2025/01/12 11:46 linux-5.15.y 4735586da88e 6dbc6a9b .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 WARNING in udf_free_blocks
2025/01/12 11:06 linux-5.15.y 4735586da88e 6dbc6a9b .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 WARNING in udf_free_blocks
2025/01/12 10:23 linux-5.15.y 4735586da88e 6dbc6a9b .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 WARNING in udf_free_blocks
2025/06/30 11:58 linux-5.15.y 3dea0e7f549e fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in udf_free_blocks
2025/04/30 18:35 linux-5.15.y f7347f400572 85a5a23f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in udf_free_blocks
2025/04/30 18:34 linux-5.15.y f7347f400572 85a5a23f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in udf_free_blocks
2025/04/30 18:34 linux-5.15.y f7347f400572 85a5a23f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in udf_free_blocks
2025/02/22 20:57 linux-5.15.y c16c81c81336 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in udf_free_blocks
* Struck through repros no longer work on HEAD.