syzbot


WARNING in udf_add_free_space (2)

Status: auto-obsoleted due to no activity on 2023/10/18 10:54
Subsystems: udf
[Documentation on labels]
Reported-by: syzbot+4100f31f97d5a2276416@syzkaller.appspotmail.com
First crash: 296d, last: 296d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [udf?] WARNING in udf_add_free_space (2) 0 (1) 2023/07/14 11:06
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in udf_add_free_space udf 1 547d 543d 0/26 auto-obsoleted due to no activity on 2023/03/01 12:57
linux-4.19 WARNING in udf_add_free_space C error 5 519d 561d 0/1 upstream: reported C repro on 2022/10/19 03:44

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 10155 at fs/udf/udfdecl.h:121 udf_add_free_space.isra.0+0x1b2/0x200 fs/udf/udfdecl.h:121
Modules linked in:
CPU: 0 PID: 10155 Comm: syz-executor.1 Not tainted 6.5.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
RIP: 0010:udf_add_free_space.isra.0+0x1b2/0x200 fs/udf/udfdecl.h:121
Code: 02 84 c0 74 04 3c 03 7e 25 c7 83 50 01 00 00 01 00 00 00 5b 5d 41 5c 41 5d e9 5a c9 9e fe e8 55 c9 9e fe 0f 0b e8 4e c9 9e fe <0f> 0b eb b2 e8 75 ff f1 fe eb d4 e8 ee fe f1 fe e9 6b fe ff ff e8
RSP: 0018:ffffc9000a8cf768 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff8880177aac00 RCX: 0000000000000000
RDX: ffff8880307a5940 RSI: ffffffff82e61872 RDI: 0000000000000005
RBP: 0000000041105f00 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000041105f00 R11: 0000000000000001 R12: ffff888042aed000
R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880318d0e28
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f212dd88fb8 CR3: 000000002d003000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 udf_table_free_blocks fs/udf/balloc.c:403 [inline]
 udf_free_blocks+0x430/0x1330 fs/udf/balloc.c:681
 udf_discard_prealloc+0x47b/0x4e0 fs/udf/truncate.c:147
 udf_release_file fs/udf/file.c:184 [inline]
 udf_release_file+0xdc/0x110 fs/udf/file.c:174
 __fput+0x40c/0xad0 fs/file_table.c:384
 task_work_run+0x16f/0x270 kernel/task_work.c:179
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0xa9a/0x29a0 kernel/exit.c:874
 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024
 get_signal+0x249b/0x25f0 kernel/signal.c:2877
 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:308
 exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
 exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
 syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297
 ret_from_fork+0x15/0x30 arch/x86/entry/entry_64.S:301
RIP: 0033:0x7f1c8b28c389
Code: Unable to access opcode bytes at 0x7f1c8b28c35f.
RSP: 002b:00007f1c8c08b118 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: 0000000000000000 RBX: 00007f1c8b3abf80 RCX: 00007f1c8b28c389
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f1c8b2d7493 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe4ed07c0f R14: 00007f1c8c08b300 R15: 0000000000022000
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/10 10:54 upstream 06c2afb862f9 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in udf_add_free_space
* Struck through repros no longer work on HEAD.