Hello,
syzbot found the following issue on:
HEAD commit: e4d90d63d385 Linux 6.1.119
git tree: linux-6.1.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=17746f78580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=393f8074c5fb7ad6
dashboard link:
https://syzkaller.appspot.com/bug?extid=e5ebee3d2138bb902e31
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/3986cbf4f35a/disk-e4d90d63.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/d2963d16cebb/vmlinux-e4d90d63.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/a877a1a23701/Image-e4d90d63.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+e5ebee...@syzkaller.appspotmail.com
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4567 at fs/btrfs/inode.c:6544 btrfs_create_new_inode+0x1a48/0x2448 fs/btrfs/inode.c:6544
Modules linked in:
CPU: 1 PID: 4567 Comm: syz.4.48 Not tainted 6.1.119-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_create_new_inode+0x1a48/0x2448 fs/btrfs/inode.c:6544
lr : btrfs_create_new_inode+0x1a48/0x2448 fs/btrfs/inode.c:6544
sp : ffff800022fb77c0
x29: ffff800022fb79e0 x28: 00000000ffffffe4 x27: dfff800000000000
x26: ffff800022fb7a80 x25: ffff0000c0658a80 x24: ffff800022fb7960
x23: ffff7000045f6f14 x22: 0000000000000000 x21: 0000000000000000
x20: 1fffe000180cb15a x19: ffff0000c0658ad0 x18: ffff800022fb7080
x17: ffff800018b6a000 x16: ffff800012325074 x15: ffff80001864af80
x14: ffff0000d5e90a78 x13: dfff800000000000 x12: 0000000000080000
x11: 0000000000008344 x10: ffff800029a8b000 x9 : adfd931717dc6600
x8 : adfd931717dc6600 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff800008585a08
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000
Call trace:
btrfs_create_new_inode+0x1a48/0x2448 fs/btrfs/inode.c:6544
btrfs_create_common+0x1bc/0x2b8 fs/btrfs/inode.c:6773
btrfs_mkdir+0xc4/0xe8 fs/btrfs/inode.c:6911
vfs_mkdir+0x334/0x4e4 fs/namei.c:4106
do_mkdirat+0x220/0x510 fs/namei.c:4131
__do_sys_mkdirat fs/namei.c:4146 [inline]
__se_sys_mkdirat fs/namei.c:4144 [inline]
__arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4144
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204
el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 156
hardirqs last enabled at (155): [<ffff80000833d788>] console_trylock_spinning+0x1d0/0x300 kernel/printk/printk.c:1930
hardirqs last disabled at (156): [<ffff800012320d2c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (148): [<ffff8000081c1c58>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last enabled at (148): [<ffff8000081c1c58>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599
softirqs last disabled at (131): [<ffff800008020174>] __do_softirq+0x14/0x20 kernel/softirq.c:605
---[ end trace 0000000000000000 ]---
BTRFS info (device loop4: state EA): dumping space info:
BTRFS info (device loop4: state EA): space_info DATA+METADATA has 1912832 free, is full
BTRFS info (device loop4: state EA): space_info total=3276800, used=49152, pinned=0, reserved=0, may_use=1314816, readonly=0 zone_unusable=0
BTRFS info (device loop4: state EA): space_info SYSTEM has 12443648 free, is not full
BTRFS info (device loop4: state EA): space_info total=12451840, used=4096, pinned=0, reserved=4096, may_use=0, readonly=0 zone_unusable=0
BTRFS info (device loop4: state EA): global_block_rsv: size 983040 reserved 983040
BTRFS info (device loop4: state EA): trans_block_rsv: size 327680 reserved 327680
BTRFS info (device loop4: state EA): chunk_block_rsv: size 0 reserved 0
BTRFS info (device loop4: state EA): delayed_block_rsv: size 0 reserved 0
BTRFS info (device loop4: state EA): delayed_refs_rsv: size 131072 reserved 4096
BTRFS: error (device loop4: state EA) in btrfs_create_new_inode:6544: errno=-28 No space left
---
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