------------[ cut here ]------------
VFS: brelse: Trying to free free buffer
WARNING: CPU: 1 PID: 62 at fs/buffer.c:1229 __brelse fs/buffer.c:1229 [inline]
WARNING: CPU: 1 PID: 62 at fs/buffer.c:1229 brelse include/linux/buffer_head.h:324 [inline]
WARNING: CPU: 1 PID: 62 at fs/buffer.c:1229 __invalidate_bh_lrus fs/buffer.c:1498 [inline]
WARNING: CPU: 1 PID: 62 at fs/buffer.c:1229 invalidate_bh_lru+0x102/0x1b0 fs/buffer.c:1511
Modules linked in:
CPU: 1 UID: 0 PID: 62 Comm: kworker/u8:4 Not tainted 6.12.0-next-20241122-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: 44 ee da ff f0 ff 0b eb 25 e8 ba fa 6f ff 41 80 3c 2e 00 75 2a eb 30 e8 ac fa 6f ff 90 48 c7 c7 20 e1 18 8c e8 2f 99 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: c65bc595b34c3a00 RBX: ffff8880783fca58 RCX: ffff88801c7d8000
RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff81601b32 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: 00007f70982c11b8 CR3: 0000000030f46000 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:bytes_is_nonzero mm/kasan/generic.c:86 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:104 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x79/0x290 mm/kasan/generic.c:189
Code: 4d 89 c1 49 c1 e9 03 49 be 01 00 00 00 00 fc ff df 4f 8d 3c 31 4c 89 fd 4c 29 dd 48 83 fd 10 7f 29 48 85 ed 0f 84 3e 01 00 00 <4c> 89 cd 48 f7 d5 48 01 dd 41 80 3b 00 0f 85 c9 01 00 00 49 ff c3
RSP: 0018:ffffc9000153f020 EFLAGS: 00000202
RAX: ffffc9000153ff01 RBX: 1ffff920002a7e32 RCX: ffffffff814bb57b
RDX: 0000000000000001 RSI: 0000000000000010 RDI: ffffc9000153f190
RBP: 0000000000000002 R08: ffffc9000153f19f R09: 1ffff920002a7e33
R10: dffffc0000000000 R11: fffff520002a7e32 R12: ffffc90001540000
R13: ffffc9000153f140 R14: dffffc0000000001 R15: fffff520002a7e34
__asan_memset+0x23/0x50 mm/kasan/shadow.c:84
unwind_next_frame+0xcfb/0x22d0 arch/x86/kernel/unwind_orc.c:592
arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
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
kvfree_call_rcu+0xfc/0x790 kernel/rcu/tree.c:3820
drop_sysctl_table+0x3cb/0x570 fs/proc/proc_sysctl.c:1517
unregister_sysctl_table+0x41/0x60 fs/proc/proc_sysctl.c:1538
neigh_sysctl_unregister+0x78/0xa0 net/core/neighbour.c:3816
devinet_sysctl_unregister net/ipv4/devinet.c:2682 [inline]
inetdev_destroy net/ipv4/devinet.c:342 [inline]
inetdev_event+0x8a5/0x1550 net/ipv4/devinet.c:1663
notifier_call_chain+0x19f/0x3e0 kernel/notifier.c:85
call_netdevice_notifiers_extack net/core/dev.c:2034 [inline]
call_netdevice_notifiers net/core/dev.c:2048 [inline]
unregister_netdevice_many_notify+0xedd/0x1da0 net/core/dev.c:11520
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: 4d 89 c1 mov %r8,%r9
3: 49 c1 e9 03 shr $0x3,%r9
7: 49 be 01 00 00 00 00 movabs $0xdffffc0000000001,%r14
e: fc ff df
11: 4f 8d 3c 31 lea (%r9,%r14,1),%r15
15: 4c 89 fd mov %r15,%rbp
18: 4c 29 dd sub %r11,%rbp
1b: 48 83 fd 10 cmp $0x10,%rbp
1f: 7f 29 jg 0x4a
21: 48 85 ed test %rbp,%rbp
24: 0f 84 3e 01 00 00 je 0x168
* 2a: 4c 89 cd mov %r9,%rbp <-- trapping instruction
2d: 48 f7 d5 not %rbp
30: 48 01 dd add %rbx,%rbp
33: 41 80 3b 00 cmpb $0x0,(%r11)
37: 0f 85 c9 01 00 00 jne 0x206
3d: 49 ff c3 inc %r11