------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 0 PID: 63 at fs/buffer.c:1229 __brelse fs/buffer.c:1229 [inline] WARNING: CPU: 0 PID: 63 at fs/buffer.c:1229 brelse include/linux/buffer_head.h:324 [inline] WARNING: CPU: 0 PID: 63 at fs/buffer.c:1229 __invalidate_bh_lrus fs/buffer.c:1498 [inline] WARNING: CPU: 0 PID: 63 at fs/buffer.c:1229 invalidate_bh_lru+0x102/0x1b0 fs/buffer.c:1511 Modules linked in: CPU: 0 UID: 0 PID: 63 Comm: kworker/u8:5 Not tainted 6.13.0-rc1-next-20241205-syzkaller #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: 14 12 dc ff f0 ff 0b eb 25 e8 fa b5 75 ff 41 80 3c 2e 00 75 2a eb 30 e8 ec b5 75 ff 90 48 c7 c7 e0 ea 18 8c e8 ff 64 36 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:ffffc90000007f30 EFLAGS: 00010046 RAX: a4e87c46a327b500 RBX: ffff88807794a060 RCX: ffff88801c760000 RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81600dd2 R09: 1ffff110170c519a R10: dffffc0000000000 R11: ffffed10170c519b R12: ffff8880b86398d8 R13: 0000000000000000 R14: 1ffff110170c731b R15: ffff8880b86398d8 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efe53da9130 CR3: 000000007adca000 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:call_rcu+0x7a6/0xa70 kernel/rcu/tree.c:3191 Code: 3c 03 00 74 08 4c 89 ff e8 d7 9d 80 00 f6 84 24 81 00 00 00 02 75 5d 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <48> b8 00 00 00 00 00 fc ff df 4a c7 04 28 00 00 00 00 66 42 c7 44 RSP: 0018:ffffc9000214f4e0 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff92000429eac RCX: ffffffff817b0afa RDX: dffffc0000000000 RSI: ffffffff8c0a9240 RDI: ffffffff8c5fbe80 RBP: ffffc9000214f5f8 R08: ffffffff942b284f R09: 1ffffffff2856509 R10: dffffc0000000000 R11: fffffbfff285650a R12: 1ffff110170c7f45 R13: 1ffff92000429ea8 R14: 0000000000000246 R15: ffffc9000214f560 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] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xfe/0x2c0 fs/sysfs/group.c:322 sysfs_remove_groups+0x54/0xb0 fs/sysfs/group.c:346 device_remove_groups drivers/base/core.c:2819 [inline] device_remove_attrs+0x23a/0x290 drivers/base/core.c:2955 device_del+0x572/0x9b0 drivers/base/core.c:3853 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: 3c 03 cmp $0x3,%al 2: 00 74 08 4c add %dh,0x4c(%rax,%rcx,1) 6: 89 ff mov %edi,%edi 8: e8 d7 9d 80 00 call 0x809de4 d: f6 84 24 81 00 00 00 testb $0x2,0x81(%rsp) 14: 02 15: 75 5d jne 0x74 17: 41 f7 c6 00 02 00 00 test $0x200,%r14d 1e: 74 01 je 0x21 20: fb sti 21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp) 28: e0 45 * 2a: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax <-- trapping instruction 31: fc ff df 34: 4a c7 04 28 00 00 00 movq $0x0,(%rax,%r13,1) 3b: 00 3c: 66 data16 3d: 42 rex.X 3e: c7 .byte 0xc7 3f: 44 rex.R