loop0: detected capacity change from 0 to 4096 ------------[ cut here ]------------ kernel BUG at fs/buffer.c:1582! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5331 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 86 30 79 02 e9 42 ff ff ff e8 fc ba 75 ff 48 89 df 48 c7 c6 60 23 7a 8b e8 7d 95 dd fe 90 0f 0b e8 e5 ba 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:ffffc9000d3f78e8 EFLAGS: 00010283 RAX: ffffffff824a592b RBX: ffffea000142df80 RCX: 0000000000100000 RDX: ffffc9000e122000 RSI: 0000000000001018 RDI: 0000000000001019 RBP: dffffc0000000000 R08: ffffea000142df87 R09: 1ffffd4000285bf0 R10: dffffc0000000000 R11: fffff94000285bf1 R12: 0000000000000000 R13: 0000000000001000 R14: ffff88801c095910 R15: 0000000000001000 FS: 00007f11f92ee6c0(0000) GS:ffff88808d733000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f17acd8dd30 CR3: 0000000012713000 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 include/linux/buffer_head.h:346 [inline] readSuper+0xdb/0x270 fs/jfs/jfs_mount.c:461 chkSuper+0x5d/0xe00 fs/jfs/jfs_mount.c:299 jfs_mount+0x4b/0x870 fs/jfs/jfs_mount.c:83 jfs_fill_super+0x6bc/0xd80 fs/jfs/super.c:523 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:0x7f11f838efc9 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:00007f11f92ee038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f11f85e5fa0 RCX: 00007f11f838efc9 RDX: 0000200000000040 RSI: 0000200000000100 RDI: 0000200000000000 RBP: 00007f11f8411f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000010 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f11f85e6038 R14: 00007f11f85e5fa0 R15: 00007ffec50889a8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_set_bh+0x1dc/0x1e0 fs/buffer.c:1582 Code: 4c 89 e2 e8 86 30 79 02 e9 42 ff ff ff e8 fc ba 75 ff 48 89 df 48 c7 c6 60 23 7a 8b e8 7d 95 dd fe 90 0f 0b e8 e5 ba 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:ffffc9000d3f78e8 EFLAGS: 00010283 RAX: ffffffff824a592b RBX: ffffea000142df80 RCX: 0000000000100000 RDX: ffffc9000e122000 RSI: 0000000000001018 RDI: 0000000000001019 RBP: dffffc0000000000 R08: ffffea000142df87 R09: 1ffffd4000285bf0 R10: dffffc0000000000 R11: fffff94000285bf1 R12: 0000000000000000 R13: 0000000000001000 R14: ffff88801c095910 R15: 0000000000001000 FS: 00007f11f92ee6c0(0000) GS:ffff88808d733000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f11f92ccfc8 CR3: 0000000012713000 CR4: 0000000000352ef0