[syzbot] WARNING in udf_table_free_blocks

7 views
Skip to first unread message

syzbot

unread,
Oct 20, 2022, 2:17:42 AM10/20/22
to ja...@suse.com, linux-...@vger.kernel.org, syzkall...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 493ffd6605b2 Merge tag 'ucount-rlimits-cleanups-for-v5.19'..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=136fead6880000
kernel config: https://syzkaller.appspot.com/x/.config?x=d19f5d16783f901
dashboard link: https://syzkaller.appspot.com/bug?extid=ff260305474b823e33a6
compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/f1ff6481e26f/disk-493ffd66.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/101bd3c7ae47/vmlinux-493ffd66.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+ff2603...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 0 PID: 3765 at fs/udf/udfdecl.h:116 udf_add_free_space fs/udf/balloc.c:102 [inline]
WARNING: CPU: 0 PID: 3765 at fs/udf/udfdecl.h:116 udf_table_free_blocks+0x14b6/0x1920 fs/udf/balloc.c:384
Modules linked in:
CPU: 0 PID: 3765 Comm: syz-executor.1 Not tainted 6.0.0-syzkaller-09423-g493ffd6605b2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:udf_updated_lvid fs/udf/udfdecl.h:114 [inline]
RIP: 0010:udf_add_free_space fs/udf/balloc.c:102 [inline]
RIP: 0010:udf_table_free_blocks+0x14b6/0x1920 fs/udf/balloc.c:384
Code: 89 ff e8 bd ec e5 fe 48 8b 9c 24 70 01 00 00 48 85 db 74 07 e8 fb 81 92 fe eb bc e8 f4 81 92 fe e9 2d ed ff ff e8 ea 81 92 fe <0f> 0b e9 fa ee ff ff 89 f9 80 e1 07 fe c1 38 c1 0f 8c 64 ec ff ff
RSP: 0018:ffffc900057df500 EFLAGS: 00010293
RAX: ffffffff82f3ff66 RBX: 0000000000000001 RCX: ffff888024a7bb00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900057df708 R08: ffffffff82f3ee55 R09: fffffbfff1c19fde
R10: fffffbfff1c19fde R11: 1ffffffff1c19fdd R12: dffffc0000000000
R13: ffff8880968ba01c R14: ffff88807aeea678 R15: 1ffff92000afbf30
FS: 0000555556550400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00ebc4a80 CR3: 000000004cb15000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
udf_free_blocks+0x1b2/0x240 fs/udf/balloc.c:662
extent_trunc+0x3ae/0x4b0 fs/udf/truncate.c:56
udf_truncate_extents+0x38d/0x11c0 fs/udf/truncate.c:230
udf_setsize+0xeb9/0x1290 fs/udf/inode.c:1282
udf_evict_inode+0x74/0x410 fs/udf/inode.c:145
evict+0x2a4/0x620 fs/inode.c:664
udf_free_partition fs/udf/super.c:279 [inline]
udf_sb_free_partitions+0x134/0x570 fs/udf/super.c:306
udf_put_super+0x10f/0x160 fs/udf/super.c:2361
generic_shutdown_super+0x130/0x310 fs/super.c:491
kill_block_super+0x79/0xd0 fs/super.c:1427
deactivate_locked_super+0xa7/0xf0 fs/super.c:331
cleanup_mnt+0x4ce/0x560 fs/namespace.c:1186
task_work_run+0x146/0x1c0 kernel/task_work.c:177
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0x124/0x150 kernel/entry/common.c:169
exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:201
__syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:294
do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f20fc08ca17
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:00007ffebd6ce1e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f20fc08ca17
RDX: 00007ffebd6ce2bb RSI: 000000000000000a RDI: 00007ffebd6ce2b0
RBP: 00007ffebd6ce2b0 R08: 00000000ffffffff R09: 00007ffebd6ce080
R10: 00005555565518b3 R11: 0000000000000246 R12: 00007f20fc0e55f6
R13: 00007ffebd6cf370 R14: 0000555556551810 R15: 00007ffebd6cf3b0
</TASK>


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Mar 13, 2023, 9:07:46 AM3/13/23
to syzkall...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages