lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <6758291f.050a0220.a30f1.01ce.GAE@google.com>
Date: Tue, 10 Dec 2024 03:42:23 -0800
From: syzbot <syzbot+76f08f4610b770486522@...kaller.appspotmail.com>
To: clm@...com, dsterba@...e.com, josef@...icpanda.com, 
	linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org, 
	syzkaller-bugs@...glegroups.com
Subject: [syzbot] [btrfs?] WARNING in create_pending_snapshot (2)

Hello,

syzbot found the following issue on:

HEAD commit:    5076001689e4 Merge tag 'loongarch-fixes-6.13-1' of git://g..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=14ead0f8580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=50c7a61469ce77e7
dashboard link: https://syzkaller.appspot.com/bug?extid=76f08f4610b770486522
compiler:       Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40

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

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/7feb34a89c2a/non_bootable_disk-50760016.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/76ef343a98c8/vmlinux-50760016.xz
kernel image: https://storage.googleapis.com/syzbot-assets/e42b3235bcc3/bzImage-50760016.xz

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

BTRFS error (device loop0): allocation failed flags 12, wanted 4096 tree-log 0, relocation: 0
BTRFS info (device loop0): space_info DATA+METADATA has 8323072 free, is full
BTRFS info (device loop0): space_info total=11534336, used=1114112, pinned=0, reserved=0, may_use=2097152, readonly=0 zone_unusable=0
BTRFS info (device loop0): global_block_rsv: size 1441792 reserved 1441792
BTRFS info (device loop0): trans_block_rsv: size 0 reserved 0
BTRFS info (device loop0): chunk_block_rsv: size 0 reserved 0
BTRFS info (device loop0): delayed_block_rsv: size 0 reserved 0
BTRFS info (device loop0): delayed_refs_rsv: size 0 reserved 0
BTRFS info (device loop0): block group 5242880 has 1638400 bytes, 1114112 used 0 pinned 0 reserved 0 delalloc 0 super 0 zone_unusable (524288 bytes available) 
BTRFS critical (device loop0): entry offset 5251072, bytes 36864, bitmap no
BTRFS critical (device loop0): entry offset 5308416, bytes 4096, bitmap no
BTRFS critical (device loop0): entry offset 5316608, bytes 45056, bitmap no
BTRFS critical (device loop0): entry offset 6443008, bytes 438272, bitmap no
BTRFS info (device loop0): block group has cluster?: no
BTRFS info (device loop0): 4 free space entries at or bigger than 4096 bytes
BTRFS info (device loop0): block group 6881280 has 1638400 bytes, 0 used 0 pinned 0 reserved 0 delalloc 0 super 0 zone_unusable (1638400 bytes available) 
BTRFS critical (device loop0): entry offset 6881280, bytes 1638400, bitmap no
BTRFS info (device loop0): block group has cluster?: no
BTRFS info (device loop0): 1 free space entries at or bigger than 4096 bytes
BTRFS info (device loop0): block group 8519680 has 8257536 bytes, 0 used 0 pinned 0 reserved 0 delalloc 0 super 0 zone_unusable (8257536 bytes available) 
BTRFS critical (device loop0): entry offset 8519680, bytes 8257536, bitmap no
BTRFS info (device loop0): block group has cluster?: no
BTRFS info (device loop0): 1 free space entries at or bigger than 4096 bytes
BTRFS info (device loop0): 10420224 bytes available across all block groups
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 0 PID: 5319 at fs/btrfs/transaction.c:1787 create_pending_snapshot+0x2502/0x2a10 fs/btrfs/transaction.c:1787
Modules linked in:
CPU: 0 UID: 0 PID: 5319 Comm: syz.0.0 Not tainted 6.13.0-rc1-syzkaller-00036-g5076001689e4 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:create_pending_snapshot+0x2502/0x2a10 fs/btrfs/transaction.c:1787
Code: 4b 8c 44 89 fe e8 0e 16 9d fd 90 0f 0b 90 90 e9 55 f9 ff ff e8 af 6e dc fd 90 48 c7 c7 e0 57 4b 8c 44 89 fe e8 ef 15 9d fd 90 <0f> 0b 90 90 e9 5b f9 ff ff e8 90 6e dc fd 90 48 c7 c7 e0 57 4b 8c
RSP: 0018:ffffc9000d3bf540 EFLAGS: 00010246
RAX: d3c4d91482e22a00 RBX: ffff88803f5f4001 RCX: ffff88801f728000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc9000d3bf830 R08: ffffffff81601c02 R09: fffffbfff1cfa210
R10: dffffc0000000000 R11: fffffbfff1cfa210 R12: dffffc0000000000
R13: ffff88800068e000 R14: 0000000000000000 R15: 00000000ffffffe4
FS:  00007f02809dd6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000011c06000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 create_pending_snapshots+0x195/0x1d0 fs/btrfs/transaction.c:1919
 btrfs_commit_transaction+0xf11/0x3720 fs/btrfs/transaction.c:2398
 create_snapshot+0x655/0x990 fs/btrfs/ioctl.c:875
 btrfs_mksubvol+0x58f/0x710 fs/btrfs/ioctl.c:1029
 btrfs_mksnapshot+0xae/0xf0 fs/btrfs/ioctl.c:1073
 __btrfs_ioctl_snap_create+0x37d/0x4b0 fs/btrfs/ioctl.c:1337
 btrfs_ioctl_snap_create_v2+0x1ef/0x390 fs/btrfs/ioctl.c:1418
 btrfs_ioctl+0xa07/0xcc0
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:906 [inline]
 __se_sys_ioctl+0xf5/0x170 fs/ioctl.c:892
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0280f7ff19
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:00007f02809dd058 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f0281146080 RCX: 00007f0280f7ff19
RDX: 0000000020001480 RSI: 0000000050009417 RDI: 0000000000000006
RBP: 00007f0280ff3986 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f0281146080 R15: 00007ffc49e40d48
 </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 syzkaller@...glegroups.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ