------------[ cut here ]------------
WARNING: CPU: 1 PID: 1 at mm/slub.c:4550 slab_free_after_rcu_debug+0x18b/0x270 mm/slub.c:4550
Modules linked in:
CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.11.0-rc2-next-20240809-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:slab_free_after_rcu_debug+0x18b/0x270 mm/slub.c:4550
Code: 48 89 04 19 48 8d 4a 08 49 8b 34 24 65 48 0f c7 0e 75 c8 4c 89 f7 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d e9 36 55 ff ff 90 <0f> 0b 90 eb 92 90 0f 0b 90 eb 8c 90 0f 0b 90 eb 86 41 8b 54 24 1c
RSP: 0000:ffffc90000a18bc0 EFLAGS: 00010286
RAX: ffff88823be00000 RBX: ffff888020ab8dc0 RCX: 00000000000d2fe0
RDX: ffffea0000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000a18e30 R08: ffffffff8142e7cc R09: 1ffffffff26eb903
R10: dffffc0000000000 R11: ffffffff81f13a00 R12: ffffffff817c10e7
R13: ffff88823bed2fe8 R14: ffff88823bed2fe0 R15: ffffea000082ae00
FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000000e734000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_do_batch kernel/rcu/tree.c:2567 [inline]
rcu_core+0xaaa/0x17a0 kernel/rcu/tree.c:2823
handle_softirqs+0x2c4/0x970 kernel/softirq.c:554
__do_softirq kernel/softirq.c:588 [inline]
invoke_softirq kernel/softirq.c:428 [inline]
__irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637
irq_exit_rcu+0x9/0x30 kernel/softirq.c:649
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1037
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__sanitizer_cov_trace_pc+0x5d/0x70 kernel/kcov.c:234
Code: f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 48 8d 7e 01 8b 89 fc 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90
RSP: 0000:ffffc900000673a0 EFLAGS: 00000293
RAX: ffffffff81414dcc RBX: 0000000000000005 RCX: ffff888017eb0000
RDX: 0000000000000000 RSI: ffffffff8bbd89c2 RDI: ffffffff8bbd8949
RBP: 1ffff9200000ce90 R08: ffffffff81414c60 R09: ffffc90000067570
R10: 0000000000000003 R11: ffffffff817fb7c0 R12: ffffffff90940844
R13: dffffc0000000000 R14: 1ffff9200000ce90 R15: ffffffff913e756c
unwind_next_frame+0x67c/0x2a00 arch/x86/kernel/unwind_orc.c:495
arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:47 [inline]
kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579
poison_slab_object mm/kasan/common.c:247 [inline]
__kasan_slab_free+0x60/0x70 mm/kasan/common.c:264
kasan_slab_free include/linux/kasan.h:220 [inline]
slab_free_hook mm/slub.c:2292 [inline]
slab_free mm/slub.c:4513 [inline]
kmem_cache_free+0x180/0x3b0 mm/slub.c:4615
__merge_or_add_vmap_area mm/vmalloc.c:1432 [inline]
merge_or_add_vmap_area_augment mm/vmalloc.c:1458 [inline]
reclaim_list_global+0x12af/0x1350 mm/vmalloc.c:2126
decay_va_pool_node+0xf68/0xfc0 mm/vmalloc.c:2187
__purge_vmap_area_lazy+0x15d/0xae0 mm/vmalloc.c:2265
_vm_unmap_aliases+0x79d/0x840 mm/vmalloc.c:2901
change_page_attr_set_clr+0x2fe/0xdb0 arch/x86/mm/pat/set_memory.c:1881
change_page_attr_set arch/x86/mm/pat/set_memory.c:1922 [inline]
set_memory_rw+0xa5/0xf0 arch/x86/mm/pat/set_memory.c:2130
free_init_pages arch/x86/mm/init.c:925 [inline]
free_kernel_image_pages arch/x86/mm/init.c:943 [inline]
free_initmem+0x83/0x110 arch/x86/mm/init.c:970
kernel_init+0x31/0x2b0 init/main.c:1476
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
----------------
Code disassembly (best guess):
0: f8 clc
1: 15 00 00 83 fa adc $0xfa830000,%eax
6: 02 75 21 add 0x21(%rbp),%dh
9: 48 8b 91 00 16 00 00 mov 0x1600(%rcx),%rdx
10: 48 8b 32 mov (%rdx),%rsi
13: 48 8d 7e 01 lea 0x1(%rsi),%rdi
17: 8b 89 fc 15 00 00 mov 0x15fc(%rcx),%ecx
1d: 48 39 cf cmp %rcx,%rdi
20: 73 08 jae 0x2a
22: 48 89 3a mov %rdi,(%rdx)
25: 48 89 44 f2 08 mov %rax,0x8(%rdx,%rsi,8)
* 2a: c3 ret <-- trapping instruction
2b: cc int3
2c: cc int3
2d: cc int3
2e: cc int3
2f: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1)
36: 00 00 00
39: 0f 1f 40 00 nopl 0x0(%rax)
3d: 90 nop
3e: 90 nop
3f: 90 nop