syzbot


WARNING in udf_free_blocks (2)

Status: auto-obsoleted due to no activity on 2024/03/29 02:59
Subsystems: udf
[Documentation on labels]
Reported-by: syzbot+f98c5f7049564fe07d91@syzkaller.appspotmail.com
First crash: 129d, last: 129d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [udf?] WARNING in udf_free_blocks (2) 0 (1) 2023/12/22 00:59
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in udf_free_blocks udf 6 258d 377d 0/26 auto-obsoleted due to no activity on 2023/11/20 09:23

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 31925 at fs/udf/udfdecl.h:123 udf_updated_lvid fs/udf/udfdecl.h:121 [inline]
WARNING: CPU: 0 PID: 31925 at fs/udf/udfdecl.h:123 udf_add_free_space fs/udf/balloc.c:121 [inline]
WARNING: CPU: 0 PID: 31925 at fs/udf/udfdecl.h:123 udf_table_free_blocks fs/udf/balloc.c:403 [inline]
WARNING: CPU: 0 PID: 31925 at fs/udf/udfdecl.h:123 udf_free_blocks+0x1d59/0x23c0 fs/udf/balloc.c:681
Modules linked in:
CPU: 0 PID: 31925 Comm: syz-executor.3 Not tainted 6.7.0-rc6-syzkaller-00022-g55cb5f43689d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/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_table_free_blocks fs/udf/balloc.c:403 [inline]
RIP: 0010:udf_free_blocks+0x1d59/0x23c0 fs/udf/balloc.c:681
Code: 00 e8 4b b6 e1 fe 48 8b 9c 24 70 01 00 00 48 85 db 74 07 e8 29 b1 85 fe eb b7 e8 22 b1 85 fe e9 48 e7 ff ff e8 18 b1 85 fe 90 <0f> 0b 90 e9 45 ef ff ff 89 d9 80 e1 07 fe c1 38 c1 0f 8c 70 e3 ff
RSP: 0018:ffffc900032575e0 EFLAGS: 00010287
RAX: ffffffff8308b648 RBX: 0000000000000d36 RCX: 0000000000040000
RDX: ffffc90010d7a000 RSI: 0000000000001426 RDI: 0000000000001427
RBP: ffffc900032577f0 R08: ffffffff8308a589 R09: 1ffffffff1e017ad
R10: dffffc0000000000 R11: fffffbfff1e017ae R12: ffff888029e898c0
R13: dffffc0000000000 R14: ffff88803f1f701c R15: ffff88807b818000
FS:  00007fb4fbde66c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb4fbde6d58 CR3: 0000000038a3b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 extent_trunc+0x390/0x4a0 fs/udf/truncate.c:52
 udf_truncate_extents+0x627/0x12d0 fs/udf/truncate.c:251
 udf_setsize+0x1015/0x1470 fs/udf/inode.c:1293
 udf_setattr+0x370/0x540 fs/udf/file.c:235
 notify_change+0xb99/0xe60 fs/attr.c:499
 do_truncate+0x220/0x300 fs/open.c:66
 do_sys_ftruncate+0x2f3/0x390 fs/open.c:194
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fb4fb07cbe9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fb4fbde60c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004d
RAX: ffffffffffffffda RBX: 00007fb4fb19c050 RCX: 00007fb4fb07cbe9
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000005
RBP: 00007fb4fb0c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fb4fb19c050 R15: 00007ffc4effc388
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/20 02:58 upstream 55cb5f43689d 3ad490ea .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.