[syzbot] [udf?] WARNING in udf_expand_dir_adinicb (2)

6 views
Skip to first unread message

syzbot

unread,
May 26, 2025, 11:55:35 PM5/26/25
to ja...@suse.com, linux-...@vger.kernel.org, syzkall...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 94305e83eccb Merge tag 'pmdomain-v6.15-rc3' of git://git.k..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=17f16ad4580000
kernel config: https://syzkaller.appspot.com/x/.config?x=2081c3a965c46af8
dashboard link: https://syzkaller.appspot.com/bug?extid=545e45805722d117958f
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/1a34b8dc8a46/disk-94305e83.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/c681a228903b/vmlinux-94305e83.xz
kernel image: https://storage.googleapis.com/syzbot-assets/0e9a269fffc8/bzImage-94305e83.xz

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

UDF-fs: error (device loop1): udf_fiiter_advance_blk: extent after position 0 not allocated in directory (ino 1408)
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6313 at fs/udf/namei.c:214 udf_expand_dir_adinicb+0xbf6/0xf00 fs/udf/namei.c:214
Modules linked in:
CPU: 0 UID: 0 PID: 6313 Comm: syz.1.99 Not tainted 6.15.0-rc7-syzkaller-00099-g94305e83eccb #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:udf_expand_dir_adinicb+0xbf6/0xf00 fs/udf/namei.c:214
Code: 01 00 00 00 e8 8b 1f fe ff 8b 5c 24 60 e9 aa f6 ff ff e8 3d 15 80 fe 4c 89 ef e8 f5 cb 09 ff e9 ac f8 ff ff e8 2b 15 80 fe 90 <0f> 0b 90 e9 88 fe ff ff bb 8b ff ff ff e9 80 f6 ff ff bb f4 ff ff
RSP: 0018:ffffc900031cf400 EFLAGS: 00010283
RAX: 000000000000c8b9 RBX: 00000000ffffff8b RCX: ffffc9000d82f000
RDX: 0000000000080000 RSI: ffffffff833b3015 RDI: 0000000000000005
RBP: ffffc900031cf680 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffffff8b R11: 0000000000000000 R12: 00000000ffffff8b
R13: ffff888057f059f8 R14: 0000000000000000 R15: ffff888078f40180
FS: 00007f83ae78c6c0(0000) GS:ffff8881249e1000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f83ae749f98 CR3: 00000000304c8000 CR4: 0000000000350ef0
Call Trace:
<TASK>
udf_fiiter_add_entry+0xcf0/0x10d0 fs/udf/namei.c:262
udf_rename+0x902/0xd90 fs/udf/namei.c:843
vfs_rename+0xf64/0x2250 fs/namei.c:5121
do_renameat2+0x82b/0xc90 fs/namei.c:5270
__do_sys_renameat2 fs/namei.c:5304 [inline]
__se_sys_renameat2 fs/namei.c:5301 [inline]
__x64_sys_renameat2+0xe7/0x130 fs/namei.c:5301
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f83ad98e969
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f83ae78c038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
RAX: ffffffffffffffda RBX: 00007f83adbb5fa0 RCX: 00007f83ad98e969
RDX: 0000000000000004 RSI: 0000200000000080 RDI: ffffffffffffff9c
RBP: 00007f83ada10ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000200000000980 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f83adbb5fa0 R15: 00007ffc327b5ec8
</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.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
May 27, 2025, 3:11:36 AM5/27/25
to ja...@suse.com, linux-...@vger.kernel.org, syzkall...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 0ff41df1cb26 Linux 6.15
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=100ebdf4580000
kernel config: https://syzkaller.appspot.com/x/.config?x=d36610c9196ca06c
dashboard link: https://syzkaller.appspot.com/bug?extid=545e45805722d117958f
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12623170580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/a9580d21a471/disk-0ff41df1.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/07e34f19a1eb/vmlinux-0ff41df1.xz
kernel image: https://storage.googleapis.com/syzbot-assets/ba0789ed259f/bzImage-0ff41df1.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/f048818abd29/mount_0.gz

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

UDF-fs: error (device loop4): udf_fiiter_advance_blk: extent after position 0 not allocated in directory (ino 1408)
------------[ cut here ]------------
WARNING: CPU: 1 PID: 6315 at fs/udf/namei.c:214 udf_expand_dir_adinicb+0xbf6/0xf00 fs/udf/namei.c:214
Modules linked in:
CPU: 1 UID: 0 PID: 6315 Comm: syz.4.100 Not tainted 6.15.0-syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:udf_expand_dir_adinicb+0xbf6/0xf00 fs/udf/namei.c:214
Code: 01 00 00 00 e8 ab 1e fe ff 8b 5c 24 60 e9 aa f6 ff ff e8 0d 12 80 fe 4c 89 ef e8 c5 c8 09 ff e9 ac f8 ff ff e8 fb 11 80 fe 90 <0f> 0b 90 e9 88 fe ff ff bb 8b ff ff ff e9 80 f6 ff ff bb f4 ff ff
RSP: 0018:ffffc9000a8ef400 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 00000000ffffff8b RCX: ffffffff833b31ce
RDX: ffff888028135a00 RSI: ffffffff833b3345 RDI: 0000000000000005
RBP: ffffc9000a8ef680 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffffff8b R11: 0000000000000000 R12: 00000000ffffff8b
R13: ffff88805b37d740 R14: 0000000000000000 R15: ffff88806dd16de0
FS: 00007fbcfa36c6c0(0000) GS:ffff888124ae0000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f052b2a4000 CR3: 000000006e0ca000 CR4: 0000000000350ef0
Call Trace:
<TASK>
udf_fiiter_add_entry+0xcf0/0x10d0 fs/udf/namei.c:262
udf_rename+0x902/0xd90 fs/udf/namei.c:843
vfs_rename+0xf64/0x2250 fs/namei.c:5121
do_renameat2+0x82b/0xc90 fs/namei.c:5270
__do_sys_renameat2 fs/namei.c:5304 [inline]
__se_sys_renameat2 fs/namei.c:5301 [inline]
__x64_sys_renameat2+0xe7/0x130 fs/namei.c:5301
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbcf958e969
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fbcfa36c038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
RAX: ffffffffffffffda RBX: 00007fbcf97b5fa0 RCX: 00007fbcf958e969
RDX: 0000000000000004 RSI: 0000200000000080 RDI: ffffffffffffff9c
RBP: 00007fbcf9610ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000200000000980 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fbcf97b5fa0 R15: 00007ffc16b0f758
</TASK>


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
Reply all
Reply to author
Forward
0 new messages