------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 143 at fs/buffer.c:1145 __brelse fs/buffer.c:1145 [inline] WARNING: CPU: 1 PID: 143 at fs/buffer.c:1145 brelse+0x78/0xa0 include/linux/buffer_head.h:327 Modules linked in: CPU: 1 PID: 143 Comm: kworker/1:2 Not tainted 6.0.0-rc7-syzkaller-00081-gc3e0e1e23c70 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Workqueue: rcu_gp wait_rcu_exp_gp RIP: 0010:__brelse fs/buffer.c:1145 [inline] RIP: 0010:brelse+0x78/0xa0 include/linux/buffer_head.h:327 Code: df be 04 00 00 00 e8 07 1b e1 ff f0 ff 0b eb 1c e8 0d 25 8e ff eb 15 e8 06 25 8e ff 48 c7 c7 a0 9a 9d 8a 31 c0 e8 d8 b1 56 ff <0f> 0b 5b 5d c3 89 d9 80 e1 07 80 c1 03 38 c1 7c af 48 89 df e8 0f RSP: 0018:ffffc900001f0f18 EFLAGS: 00010046 RAX: 19966679b9000200 RBX: ffff888072065888 RCX: ffff88801c5c8000 RDX: 0000000080010002 RSI: 0000000080010002 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff816bd38d R09: ffffed1017364f14 R10: ffffed1017364f14 R11: 1ffff11017364f13 R12: 0000000000000000 R13: 1ffff11017367fe2 R14: ffff8880b9b35cf8 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff9a39af2f0 CR3: 000000000c88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __invalidate_bh_lrus+0x37/0x3c0 fs/buffer.c:1391 invalidate_bh_lru+0x66/0xb0 fs/buffer.c:1404 __flush_smp_call_function_queue+0x2bc/0xcc0 kernel/smp.c:631 __sysvec_call_function_single+0x62/0x70 arch/x86/kernel/smp.c:248 sysvec_call_function_single+0x8c/0xb0 arch/x86/kernel/smp.c:243 asm_sysvec_call_function_single+0x16/0x20 arch/x86/include/asm/idtentry.h:657 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xbc/0x120 kernel/locking/spinlock.c:194 Code: f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 3a b4 ae f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 6f 1e 30 f7 65 8b 05 60 a5 d6 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc9000298f900 EFLAGS: 00000206 RAX: 1ffff92000531f24 RBX: ffffffff8cb28388 RCX: ffffffff8168150a RDX: dffffc0000000000 RSI: ffffffff8a8d8fa0 RDI: 0000000000000001 RBP: ffffc9000298f990 R08: dffffc0000000000 R09: fffffbfff1fc100b R10: fffffbfff1fc100b R11: 1ffffffff1fc100a R12: dffffc0000000000 R13: 1ffff92000531f20 R14: ffffc9000298f920 R15: 0000000000000a02 spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] __wake_up_common_lock kernel/sched/wait.c:139 [inline] __wake_up+0x153/0x210 kernel/sched/wait.c:156 rcu_exp_wait_wake kernel/rcu/tree_exp.h:706 [inline] rcu_exp_sel_wait_wake+0x17c9/0x1cc0 kernel/rcu/tree_exp.h:722 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 ---------------- Code disassembly (best guess): 0: f0 48 c1 e8 03 lock shr $0x3,%rax 5: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) a: 74 08 je 0x14 c: 4c 89 f7 mov %r14,%rdi f: e8 3a b4 ae f7 callq 0xf7aeb44e 14: f6 44 24 21 02 testb $0x2,0x21(%rsp) 19: 75 4e jne 0x69 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 6f 1e 30 f7 callq 0xf7301e9e <-- trapping instruction 2f: 65 8b 05 60 a5 d6 75 mov %gs:0x75d6a560(%rip),%eax # 0x75d6a596 36: 85 c0 test %eax,%eax 38: 74 3f je 0x79 3a: 48 rex.W 3b: c7 .byte 0xc7 3c: 04 24 add $0x24,%al 3e: 0e (bad) 3f: 36 ss