------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 6461 at fs/buffer.c:1235 __brelse fs/buffer.c:1235 [inline] WARNING: CPU: 1 PID: 6461 at fs/buffer.c:1235 brelse include/linux/buffer_head.h:309 [inline] WARNING: CPU: 1 PID: 6461 at fs/buffer.c:1235 __invalidate_bh_lrus fs/buffer.c:1487 [inline] WARNING: CPU: 1 PID: 6461 at fs/buffer.c:1235 invalidate_bh_lru+0x102/0x1b0 fs/buffer.c:1500 Modules linked in: CPU: 1 PID: 6461 Comm: syz-executor.5 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__brelse fs/buffer.c:1235 [inline] RIP: 0010:brelse include/linux/buffer_head.h:309 [inline] RIP: 0010:__invalidate_bh_lrus fs/buffer.c:1487 [inline] RIP: 0010:invalidate_bh_lru+0x102/0x1b0 fs/buffer.c:1500 Code: 14 3f dd ff f0 ff 0b eb 25 e8 4a ed 79 ff 41 80 3c 2e 00 75 2a eb 30 e8 3c ed 79 ff 90 48 c7 c7 20 e3 b8 8b e8 5f c1 3c ff 90 <0f> 0b 90 90 48 bd 00 00 00 00 00 fc ff df 41 80 3c 2e 00 74 08 4c RSP: 0018:ffffc90000a08f30 EFLAGS: 00010046 RAX: 1a443d742fae7d00 RBX: ffff88805b4ce7a0 RCX: ffff888027cf5a00 RDX: 0000000080010002 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8157cc12 R09: 1ffff110172a51a2 R10: dffffc0000000000 R11: ffffed10172a51a3 R12: ffff8880b9539030 R13: 0000000000000000 R14: 1ffff110172a7206 R15: ffff8880b9539030 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6d15aca000 CR3: 000000005e152000 CR4: 0000000000350ef0 Call Trace: csd_do_func kernel/smp.c:133 [inline] __flush_smp_call_function_queue+0x3ee/0x15b0 kernel/smp.c:511 __sysvec_call_function_single+0xa8/0x3e0 arch/x86/kernel/smp.c:271 instr_sysvec_call_function_single arch/x86/kernel/smp.c:266 [inline] sysvec_call_function_single+0x9e/0xc0 arch/x86/kernel/smp.c:266 asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:709 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 4e 39 79 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 f3 e0 e5 f5 65 8b 05 44 c5 84 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc900035dfa80 EFLAGS: 00000206 RAX: 1a443d742fae7d00 RBX: 1ffff920006bbf54 RCX: ffffffff944dd603 RDX: dffffc0000000000 RSI: ffffffff8baac1e0 RDI: 0000000000000001 RBP: ffffc900035dfb10 R08: ffffffff8f873a6f R09: 1ffffffff1f0e74d R10: dffffc0000000000 R11: fffffbfff1f0e74e R12: dffffc0000000000 R13: 1ffff920006bbf50 R14: ffffc900035dfaa0 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] free_percpu+0xafd/0x1120 mm/percpu.c:2327 mm_destroy_cid include/linux/mm_types.h:1156 [inline] __mmdrop+0x28e/0x3d0 kernel/fork.c:925 exit_mm+0x220/0x310 kernel/exit.c:569 do_exit+0x99e/0x27e0 kernel/exit.c:865 do_group_exit+0x207/0x2c0 kernel/exit.c:1027 __do_sys_exit_group kernel/exit.c:1038 [inline] __se_sys_exit_group kernel/exit.c:1036 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1036 do_syscall_64+0xfd/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fe42827de69 Code: Unable to access opcode bytes at 0x7fe42827de3f. RSP: 002b:00007ffd4e385468 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007fe42827de69 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 00000000000008e1 R09: 0000000000000000 R10: 0000001b2dd20000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 ---------------- Code disassembly (best guess): 0: 9c pushf 1: 8f 44 24 20 pop 0x20(%rsp) 5: 42 80 3c 23 00 cmpb $0x0,(%rbx,%r12,1) a: 74 08 je 0x14 c: 4c 89 f7 mov %r14,%rdi f: e8 4e 39 79 f6 call 0xf6793962 14: f6 44 24 21 02 testb $0x2,0x21(%rsp) 19: 75 52 jne 0x6d 1b: 41 f7 c7 00 02 00 00 test $0x200,%r15d 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 f3 e0 e5 f5 call 0xf5e5e122 <-- trapping instruction 2f: 65 8b 05 44 c5 84 74 mov %gs:0x7484c544(%rip),%eax # 0x7484c57a 36: 85 c0 test %eax,%eax 38: 74 43 je 0x7d 3a: 48 rex.W 3b: c7 .byte 0xc7 3c: 04 24 add $0x24,%al 3e: 0e (bad) 3f: 36 ss