loop0: detected capacity change from 0 to 32768 BTRFS: device fsid ed167579-eb65-4e76-9a50-61ac97e9b59d devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5319) BTRFS info (device loop0): first mount of filesystem ed167579-eb65-4e76-9a50-61ac97e9b59d BTRFS info (device loop0): using sha256 (sha256-lib) checksum algorithm BTRFS error (device loop0): failed to load root extent BTRFS error (device loop0): open_ctree failed: -5 ------------[ cut here ]------------ kernel BUG at fs/buffer.c:1582! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5319 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:folio_set_bh+0x1dc/0x1e0 fs/buffer.c:1582 Code: 4c 89 e2 e8 e6 2b 79 02 e9 42 ff ff ff e8 bc ab 75 ff 48 89 df 48 c7 c6 20 25 7a 8b e8 9d 86 dd fe 90 0f 0b e8 a5 ab 75 ff 90 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f RSP: 0018:ffffc9000d4d7750 EFLAGS: 00010287 RAX: ffffffff824a680b RBX: ffffea0000488fc0 RCX: 0000000000100000 RDX: ffffc9000e132000 RSI: 0000000000000e2d RDI: 0000000000000e2e RBP: dffffc0000000000 R08: ffffea0000488fc7 R09: 1ffffd40000911f8 R10: dffffc0000000000 R11: fffff940000911f9 R12: 0000000000000000 R13: 0000000000001000 R14: ffff88804268c1d0 R15: 0000000000001000 FS: 00007f0aa21eb6c0(0000) GS:ffff88808d730000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb18b840890 CR3: 0000000019ea8000 CR4: 0000000000352ef0 Call Trace: folio_alloc_buffers+0x3a0/0x640 fs/buffer.c:946 grow_dev_folio fs/buffer.c:1075 [inline] grow_buffers fs/buffer.c:1116 [inline] __getblk_slow fs/buffer.c:1134 [inline] bdev_getblk+0x286/0x660 fs/buffer.c:1461 __bread_gfp+0x89/0x3c0 fs/buffer.c:1515 sb_bread_unmovable include/linux/buffer_head.h:352 [inline] ntfs_bread+0xc2/0x1e0 fs/ntfs3/fsntfs.c:1033 ntfs_init_from_boot fs/ntfs3/super.c:937 [inline] ntfs_fill_super+0x63d/0x40b0 fs/ntfs3/super.c:1244 get_tree_bdev_flags+0x40e/0x4d0 fs/super.c:1691 vfs_get_tree+0x92/0x2b0 fs/super.c:1751 fc_mount fs/namespace.c:1208 [inline] do_new_mount_fc fs/namespace.c:3651 [inline] do_new_mount+0x302/0xa10 fs/namespace.c:3727 do_mount fs/namespace.c:4050 [inline] __do_sys_mount fs/namespace.c:4238 [inline] __se_sys_mount+0x313/0x410 fs/namespace.c:4215 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0aa138f6c9 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:00007f0aa21eb038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f0aa15e5fa0 RCX: 00007f0aa138f6c9 RDX: 0000200000000080 RSI: 00002000000000c0 RDI: 0000200000000280 RBP: 00007f0aa1411f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000080 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0aa15e6038 R14: 00007f0aa15e5fa0 R15: 00007ffd2e9a6258 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_set_bh+0x1dc/0x1e0 fs/buffer.c:1582 Code: 4c 89 e2 e8 e6 2b 79 02 e9 42 ff ff ff e8 bc ab 75 ff 48 89 df 48 c7 c6 20 25 7a 8b e8 9d 86 dd fe 90 0f 0b e8 a5 ab 75 ff 90 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f RSP: 0018:ffffc9000d4d7750 EFLAGS: 00010287 RAX: ffffffff824a680b RBX: ffffea0000488fc0 RCX: 0000000000100000 RDX: ffffc9000e132000 RSI: 0000000000000e2d RDI: 0000000000000e2e RBP: dffffc0000000000 R08: ffffea0000488fc7 R09: 1ffffd40000911f8 R10: dffffc0000000000 R11: fffff940000911f9 R12: 0000000000000000 R13: 0000000000001000 R14: ffff88804268c1d0 R15: 0000000000001000 FS: 00007f0aa21eb6c0(0000) GS:ffff88808d730000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f2dff1b358 CR3: 0000000019ea8000 CR4: 0000000000352ef0