------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 1093 at fs/buffer.c:1235 __brelse fs/buffer.c:1235 [inline] WARNING: CPU: 1 PID: 1093 at fs/buffer.c:1235 __brelse+0x6d/0xb0 fs/buffer.c:1229 Modules linked in: CPU: 1 PID: 1093 Comm: kworker/u32:7 Not tainted 6.9.0-rc4-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Workqueue: netns cleanup_net RIP: 0010:__brelse fs/buffer.c:1235 [inline] RIP: 0010:__brelse+0x6d/0xb0 fs/buffer.c:1229 Code: 84 d2 75 52 44 8b 63 60 31 ff 44 89 e6 e8 bb ac 82 ff 45 85 e4 75 20 e8 d1 b1 82 ff 90 48 c7 c7 20 f3 1d 8b e8 54 20 45 ff 90 <0f> 0b 90 90 5b 5d 41 5c e9 b6 b1 82 ff e8 b1 b1 82 ff be 04 00 00 RSP: 0018:ffffc900008a0f40 EFLAGS: 00010082 RAX: 0000000000000000 RBX: ffff88804807f3a0 RCX: ffffffff81503349 RDX: ffff888023250000 RSI: ffffffff81503356 RDI: 0000000000000001 RBP: ffff88804807f400 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000004 R12: 0000000000000000 R13: ffff88804807f3a0 R14: dffffc0000000000 R15: ffffffff820b11b0 FS: 0000000000000000(0000) GS:ffff88806b300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f834f80f000 CR3: 000000001eec0000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: brelse include/linux/buffer_head.h:309 [inline] __invalidate_bh_lrus fs/buffer.c:1487 [inline] invalidate_bh_lru+0xa2/0x190 fs/buffer.c:1500 csd_do_func kernel/smp.c:133 [inline] __flush_smp_call_function_queue+0x27a/0x8c0 kernel/smp.c:511 __sysvec_call_function+0x8c/0x410 arch/x86/kernel/smp.c:262 instr_sysvec_call_function arch/x86/kernel/smp.c:257 [inline] sysvec_call_function+0x90/0xb0 arch/x86/kernel/smp.c:257 asm_sysvec_call_function+0x1a/0x20 arch/x86/include/asm/idtentry.h:710 RIP: 0010:lock_acquire+0x1f2/0x560 kernel/locking/lockdep.c:5722 Code: c1 05 fa 9e 96 7e 83 f8 01 0f 85 ea 02 00 00 9c 58 f6 c4 02 0f 85 d5 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc9000415f980 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff9200082bf32 RCX: 000000002ce2c1f7 RDX: 0000000000000001 RSI: ffffffff8b0cb0e0 RDI: ffffffff8b6f4de0 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff27ba430 R10: ffffffff93dd2187 R11: 0000000000000003 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8d7b0e20 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:329 [inline] rcu_read_lock include/linux/rcupdate.h:781 [inline] inet_twsk_purge+0x126/0x8f0 net/ipv4/inet_timewait_sock.c:277 tcp_twsk_purge+0x125/0x170 net/ipv4/tcp_minisocks.c:401 ops_exit_list+0x128/0x180 net/core/net_namespace.c:175 cleanup_net+0x5b7/0xbf0 net/core/net_namespace.c:637 process_one_work+0x9a9/0x1ac0 kernel/workqueue.c:3254 process_scheduled_works kernel/workqueue.c:3335 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3416 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 ---------------- Code disassembly (best guess): 0: c1 05 fa 9e 96 7e 83 roll $0x83,0x7e969efa(%rip) # 0x7e969f01 7: f8 clc 8: 01 0f add %ecx,(%rdi) a: 85 ea test %ebp,%edx c: 02 00 add (%rax),%al e: 00 9c 58 f6 c4 02 0f add %bl,0xf02c4f6(%rax,%rbx,2) 15: 85 d5 test %edx,%ebp 17: 02 00 add (%rax),%al 19: 00 48 85 add %cl,-0x7b(%rax) 1c: ed in (%dx),%eax 1d: 74 01 je 0x20 1f: fb sti 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 48 01 c3 add %rax,%rbx <-- trapping instruction 2d: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) 34: 48 c7 43 08 00 00 00 movq $0x0,0x8(%rbx) 3b: 00 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 84 .byte 0x84 3f: 24 .byte 0x24