------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at mm/slub.c:4550 slab_free_after_rcu_debug+0x18b/0x270 mm/slub.c:4550
Modules linked in:
CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.11.0-rc1-next-20240802-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:ffffc90000007bc0 EFLAGS: 00010286
RAX: ffff88823bc00000 RBX: ffff8880216e4a00 RCX: 000000000004a000
RDX: ffffea0000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000007e30 R08: ffffffff8142b2ec R09: 1ffffffff26e8ce3
R10: dffffc0000000000 R11: ffffffff81f0bb80 R12: dffffc0000000000
R13: ffffffff817bd996 R14: ffff88823bc4a000 R15: ffffea000085b800
FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff88823ffff000 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:2569 [inline]
rcu_core+0xafd/0x1830 kernel/rcu/tree.c:2843
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:1043 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:check_kcov_mode kernel/kcov.c:193 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x37/0x70 kernel/kcov.c:216
Code: 80 d7 03 00 65 8b 15 20 ed 6f 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 1c 16 00 00 00 74 2c 8b 91 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
RSP: 0000:ffffc90000066950 EFLAGS: 00000246
RAX: ffffffff81411601 RBX: ffffc900000669c8 RCX: ffff8880176f0000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff814115f8 R09: ffffffff814130bf
R10: 0000000000000003 R11: ffff8880176f0000 R12: ffff8880176f0000
R13: ffffffff817f80a0 R14: dffffc0000000000 R15: 1ffff9200000cd39
unwind_get_return_address+0x71/0xc0 arch/x86/kernel/unwind_orc.c:369
arch_stack_walk+0x125/0x1b0 arch/x86/kernel/stacktrace.c:26
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
unpoison_slab_object mm/kasan/common.c:319 [inline]
__kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345
kasan_slab_alloc include/linux/kasan.h:237 [inline]
slab_post_alloc_hook mm/slub.c:4028 [inline]
slab_alloc_node mm/slub.c:4077 [inline]
kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4084
__proc_create+0x44f/0xa50 fs/proc/generic.c:425
proc_create_reg fs/proc/generic.c:552 [inline]
proc_create_single_data+0x127/0x250 fs/proc/generic.c:652
register_irq_proc+0x1d5/0x310 kernel/irq/proc.c:370
__setup_irq+0x13c2/0x1e20 kernel/irq/manage.c:1836
request_threaded_irq+0x2ab/0x380 kernel/irq/manage.c:2211
request_irq include/linux/interrupt.h:172 [inline]
vp_find_one_vq_msix+0x24d/0x510 drivers/virtio/virtio_pci_common.c:353
vp_find_vqs_msix+0x9dc/0xdf0 drivers/virtio/virtio_pci_common.c:417
vp_find_vqs+0x9e/0x780 drivers/virtio/virtio_pci_common.c:513
virtio_find_vqs include/linux/virtio_config.h:226 [inline]
virtscsi_init+0x6d4/0xae0 drivers/scsi/virtio_scsi.c:882
virtscsi_probe+0x3ea/0xf60 drivers/scsi/virtio_scsi.c:939
virtio_dev_probe+0x931/0xc00 drivers/virtio/virtio.c:308
really_probe+0x2b8/0xad0 drivers/base/dd.c:658
__driver_probe_device+0x1a2/0x390 drivers/base/dd.c:800
driver_probe_device+0x50/0x430 drivers/base/dd.c:830
__driver_attach+0x45f/0x710 drivers/base/dd.c:1216
bus_for_each_dev+0x239/0x2b0 drivers/base/bus.c:368
bus_add_driver+0x346/0x670 drivers/base/bus.c:673
driver_register+0x23a/0x320 drivers/base/driver.c:246
virtio_scsi_init+0x75/0xf0 drivers/scsi/virtio_scsi.c:1076
do_one_initcall+0x248/0x880 init/main.c:1267
do_initcall_level+0x157/0x210 init/main.c:1329
do_initcalls+0x3f/0x80 init/main.c:1345
kernel_init_freeable+0x435/0x5d0 init/main.c:1578
kernel_init+0x1d/0x2b0 init/main.c:1467
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: 80 d7 03 adc $0x3,%bh
3: 00 65 8b add %ah,-0x75(%rbp)
6: 15 20 ed 6f 7e adc $0x7e6fed20,%eax
b: 81 e2 00 01 ff 00 and $0xff0100,%edx
11: 74 11 je 0x24
13: 81 fa 00 01 00 00 cmp $0x100,%edx
19: 75 35 jne 0x50
1b: 83 b9 1c 16 00 00 00 cmpl $0x0,0x161c(%rcx)
22: 74 2c je 0x50
24: 8b 91 f8 15 00 00 mov 0x15f8(%rcx),%edx
* 2a: 83 fa 02 cmp $0x2,%edx <-- trapping instruction
2d: 75 21 jne 0x50
2f: 48 8b 91 00 16 00 00 mov 0x1600(%rcx),%rdx
36: 48 8b 32 mov (%rdx),%rsi
39: 48 8d 7e 01 lea 0x1(%rsi),%rdi
3d: 8b .byte 0x8b
3e: 89 fc mov %edi,%esp