------------[ cut here ]------------ kernel BUG at fs/hfs/bnode.c:311! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 3 PID: 113 Comm: kswapd0 Not tainted 6.4.0-rc3-syzkaller-00008-gae8373a5add4 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:hfs_bnode_unhash+0xf7/0x1e0 fs/hfs/bnode.c:311 Code: 2b e8 cd 73 32 ff 48 8d 6b 20 48 89 e8 48 c1 e8 03 42 80 3c 28 00 0f 85 b3 00 00 00 48 8b 5b 20 48 85 db 75 d2 e8 a9 73 32 ff <0f> 0b e8 a2 73 32 ff e8 9d 73 32 ff 49 8d 7c 24 20 48 b8 00 00 00 RSP: 0018:ffffc90001fd7358 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888019c94800 RSI: ffffffff8251cf27 RDI: ffff888075764138 RBP: ffff888075764000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000094001 R12: ffff888060270900 R13: 0000000000000003 R14: ffffea000048a8c0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802c900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f737c0c4 CR3: 0000000023d1a000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_release_folio+0x45a/0x570 fs/hfs/inode.c:122 filemap_release_folio+0x13f/0x1b0 mm/filemap.c:4118 shrink_folio_list+0x2f51/0x3dc0 mm/vmscan.c:2077 evict_folios+0x794/0x1940 mm/vmscan.c:5158 try_to_shrink_lruvec+0x82c/0xb90 mm/vmscan.c:5334 shrink_one+0x462/0x710 mm/vmscan.c:5378 shrink_many mm/vmscan.c:5430 [inline] lru_gen_shrink_node mm/vmscan.c:5547 [inline] shrink_node+0x1fd5/0x3500 mm/vmscan.c:6488 kswapd_shrink_node mm/vmscan.c:7288 [inline] balance_pgdat+0xa02/0x1ac0 mm/vmscan.c:7478 kswapd+0x677/0xd60 mm/vmscan.c:7738 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfs_bnode_unhash+0xf7/0x1e0 fs/hfs/bnode.c:311 Code: 2b e8 cd 73 32 ff 48 8d 6b 20 48 89 e8 48 c1 e8 03 42 80 3c 28 00 0f 85 b3 00 00 00 48 8b 5b 20 48 85 db 75 d2 e8 a9 73 32 ff <0f> 0b e8 a2 73 32 ff e8 9d 73 32 ff 49 8d 7c 24 20 48 b8 00 00 00 RSP: 0018:ffffc90001fd7358 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888019c94800 RSI: ffffffff8251cf27 RDI: ffff888075764138 RBP: ffff888075764000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000094001 R12: ffff888060270900 R13: 0000000000000003 R14: ffffea000048a8c0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802c900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f737c0c4 CR3: 0000000023d1a000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400