------------[ cut here ]------------
VFS: brelse: Trying to free free buffer
WARNING: CPU: 1 PID: 3557 at fs/buffer.c:1229 __brelse fs/buffer.c:1229 [inline]
WARNING: CPU: 1 PID: 3557 at fs/buffer.c:1229 brelse include/linux/buffer_head.h:324 [inline]
WARNING: CPU: 1 PID: 3557 at fs/buffer.c:1229 __invalidate_bh_lrus fs/buffer.c:1498 [inline]
WARNING: CPU: 1 PID: 3557 at fs/buffer.c:1229 invalidate_bh_lru+0x102/0x1b0 fs/buffer.c:1511
Modules linked in:
CPU: 1 UID: 0 PID: 3557 Comm: kworker/u8:7 Not tainted 6.12.0-next-20241119-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/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: e4 eb da ff f0 ff 0b eb 25 e8 ba f5 6f ff 41 80 3c 2e 00 75 2a eb 30 e8 ac f5 6f ff 90 48 c7 c7 e0 e0 18 8c e8 2f 94 30 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: a19ea77c60f03600 RBX: ffff88805e0e6ee0 RCX: ffff8880325d5a00
RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff81601a72 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: 00007ffc764ebf48 CR3: 000000005d734000 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/0x1690 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:deref_stack_reg arch/x86/kernel/unwind_orc.c:406 [inline]
RIP: 0010:unwind_next_frame+0xcad/0x22d0 arch/x86/kernel/unwind_orc.c:585
Code: e0 0f 86 7d 0c 00 00 4c 39 f0 0f 87 74 0c 00 00 4c 89 ef e8 a5 22 00 00 49 89 c6 48 bd 00 00 00 00 00 fc ff df 48 8b 44 24 30 <80> 3c 28 00 48 8b 5c 24 18 74 08 48 89 df e8 80 b8 be 00 4c 89 33
RSP: 0018:ffffc9000d2defd0 EFLAGS: 00000287
RAX: 1ffff92001a5be29 RBX: ffffc9000d2df110 RCX: 1ffff92001a5be20
RDX: ffffffff90a1549a RSI: 0000000000000002 RDI: ffffc9000d2df0f8
RBP: dffffc0000000000 R08: 0000000000000009 R09: 0000000000000000
R10: ffffc9000d2df100 R11: fffff52001a5be2c R12: ffffc9000d2e0000
R13: ffffc9000d2df0f8 R14: ffffffff81420065 R15: 1ffff92001a5be22
__unwind_start+0x59a/0x740 arch/x86/kernel/unwind_orc.c:760
unwind_start arch/x86/include/asm/unwind.h:64 [inline]
arch_stack_walk+0xe5/0x150 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
kasan_save_stack+0x3f/0x60 mm/kasan/common.c:47
__kasan_record_aux_stack+0xac/0xc0 mm/kasan/generic.c:544
__call_rcu_common kernel/rcu/tree.c:3086 [inline]
call_rcu+0x167/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]
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:11556
cleanup_net+0x75d/0xcc0 net/core/net_namespace.c:627
process_one_work kernel/workqueue.c:3229 [inline]
process_scheduled_works+0xa63/0x1850 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: e0 0f loopne 0x11
2: 86 7d 0c xchg %bh,0xc(%rbp)
5: 00 00 add %al,(%rax)
7: 4c 39 f0 cmp %r14,%rax
a: 0f 87 74 0c 00 00 ja 0xc84
10: 4c 89 ef mov %r13,%rdi
13: e8 a5 22 00 00 call 0x22bd
18: 49 89 c6 mov %rax,%r14
1b: 48 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%rbp
22: fc ff df
25: 48 8b 44 24 30 mov 0x30(%rsp),%rax
* 2a: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) <-- trapping instruction
2e: 48 8b 5c 24 18 mov 0x18(%rsp),%rbx
33: 74 08 je 0x3d
35: 48 89 df mov %rbx,%rdi
38: e8 80 b8 be 00 call 0xbeb8bd
3d: 4c 89 33 mov %r14,(%rbx)