syzbot


WARNING in udf_free_blocks

Status: upstream: reported on 2025/01/05 10:15
Reported-by: syzbot+ceb5c0f20fb1ee724414@syzkaller.appspotmail.com
First crash: 10d, last: 10d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in udf_free_blocks 1 247d 247d 0/3 auto-obsoleted due to no activity on 2024/08/21 03:04
upstream WARNING in udf_free_blocks (2) udf 1 392d 390d 0/28 auto-obsoleted due to no activity on 2024/03/29 02:59
linux-5.15 WARNING in udf_free_blocks (2) origin:upstream C 3 2d23h 3d01h 0/3 upstream: reported C repro on 2025/01/12 10:23
upstream WARNING in udf_free_blocks udf 6 522d 640d 0/28 auto-obsoleted due to no activity on 2023/11/20 09:23

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8248 at fs/udf/udfdecl.h:127 udf_add_free_space fs/udf/balloc.c:137 [inline]
WARNING: CPU: 1 PID: 8248 at fs/udf/udfdecl.h:127 udf_table_free_blocks fs/udf/balloc.c:397 [inline]
WARNING: CPU: 1 PID: 8248 at fs/udf/udfdecl.h:127 udf_free_blocks+0x1d2c/0x21e0 fs/udf/balloc.c:686
Modules linked in:
CPU: 1 PID: 8248 Comm: syz.6.594 Not tainted 6.1.123-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
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+0x1d2c/0x21e0 fs/udf/balloc.c:686
Code: 5e da fe e9 d1 e3 ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 3d e4 ff ff 48 89 df e8 be 5e da fe e9 30 e4 ff ff e8 b4 ca 82 fe <0f> 0b e9 c5 ed ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 58 e4
RSP: 0018:ffffc90005da7400 EFLAGS: 00010293
RAX: ffffffff8307d14c RBX: 0000000042028000 RCX: ffff88802cd2d940
RDX: 0000000000000000 RSI: 0000000042028000 RDI: 0000000000000000
RBP: ffffc90005da7610 R08: ffffffff8307bf0b R09: fffffbfff1d360ee
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90005da7530
R13: dffffc0000000000 R14: ffff888029bf001c R15: ffff88804f670158
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f956e6a2f98 CR3: 0000000067a7d000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 udf_discard_prealloc+0x55c/0x860 fs/udf/truncate.c:151
 udf_release_file+0xb5/0x120 fs/udf/file.c:236
 __fput+0x3f6/0x8d0 fs/file_table.c:320
 task_work_run+0x246/0x300 kernel/task_work.c:203
 exit_task_work include/linux/task_work.h:39 [inline]
 do_exit+0xa6e/0x26a0 kernel/exit.c:871
 do_group_exit+0x202/0x2b0 kernel/exit.c:1021
 get_signal+0x16f7/0x17d0 kernel/signal.c:2871
 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871
 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303
 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa73bf85db7
Code: Unable to access opcode bytes at 0x7fa73bf85d8d.
RSP: 002b:00007fa73cd9de18 EFLAGS: 00000246 ORIG_RAX: 000000000000000b
RAX: 0000000000000000 RBX: 0000000001000000 RCX: 00007fa73bf85db7
RDX: 0000000000000000 RSI: 0000000008400000 RDI: 00007fa7317f7000
RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000001f675
R10: 0000000020000002 R11: 0000000000000246 R12: 0000000000000009
R13: 00007fa73cd9def0 R14: 00007fa73cd9deb0 R15: 00007fa7317f7000
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/05 10:14 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_free_blocks
* Struck through repros no longer work on HEAD.