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: 232d, last: 1d06h
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 239d 239d 0/3 auto-obsoleted due to no activity on 2025/04/15 10:15
linux-5.15 WARNING in udf_free_blocks -1 1 476d 476d 0/3 auto-obsoleted due to no activity on 2024/08/21 03:04
upstream WARNING in udf_free_blocks (2) udf -1 1 621d 619d 0/29 auto-obsoleted due to no activity on 2024/03/29 02:59
upstream WARNING in udf_free_blocks udf -1 6 751d 869d 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 3d10h 71d 0/3 upstream: reported C repro on 2025/06/22 21:08
Last patch testing requests (9)
Created Duration User Patch Repo Result
2025/08/19 11:55 9m retest repro linux-5.15.y report log
2025/08/19 11:55 10m retest repro linux-5.15.y report log
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
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/07/30 17:00 2h47m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4294 at fs/udf/udfdecl.h:127 udf_updated_lvid fs/udf/udfdecl.h:125 [inline]
WARNING: CPU: 0 PID: 4294 at fs/udf/udfdecl.h:127 udf_add_free_space fs/udf/balloc.c:137 [inline]
WARNING: CPU: 0 PID: 4294 at fs/udf/udfdecl.h:127 udf_bitmap_free_blocks fs/udf/balloc.c:183 [inline]
WARNING: CPU: 0 PID: 4294 at fs/udf/udfdecl.h:127 udf_free_blocks+0x82e/0x1760 fs/udf/balloc.c:683
Modules linked in:
CPU: 0 PID: 4294 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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_bitmap_free_blocks fs/udf/balloc.c:183 [inline]
RIP: 0010:udf_free_blocks+0x82e/0x1760 fs/udf/balloc.c:683
Code: 03 00 00 48 8b 84 24 c0 00 00 00 48 01 44 24 28 e8 07 1e b6 fe 48 8b 84 24 d0 00 00 00 41 89 c4 e9 0f fb ff ff e8 f2 1d b6 fe <0f> 0b e9 70 ff ff ff 48 8b 4c 24 68 80 e1 07 38 c1 0f 8c 11 fb ff
RSP: 0018:ffffc9000305f620 EFLAGS: 00010293
RAX: ffffffff82c1acbe RBX: 000000009d4b3a86 RCX: ffff888029360000
RDX: 0000000000000000 RSI: 000000009d4b3a86 RDI: 0000000000000000
RBP: ffffc9000305f830 R08: dffffc0000000000 R09: ffffed100d4c9805
R10: ffffed100d4c9805 R11: 1ffff1100d4c9804 R12: dffffc0000000000
R13: ffff888023480000 R14: ffff8880718fa2e0 R15: ffff88802992601f
FS:  000055556cd94500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f119ed96000 CR3: 000000001f641000 CR4: 00000000003506f0
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:0x7f86e9e26197
Code: 73 01 c3 48 c7 c1 a8 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff1bca37c8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f86e9e26197
RDX: 00007fff1bca37f0 RSI: 00007fff1bca3880 RDI: 00007fff1bca3880
RBP: 00007fff1bca3880 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000100 R11: 0000000000000206 R12: 00007fff1bca4970
R13: 00007f86e9ea9c05 R14: 0000000000014026 R15: 00007fff1bca6b30
 </TASK>

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/31 16:25 linux-5.15.y 01879f56bdde 807a3b61 .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/08/31 14:50 linux-5.15.y 01879f56bdde 807a3b61 .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/08/31 13:38 linux-5.15.y 01879f56bdde 807a3b61 .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/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.