loop0: detected capacity change from 0 to 262144
=======================================================
WARNING: The mand mount option has been deprecated and
and is ignored by this kernel. Remove the mand
option from the mount to silence this warning.
=======================================================
BTRFS: device fsid 7e32c2af-f87a-45a1-bcba-64dea7c56a53 devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5324)
BTRFS info (device loop0): first mount of filesystem 7e32c2af-f87a-45a1-bcba-64dea7c56a53
BTRFS info (device loop0): using xxhash64 (xxhash64-generic) checksum algorithm
BTRFS info (device loop0): rebuilding free space tree
BTRFS info (device loop0): disabling free space tree
BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE (0x1)
BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2)
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 1
CPU: 0 UID: 0 PID: 5324 Comm: syz.0.0 Not tainted 6.13.0-syzkaller-09760-g69e858e0b8b2 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
fail_dump lib/fault-inject.c:73 [inline]
should_fail_ex+0x40a/0x550 lib/fault-inject.c:174
should_failslab+0xac/0x100 mm/failslab.c:46
slab_pre_alloc_hook mm/slub.c:4068 [inline]
slab_alloc_node mm/slub.c:4144 [inline]
kmem_cache_alloc_noprof+0x70/0x380 mm/slub.c:4171
alloc_extent_map+0x21/0xf0 fs/btrfs/extent_map.c:48
btrfs_create_io_em+0x234/0x660 fs/btrfs/inode.c:7201
btrfs_create_dio_extent+0x49/0x160 fs/btrfs/direct-io.c:148
btrfs_new_extent_direct fs/btrfs/direct-io.c:203 [inline]
btrfs_get_blocks_direct_write+0x96f/0xfa0 fs/btrfs/direct-io.c:320
btrfs_dio_iomap_begin+0xbb7/0x1180 fs/btrfs/direct-io.c:524
iomap_iter+0x697/0xf60 fs/iomap/iter.c:90
__iomap_dio_rw+0xeb9/0x25b0 fs/iomap/direct-io.c:702
btrfs_dio_write fs/btrfs/direct-io.c:774 [inline]
btrfs_direct_write+0x610/0xa30 fs/btrfs/direct-io.c:879
btrfs_do_write_iter+0x2a0/0x7b0 fs/btrfs/file.c:1376
iter_file_splice_write+0xbfa/0x1510 fs/splice.c:743
do_splice_from fs/splice.c:941 [inline]
direct_splice_actor+0x11b/0x220 fs/splice.c:1164
splice_direct_to_actor+0x586/0xc80 fs/splice.c:1108
do_splice_direct_actor fs/splice.c:1207 [inline]
do_splice_direct+0x289/0x3e0 fs/splice.c:1233
do_sendfile+0x564/0x8a0 fs/read_write.c:1363
__do_sys_sendfile64 fs/read_write.c:1424 [inline]
__se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1410
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:0x7feb81b8cda9
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:00007feb82ab1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007feb81da5fa0 RCX: 00007feb81b8cda9
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000005
RBP: 00007feb82ab1090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000800000009 R11: 0000000000000246 R12: 0000000000000002
R13: 0000000000000000 R14: 00007feb81da5fa0 R15: 00007ffe43277b28
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5324 at fs/btrfs/space-info.h:255 btrfs_space_info_update_bytes_may_use fs/btrfs/space-info.h:255 [inline]
WARNING: CPU: 0 PID: 5324 at fs/btrfs/space-info.h:255 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:287 [inline]
WARNING: CPU: 0 PID: 5324 at fs/btrfs/space-info.h:255 btrfs_free_reserved_data_space_noquota+0x2f0/0x510 fs/btrfs/delalloc-space.c:179
Modules linked in:
CPU: 0 UID: 0 PID: 5324 Comm: syz.0.0 Not tainted 6.13.0-syzkaller-09760-g69e858e0b8b2 #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:btrfs_space_info_update_bytes_may_use fs/btrfs/space-info.h:255 [inline]
RIP: 0010:btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:287 [inline]
RIP: 0010:btrfs_free_reserved_data_space_noquota+0x2f0/0x510 fs/btrfs/delalloc-space.c:179
Code: 00 00 74 08 48 89 df e8 4e 80 23 fe 48 8b 2b 48 89 ef 48 8b 5c 24 10 48 89 de e8 9b ed bc fd 48 39 dd 73 1d e8 31 eb bc fd 90 <0f> 0b 90 31 ed 48 8b 1c 24 43 80 7c 3d 00 00 0f 85 7a ff ff ff eb
RSP: 0018:ffffc9000d1def58 EFLAGS: 00010293
RAX: ffffffff8402818f RBX: 0000000000001000 RCX: ffff88801f79a440
RDX: 0000000000000000 RSI: 0000000000001000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff84028185 R09: 1ffffffff203680e
R10: dffffc0000000000 R11: fffffbfff203680f R12: fffffffffffff000
R13: 1ffff1100240350d R14: ffff88801201a800 R15: dffffc0000000000
FS: 00007feb82ab16c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000040680000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
btrfs_free_reserved_data_space+0xa2/0xe0 fs/btrfs/delalloc-space.c:199
btrfs_dio_iomap_begin+0x7c6/0x1180 fs/btrfs/direct-io.c:597
iomap_iter+0x697/0xf60 fs/iomap/iter.c:90
__iomap_dio_rw+0xeb9/0x25b0 fs/iomap/direct-io.c:702
btrfs_dio_write fs/btrfs/direct-io.c:774 [inline]
btrfs_direct_write+0x610/0xa30 fs/btrfs/direct-io.c:879
btrfs_do_write_iter+0x2a0/0x7b0 fs/btrfs/file.c:1376
iter_file_splice_write+0xbfa/0x1510 fs/splice.c:743
do_splice_from fs/splice.c:941 [inline]
direct_splice_actor+0x11b/0x220 fs/splice.c:1164
splice_direct_to_actor+0x586/0xc80 fs/splice.c:1108
do_splice_direct_actor fs/splice.c:1207 [inline]
do_splice_direct+0x289/0x3e0 fs/splice.c:1233
do_sendfile+0x564/0x8a0 fs/read_write.c:1363
__do_sys_sendfile64 fs/read_write.c:1424 [inline]
__se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1410
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:0x7feb81b8cda9
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:00007feb82ab1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007feb81da5fa0 RCX: 00007feb81b8cda9
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000005
RBP: 00007feb82ab1090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000800000009 R11: 0000000000000246 R12: 0000000000000002
R13: 0000000000000000 R14: 00007feb81da5fa0 R15: 00007ffe43277b28