rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P23305/1:b..l P2/1:b..l P23308/1:b..l rcu: (detected by 0, t=10502 jiffies, g=160033, q=1002 ncpus=1) task:syz.8.6121 state:R running task stack:25608 pid:23308 tgid:23308 ppid:13998 task_flags:0x40044c flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5527 [inline] __schedule+0x17dd/0x5940 kernel/sched/core.c:7295 preempt_schedule_common+0x7f/0xd0 kernel/sched/core.c:7474 preempt_schedule_thunk+0x16/0x40 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:201 [inline] _raw_spin_unlock+0x41/0x50 kernel/locking/spinlock.c:213 spin_unlock include/linux/spinlock.h:401 [inline] zap_pte_range mm/memory.c:2058 [inline] zap_pmd_range mm/memory.c:2114 [inline] zap_pud_range mm/memory.c:2142 [inline] zap_p4d_range mm/memory.c:2163 [inline] __zap_vma_range+0x40e1/0x4f70 mm/memory.c:2203 unmap_vmas+0x38b/0x550 mm/memory.c:2272 exit_mmap+0x293/0x9f0 mm/mmap.c:1315 __mmput+0x118/0x420 kernel/fork.c:1192 exit_mm+0x221/0x2d0 kernel/exit.c:614 do_exit+0x6cd/0x2360 kernel/exit.c:996 do_group_exit+0x22d/0x2f0 kernel/exit.c:1151 get_signal+0x1216/0x12c0 kernel/signal.c:3051 arch_do_signal_or_restart+0xbb/0x860 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x10e/0x770 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x328/0x520 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1c3bd9e159 RSP: 002b:00007fff6ab1ac88 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffff92 RBX: 00000000000e0b1f RCX: 00007f1c3bd9e159 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f1c3c025fac RBP: 0000000000000bea R08: 3fffffffffffffff R09: 0000000000000000 R10: 00007fff6ab1ad90 R11: 0000000000000246 R12: 00007fff6ab1adb0 R13: 00007f1c3c025fac R14: 00000000000e1709 R15: 00007fff6ab1ad90 task:kthreadd state:R running task stack:26040 pid:2 tgid:2 ppid:0 task_flags:0x208040 flags:0x00080000 Call Trace: context_switch kernel/sched/core.c:5527 [inline] __schedule+0x17dd/0x5940 kernel/sched/core.c:7295 preempt_schedule_irq+0x4b/0x90 kernel/sched/core.c:7575 irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:524 [inline] irqentry_exit+0x14f/0x910 kernel/entry/common.c:154 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:lock_release+0x2e1/0x3c0 kernel/locking/lockdep.c:5968 Code: 20 f3 11 00 00 00 00 eb b5 e8 ab 30 45 0a f7 c3 00 02 00 00 74 b9 65 48 8b 05 03 dc f2 11 48 3b 44 24 28 75 48 fb 48 83 c4 30 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc 48 8d 3d 38 24 da RSP: 0018:ffffc90000077328 EFLAGS: 00000286 RAX: 663927a66c3e9400 RBX: 0000000000000206 RCX: 0000000000000046 RDX: ffffc90000077401 RSI: ffffffff8e7079cc RDI: ffffffff8c6dc080 RBP: ffff88801dac4a58 R08: ffffc90000077930 R09: 0000000000000000 R10: ffffc90000077458 R11: fffff5200000ee8d R12: 0000000000000001 R13: 0000000000000001 R14: ffffffff8ed5db60 R15: ffff88801dac3e80 rcu_lock_release include/linux/rcupdate.h:319 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] class_rcu_destructor include/linux/rcupdate.h:1216 [inline] unwind_next_frame+0x1baa/0x2550 arch/x86/kernel/unwind_orc.c:709 arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122 save_stack+0x122/0x230 mm/page_owner.c:183 __reset_page_owner+0x73/0x2a0 mm/page_owner.c:338 reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1400 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2944 __slab_free+0x274/0x2c0 mm/slub.c:5859 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_kmalloc+0x22/0xb0 mm/kasan/common.c:406 kasan_kmalloc include/linux/kasan.h:263 [inline] __do_kmalloc_node mm/slub.c:5450 [inline] __kmalloc_noprof+0x366/0x710 mm/slub.c:5475 _kmalloc_noprof include/linux/slab.h:995 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] lsm_blob_alloc security/security.c:219 [inline] lsm_task_alloc security/security.c:271 [inline] security_task_alloc+0x4d/0x330 security/security.c:2798 copy_process+0x1c40/0x43e0 kernel/fork.c:2288 kernel_clone+0x2d7/0x940 kernel/fork.c:2765 kernel_thread+0x13f/0x1b0 kernel/fork.c:2826 create_kthread kernel/kthread.c:459 [inline] kthreadd+0x4ec/0x6e0 kernel/kthread.c:817 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 task:syz.5.6120 state:R running task stack:25608 pid:23305 tgid:23305 ppid:6632 task_flags:0x40044c flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5527 [inline] __schedule+0x17dd/0x5940 kernel/sched/core.c:7295 preempt_schedule_common+0x7f/0xd0 kernel/sched/core.c:7474 preempt_schedule_thunk+0x16/0x40 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:201 [inline] _raw_spin_unlock+0x41/0x50 kernel/locking/spinlock.c:213 spin_unlock include/linux/spinlock.h:401 [inline] zap_pte_range mm/memory.c:2058 [inline] zap_pmd_range mm/memory.c:2114 [inline] zap_pud_range mm/memory.c:2142 [inline] zap_p4d_range mm/memory.c:2163 [inline] __zap_vma_range+0x40e1/0x4f70 mm/memory.c:2203 unmap_vmas+0x38b/0x550 mm/memory.c:2272 exit_mmap+0x293/0x9f0 mm/mmap.c:1315 __mmput+0x118/0x420 kernel/fork.c:1192 exit_mm+0x221/0x2d0 kernel/exit.c:614 do_exit+0x6cd/0x2360 kernel/exit.c:996 do_group_exit+0x22d/0x2f0 kernel/exit.c:1151 get_signal+0x1216/0x12c0 kernel/signal.c:3051 arch_do_signal_or_restart+0xbb/0x860 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x10e/0x770 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x328/0x520 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fed7519e159 RSP: 002b:00007ffda89337a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffff92 RBX: 00000000000e099c RCX: 00007fed7519e159 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fed75425fac RBP: 0000000000000bea R08: 3fffffffffffffff R09: 0000000000000000 R10: 00007ffda89338b0 R11: 0000000000000246 R12: 00007ffda89338d0 R13: 00007fed75425fac R14: 00000000000e1586 R15: 00007ffda89338b0