syzbot


WARNING in udf_free_blocks

Status: auto-obsoleted due to no activity on 2023/11/20 09:23
Subsystems: udf
[Documentation on labels]
Reported-by: syzbot+80d8e23d89e3b1222382@syzkaller.appspotmail.com
First crash: 414d, last: 291d
Discussions (3)
Title Replies (including bot) Last reply
[syzbot] Monthly udf report (Jun 2023) 0 (1) 2023/06/07 09:22
[syzbot] Monthly udf report (May 2023) 0 (1) 2023/05/06 08:19
[syzbot] [udf?] WARNING in udf_free_blocks 0 (1) 2023/04/15 23:58
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in udf_free_blocks 1 16d 16d 0/3 upstream: reported on 2024/05/13 03:04
upstream WARNING in udf_free_blocks (2) udf 1 161d 160d 0/26 auto-obsoleted due to no activity on 2024/03/29 02:59

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3794 at fs/udf/udfdecl.h:123 udf_add_free_space fs/udf/balloc.c:121 [inline]
WARNING: CPU: 0 PID: 3794 at fs/udf/udfdecl.h:123 udf_bitmap_free_blocks fs/udf/balloc.c:178 [inline]
WARNING: CPU: 0 PID: 3794 at fs/udf/udfdecl.h:123 udf_free_blocks+0xa63/0x23c0 fs/udf/balloc.c:678
Modules linked in:
CPU: 0 PID: 3794 Comm: syz-executor.3 Not tainted 6.5.0-rc5-syzkaller-00296-gf8de32cc060b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:udf_updated_lvid fs/udf/udfdecl.h:121 [inline]
RIP: 0010:udf_add_free_space fs/udf/balloc.c:121 [inline]
RIP: 0010:udf_bitmap_free_blocks fs/udf/balloc.c:178 [inline]
RIP: 0010:udf_free_blocks+0xa63/0x23c0 fs/udf/balloc.c:678
Code: 04 ff 49 39 de 0f 83 a0 02 00 00 4c 01 7c 24 20 e8 12 a2 8b fe 48 8b 84 24 88 00 00 00 41 89 c7 e9 54 fb ff ff e8 fd a1 8b fe <0f> 0b e9 72 ff ff ff 48 8b 4c 24 78 80 e1 07 38 c1 0f 8c 4a fb ff
RSP: 0018:ffffc900323f7960 EFLAGS: 00010293
RAX: ffffffff83001633 RBX: 0000000010b802e1 RCX: ffff88802da45940
RDX: 0000000000000000 RSI: 0000000010b802e1 RDI: 0000000000000000
RBP: ffffc900323f7b70 R08: ffffffff8300159f R09: 1ffff11007b45406
R10: dffffc0000000000 R11: ffffed1007b45407 R12: ffff88808133fdc0
R13: dffffc0000000000 R14: ffff88808077301c R15: ffff88807cfc0628
FS:  00005555559f8480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555555ce2978 CR3: 000000002871d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 udf_discard_prealloc+0x53c/0x7a0 fs/udf/truncate.c:147
 udf_release_file+0xb9/0x120 fs/udf/file.c:184
 __fput+0x3f8/0x950 fs/file_table.c:384
 task_work_run+0x24a/0x300 kernel/task_work.c:179
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
 syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:297
 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe88ba7b9da
Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24
RSP: 002b:00007ffccee72300 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 000000000000000f RCX: 00007fe88ba7b9da
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000000000e
RBP: 00007fe88bb9d980 R08: 0000001b2f220000 R09: 0000000000000060
R10: 000000008184b56e R11: 0000000000000293 R12: 00000000002c9c86
R13: ffffffffffffffff R14: 00007fe88b600000 R15: 00000000002c9945
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/12 09:22 upstream f8de32cc060b 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_free_blocks
2023/05/24 15:55 upstream 9d646009f65d 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_free_blocks
2023/05/23 12:42 upstream ae8373a5add4 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_free_blocks
2023/05/11 18:26 upstream d295b66a7b66 0fbd49f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_free_blocks
2023/04/26 09:08 upstream 0cfd8703e7da 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_free_blocks
2023/04/11 23:47 upstream e62252bc55b6 49faf98d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_free_blocks
* Struck through repros no longer work on HEAD.