------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 11 at fs/buffer.c:1229 __brelse fs/buffer.c:1229 [inline] WARNING: CPU: 1 PID: 11 at fs/buffer.c:1229 brelse include/linux/buffer_head.h:324 [inline] WARNING: CPU: 1 PID: 11 at fs/buffer.c:1229 __invalidate_bh_lrus fs/buffer.c:1498 [inline] WARNING: CPU: 1 PID: 11 at fs/buffer.c:1229 invalidate_bh_lru+0x102/0x1b0 fs/buffer.c:1511 Modules linked in: CPU: 1 UID: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.13.0-rc2-syzkaller-00031-gf92f4749861b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: netns cleanup_net RIP: 0010:__brelse fs/buffer.c:1229 [inline] RIP: 0010:brelse include/linux/buffer_head.h:324 [inline] RIP: 0010:__invalidate_bh_lrus fs/buffer.c:1498 [inline] RIP: 0010:invalidate_bh_lru+0x102/0x1b0 fs/buffer.c:1511 Code: a4 30 dc ff f0 ff 0b eb 25 e8 1a 58 78 ff 41 80 3c 2e 00 75 2a eb 30 e8 0c 58 78 ff 90 48 c7 c7 20 da 18 8c e8 df 00 39 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:ffffc90000a18f30 EFLAGS: 00010046 RAX: bb89d2fd31668000 RBX: ffff88807c79f7a0 RCX: ffff88801bee3c00 RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81600962 R09: 1ffff110170e519a R10: dffffc0000000000 R11: ffffed10170e519b R12: ffff8880b8739838 R13: 0000000000000000 R14: 1ffff110170e7307 R15: ffff8880b8739838 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbc5ac27095 CR3: 000000007e9a2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_do_func kernel/smp.c:134 [inline] __flush_smp_call_function_queue+0x3fc/0x1620 kernel/smp.c:540 __sysvec_call_function_single+0xb8/0x430 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 2e 39 40 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 53 77 aa f5 65 8b 05 c4 d9 40 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc90000107400 EFLAGS: 00000206 RAX: bb89d2fd31668000 RBX: 1ffff92000020e84 RCX: ffffffff817b117a RDX: dffffc0000000000 RSI: ffffffff8c0a9760 RDI: 0000000000000001 RBP: ffffc90000107490 R08: ffffffff9426d88f R09: 1ffffffff284db11 R10: dffffc0000000000 R11: fffffbfff284db12 R12: dffffc0000000000 R13: 1ffff92000020e80 R14: ffffc90000107420 R15: 0000000000000246 debug_object_activate+0x3f7/0x580 lib/debugobjects.c:836 debug_rcu_head_queue kernel/rcu/rcu.h:224 [inline] __call_rcu_common kernel/rcu/tree.c:3071 [inline] call_rcu+0x97/0xa70 kernel/rcu/tree.c:3190 kernfs_put+0x1dc/0x370 fs/kernfs/dir.c:578 kernfs_remove_by_name_ns+0xe4/0x160 fs/kernfs/dir.c:1695 kernfs_remove_by_name include/linux/kernfs.h:625 [inline] sysfs_unmerge_group+0xd3/0x130 fs/sysfs/group.c:402 rpm_sysfs_remove drivers/base/power/sysfs.c:827 [inline] dpm_sysfs_remove+0x74/0xc0 drivers/base/power/sysfs.c:836 device_del+0x291/0x9b0 drivers/base/core.c:3829 unregister_netdevice_many_notify+0x1859/0x1da0 net/core/dev.c:11562 cleanup_net+0x75d/0xcc0 net/core/net_namespace.c:627 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: 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 2e 39 40 f6 call 0xf6403942 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 53 77 aa f5 call 0xf5aa7782 <-- trapping instruction 2f: 65 8b 05 c4 d9 40 74 mov %gs:0x7440d9c4(%rip),%eax # 0x7440d9fa 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