syzbot


WARNING in udf_add_free_space

Status: auto-obsoleted due to no activity on 2023/03/01 12:57
Subsystems: udf
[Documentation on labels]
Reported-by: syzbot+46e1bd3863f22513085b@syzkaller.appspotmail.com
First crash: 547d, last: 547d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in udf_add_free_space 0 (1) 2022/11/05 13:01
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in udf_add_free_space (2) udf 1 296d 292d 0/26 auto-obsoleted due to no activity on 2023/10/18 10:54
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: 3638 at fs/udf/udfdecl.h:114 udf_add_free_space.isra.0+0x1b2/0x200 fs/udf/udfdecl.h:114
Modules linked in:
CPU: 0 PID: 3638 Comm: syz-executor.5 Not tainted 6.1.0-rc2-syzkaller-00105-gb229b6ca5abb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
RIP: 0010:udf_add_free_space.isra.0+0x1b2/0x200 fs/udf/udfdecl.h:114
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 9a 83 a8 fe e8 95 83 a8 fe 0f 0b e8 8e 83 a8 fe <0f> 0b eb b2 e8 45 d4 f4 fe eb d4 e8 de d3 f4 fe e9 6b fe ff ff e8
RSP: 0018:ffffc9000465f608 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888037ff6400 RCX: 0000000000000000
RDX: ffff888023bb57c0 RSI: ffffffff82d418f2 RDI: 0000000000000005
RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 1ffffffff17f25f9 R12: ffff88802b2be000
R13: 0000000000000000 R14: 0000000000000020 R15: ffff88808b2a9490
FS:  00005555562f1400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe2c217f1b8 CR3: 000000008261b000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 udf_table_free_blocks fs/udf/balloc.c:384 [inline]
 udf_free_blocks+0x42c/0x15c0 fs/udf/balloc.c:662
 extent_trunc+0x348/0x3c0 fs/udf/truncate.c:56
 udf_truncate_extents+0x2d3/0x930 fs/udf/truncate.c:230
 udf_setsize+0x3de/0x1080 fs/udf/inode.c:1276
 udf_evict_inode+0x35c/0x580 fs/udf/inode.c:145
 evict+0x2ed/0x6b0 fs/inode.c:664
 iput_final fs/inode.c:1747 [inline]
 iput.part.0+0x59b/0x880 fs/inode.c:1773
 iput+0x58/0x70 fs/inode.c:1763
 udf_free_partition fs/udf/super.c:279 [inline]
 udf_sb_free_partitions.isra.0+0x325/0x560 fs/udf/super.c:306
 udf_put_super+0x133/0x220 fs/udf/super.c:2361
 generic_shutdown_super+0x154/0x410 fs/super.c:491
 kill_block_super+0x97/0xf0 fs/super.c:1427
 deactivate_locked_super+0x94/0x160 fs/super.c:331
 deactivate_super+0xad/0xd0 fs/super.c:362
 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1186
 task_work_run+0x16b/0x270 kernel/task_work.c:179
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
 exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:203
 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
 syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:296
 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f924548ca17
Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 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:00007ffc94d110d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f924548ca17
RDX: 00007ffc94d111ab RSI: 000000000000000a RDI: 00007ffc94d111a0
RBP: 00007ffc94d111a0 R08: 00000000ffffffff R09: 00007ffc94d10f70
R10: 00005555562f28b3 R11: 0000000000000246 R12: 00007f92454e5826
R13: 00007ffc94d12260 R14: 00005555562f2810 R15: 00007ffc94d122a0
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/01 12:56 upstream b229b6ca5abb a1d8560a .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.