rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=e01/1/0x4000000000000000 softirq=41369/41369 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5078/1:b..l (detected by 0, t=10502 jiffies, g=57093, q=51 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3765 Comm: syz-executor.1 Not tainted 5.19.0-rc3-syzkaller-00043-g3abc3ae553c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x7/0x60 kernel/kcov.c:200 Code: 4b 00 5d be 03 00 00 00 e9 66 27 82 02 66 0f 1f 44 00 00 48 8b be a8 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 65 8b 05 d9 c8 88 7e <89> c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 80 6f 02 00 a9 RSP: 0000:ffffc900003f8e38 EFLAGS: 00000097 RAX: 0000000080010001 RBX: ffff888076b77b40 RCX: ffffffff8169e51e RDX: ffff88803194e1c0 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000007 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 R13: ffff8880b9b2a600 R14: ffff8880b9b2a500 R15: ffffffff87889910 FS: 0000555555f43400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ef22000 CR3: 0000000076ee9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cpumask_test_cpu include/linux/cpumask.h:379 [inline] cpu_online include/linux/cpumask.h:921 [inline] trace_hrtimer_expire_entry include/trace/events/timer.h:235 [inline] __run_hrtimer kernel/time/hrtimer.c:1682 [inline] __hrtimer_run_queues+0x54d/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:finish_task_switch.isra.0+0x2b9/0xbb0 kernel/sched/core.c:5026 Code: 8b 3b 4c 89 f7 48 c7 03 00 00 00 00 ff d2 4d 85 ff 75 bd 4c 89 f7 e8 66 f8 ff ff e8 c1 73 2e 00 fb 65 48 8b 1c 25 80 6f 02 00 <48> 8d bb 80 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0000:ffffc900043efad0 EFLAGS: 00000202 RAX: 0000000000405989 RBX: ffff88803194e1c0 RCX: 1ffffffff1b755e9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900043efb18 R08: 0000000000000001 R09: 0000000000000001 R10: ffffed10173473f8 R11: 0000000000000001 R12: ffff8880b9b3ad18 R13: ffff888026a86100 R14: ffff8880b9b39fc0 R15: ffff8880b9b3a9f8 context_switch kernel/sched/core.c:5149 [inline] __schedule+0xa08/0x4b50 kernel/sched/core.c:6458 schedule+0xd2/0x1f0 kernel/sched/core.c:6530 freezable_schedule include/linux/freezer.h:172 [inline] do_nanosleep+0x24e/0x690 kernel/time/hrtimer.c:2044 hrtimer_nanosleep+0x1f9/0x4a0 kernel/time/hrtimer.c:2097 common_nsleep+0xa2/0xc0 kernel/time/posix-timers.c:1227 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1267 [inline] __se_sys_clock_nanosleep kernel/time/posix-timers.c:1245 [inline] __x64_sys_clock_nanosleep+0x2f4/0x430 kernel/time/posix-timers.c:1245 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f04eaeade31 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 aa e7 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 e3 e7 ff ff 48 8b 04 24 eb 97 66 2e 0f 1f RSP: 002b:00007ffd36720740 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 000000000000046d RCX: 00007f04eaeade31 RDX: 00007ffd36720780 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffd3672080c R08: 0000000000000000 R09: 00007ffd36773080 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 00000000000a4127 R14: 0000000000000000 R15: 00007ffd36720870 task:kworker/u4:15 state:R running task stack:26880 pid: 5078 ppid: 2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0xa00/0x4b50 kernel/sched/core.c:6458 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:6766 irqentry_exit+0x31/0x80 kernel/entry/common.c:428 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:lock_acquire+0x1ef/0x570 kernel/locking/lockdep.c:5633 Code: f1 a4 7e 83 f8 01 0f 85 e8 02 00 00 9c 58 f6 c4 02 0f 85 fb 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc9000421fa50 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff92000843f4c RCX: 5f0777ff128f5ad2 RDX: 1ffff1100e7f7d4b RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff9067a907 R10: fffffbfff20cf520 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff8bd840a0 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:269 [inline] rcu_read_lock include/linux/rcupdate.h:695 [inline] inet_twsk_purge+0x117/0x850 net/ipv4/inet_timewait_sock.c:269 ops_exit_list+0x125/0x170 net/core/net_namespace.c:167 cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:594 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g57093 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=25094 rcu: rcu_preempt kthread starved for 10502 jiffies! g57093 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:I stack:28824 pid: 17 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0xa00/0x4b50 kernel/sched/core.c:6458 schedule+0xd2/0x1f0 kernel/sched/core.c:6530 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1999 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2187 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3765 Comm: syz-executor.1 Not tainted 5.19.0-rc3-syzkaller-00043-g3abc3ae553c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:task_irq_context kernel/locking/lockdep.c:4562 [inline] RIP: 0010:__lock_acquire+0x325/0x5660 kernel/locking/lockdep.c:4991 Code: 74 24 40 49 89 44 24 18 65 8b 05 ae 56 a5 7e 85 c0 0f 95 c0 48 c1 e9 03 83 e6 07 0f b6 0c 11 48 89 f2 0f b6 c0 83 c2 03 01 c0 <38> ca 7c 08 84 c9 0f 85 7a 12 00 00 41 83 bd 44 0a 00 00 01 49 8d RSP: 0000:ffffc900003f8be0 EFLAGS: 00000002 RAX: 0000000000000002 RBX: ffff8880b9b2a518 RCX: 0000000000000000 RDX: 0000000000000007 RSI: 0000000000000004 RDI: ffff88803194ec30 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88803194ec20 R13: ffff88803194e1c0 R14: 0000000000000000 R15: 0000000000000001 FS: 0000555555f43400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ef22000 CR3: 0000000076ee9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5665 [inline] lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5630 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0x32/0x50 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x243/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:finish_task_switch.isra.0+0x2b9/0xbb0 kernel/sched/core.c:5026 Code: 8b 3b 4c 89 f7 48 c7 03 00 00 00 00 ff d2 4d 85 ff 75 bd 4c 89 f7 e8 66 f8 ff ff e8 c1 73 2e 00 fb 65 48 8b 1c 25 80 6f 02 00 <48> 8d bb 80 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0000:ffffc900043efad0 EFLAGS: 00000202 RAX: 0000000000405989 RBX: ffff88803194e1c0 RCX: 1ffffffff1b755e9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900043efb18 R08: 0000000000000001 R09: 0000000000000001 R10: ffffed10173473f8 R11: 0000000000000001 R12: ffff8880b9b3ad18 R13: ffff888026a86100 R14: ffff8880b9b39fc0 R15: ffff8880b9b3a9f8 context_switch kernel/sched/core.c:5149 [inline] __schedule+0xa08/0x4b50 kernel/sched/core.c:6458 schedule+0xd2/0x1f0 kernel/sched/core.c:6530 freezable_schedule include/linux/freezer.h:172 [inline] do_nanosleep+0x24e/0x690 kernel/time/hrtimer.c:2044 hrtimer_nanosleep+0x1f9/0x4a0 kernel/time/hrtimer.c:2097 common_nsleep+0xa2/0xc0 kernel/time/posix-timers.c:1227 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1267 [inline] __se_sys_clock_nanosleep kernel/time/posix-timers.c:1245 [inline] __x64_sys_clock_nanosleep+0x2f4/0x430 kernel/time/posix-timers.c:1245 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f04eaeade31 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 aa e7 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 e3 e7 ff ff 48 8b 04 24 eb 97 66 2e 0f 1f RSP: 002b:00007ffd36720740 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 000000000000046d RCX: 00007f04eaeade31 RDX: 00007ffd36720780 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffd3672080c R08: 0000000000000000 R09: 00007ffd36773080 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 00000000000a4127 R14: 0000000000000000 R15: 00007ffd36720870 watchdog: BUG: soft lockup - CPU#0 stuck for 248s! [syz-executor.3:10960] Modules linked in: irq event stamp: 102392 hardirqs last enabled at (102391): [] asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 hardirqs last disabled at (102392): [] sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (990): [] invoke_softirq kernel/softirq.c:445 [inline] softirqs last enabled at (990): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650 softirqs last disabled at (859): [] invoke_softirq kernel/softirq.c:445 [inline] softirqs last disabled at (859): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650 CPU: 0 PID: 10960 Comm: syz-executor.3 Not tainted 5.19.0-rc3-syzkaller-00043-g3abc3ae553c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:csd_lock_wait kernel/smp.c:414 [inline] RIP: 0010:smp_call_function_many_cond+0x499/0x1110 kernel/smp.c:988 Code: 01 89 ee e8 69 98 0a 00 85 ed 74 47 48 8b 04 24 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 fc 83 c5 03 e8 09 9c 0a 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 21 0a 00 00 8b 43 08 31 RSP: 0018:ffffc900034575e0 EFLAGS: 00000246 RAX: 0000000000040000 RBX: ffff8880b9b3f760 RCX: ffffc900038ab000 RDX: 0000000000040000 RSI: ffffffff816f0a57 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffed1017367eed R13: 0000000000000001 R14: 0000000000000001 R15: dffffc0000000000 FS: 00007f35daa4a700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000202bf002 CR3: 000000007812c000 CR4: 00000000003506f0 Call Trace: on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1154 __purge_vmap_area_lazy+0x1f6/0x1c50 mm/vmalloc.c:1701 _vm_unmap_aliases.part.0+0x3f0/0x500 mm/vmalloc.c:2125 _vm_unmap_aliases mm/vmalloc.c:2099 [inline] vm_unmap_aliases+0x45/0x50 mm/vmalloc.c:2148 change_page_attr_set_clr+0x241/0x500 arch/x86/mm/pat/set_memory.c:1732 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1789 [inline] set_memory_ro+0x78/0xa0 arch/x86/mm/pat/set_memory.c:1980 bpf_prog_lock_ro include/linux/filter.h:883 [inline] bpf_prog_select_runtime+0x504/0x640 kernel/bpf/core.c:2232 bpf_prog_load+0xfe6/0x2250 kernel/bpf/syscall.c:2579 __sys_bpf+0x11a1/0x5700 kernel/bpf/syscall.c:4917 __do_sys_bpf kernel/bpf/syscall.c:5021 [inline] __se_sys_bpf kernel/bpf/syscall.c:5019 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:5019 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f35d9889109 ================================ WARNING: inconsistent lock state 5.19.0-rc3-syzkaller-00043-g3abc3ae553c7 #0 Not tainted -------------------------------- inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage. syz-executor.3/10960 [HC1[1]:SC0[0]:HE0:SE1] takes: ffffffff8beb3318 (vmap_area_lock){?.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:349 [inline] ffffffff8beb3318 (vmap_area_lock){?.+.}-{2:2}, at: find_vmap_area+0x1c/0x130 mm/vmalloc.c:1805 {HARDIRQ-ON-W} state was registered at: lock_acquire kernel/locking/lockdep.c:5665 [inline] lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5630 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] alloc_vmap_area+0xa49/0x1f00 mm/vmalloc.c:1586 __get_vm_area_node+0x142/0x3f0 mm/vmalloc.c:2453 __vmalloc_node_range+0x250/0x13e0 mm/vmalloc.c:3125 __vmalloc_node mm/vmalloc.c:3230 [inline] __vmalloc+0x69/0x80 mm/vmalloc.c:3244 pcpu_mem_zalloc mm/percpu.c:516 [inline] pcpu_mem_zalloc+0x51/0xa0 mm/percpu.c:508 pcpu_alloc_chunk mm/percpu.c:1454 [inline] pcpu_create_chunk+0xd7/0x930 mm/percpu-vm.c:338 pcpu_alloc+0x1012/0x13d0 mm/percpu.c:1834 alloc_kmem_cache_cpus.constprop.0+0x29/0xc0 mm/slab.c:1729 do_tune_cpucache+0x37/0x230 mm/slab.c:3844 enable_cpucache+0x3c/0xa0 mm/slab.c:3938 kmem_cache_init_late+0x33/0x66 mm/slab.c:1276 start_kernel+0x2f5/0x48f init/main.c:1058 secondary_startup_64_no_verify+0xce/0xdb irq event stamp: 102392 hardirqs last enabled at (102391): [] asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 hardirqs last disabled at (102392): [] sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (990): [] invoke_softirq kernel/softirq.c:445 [inline] softirqs last enabled at (990): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650 softirqs last disabled at (859): [] invoke_softirq kernel/softirq.c:445 [inline] softirqs last disabled at (859): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(vmap_area_lock); lock(vmap_area_lock); *** DEADLOCK *** 1 lock held by syz-executor.3/10960: #0: ffffffff8beb2fe8 (vmap_purge_lock){+.+.}-{3:3}, at: _vm_unmap_aliases.part.0+0x382/0x500 mm/vmalloc.c:2123 stack backtrace: CPU: 0 PID: 10960 Comm: syz-executor.3 Not tainted 5.19.0-rc3-syzkaller-00043-g3abc3ae553c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 print_usage_bug kernel/locking/lockdep.c:3961 [inline] valid_state kernel/locking/lockdep.c:3973 [inline] mark_lock_irq kernel/locking/lockdep.c:4176 [inline] mark_lock.part.0.cold+0x18/0xd8 kernel/locking/lockdep.c:4632 mark_lock kernel/locking/lockdep.c:4596 [inline] mark_usage kernel/locking/lockdep.c:4524 [inline] __lock_acquire+0x14ad/0x5660 kernel/locking/lockdep.c:5007 lock_acquire kernel/locking/lockdep.c:5665 [inline] lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5630 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] find_vmap_area+0x1c/0x130 mm/vmalloc.c:1805 check_heap_object mm/usercopy.c:176 [inline] __check_object_size mm/usercopy.c:250 [inline] __check_object_size+0x1f8/0x700 mm/usercopy.c:212 check_object_size include/linux/thread_info.h:199 [inline] __copy_from_user_inatomic include/linux/uaccess.h:62 [inline] copy_from_user_nmi arch/x86/lib/usercopy.c:47 [inline] copy_from_user_nmi+0xcb/0x130 arch/x86/lib/usercopy.c:31 copy_code arch/x86/kernel/dumpstack.c:91 [inline] show_opcodes+0x59/0xb0 arch/x86/kernel/dumpstack.c:121 show_iret_regs+0xd/0x33 arch/x86/kernel/dumpstack.c:149 __show_regs+0x1e/0x60 arch/x86/kernel/process_64.c:74 show_trace_log_lvl+0x25b/0x2ba arch/x86/kernel/dumpstack.c:292 watchdog_timer_fn+0x469/0x5d0 kernel/watchdog.c:435 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:csd_lock_wait kernel/smp.c:414 [inline] RIP: 0010:smp_call_function_many_cond+0x499/0x1110 kernel/smp.c:988 Code: 01 89 ee e8 69 98 0a 00 85 ed 74 47 48 8b 04 24 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 fc 83 c5 03 e8 09 9c 0a 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 21 0a 00 00 8b 43 08 31 RSP: 0018:ffffc900034575e0 EFLAGS: 00000246 RAX: 0000000000040000 RBX: ffff8880b9b3f760 RCX: ffffc900038ab000 RDX: 0000000000040000 RSI: ffffffff816f0a57 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffed1017367eed R13: 0000000000000001 R14: 0000000000000001 R15: dffffc0000000000 on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1154 __purge_vmap_area_lazy+0x1f6/0x1c50 mm/vmalloc.c:1701 _vm_unmap_aliases.part.0+0x3f0/0x500 mm/vmalloc.c:2125 _vm_unmap_aliases mm/vmalloc.c:2099 [inline] vm_unmap_aliases+0x45/0x50 mm/vmalloc.c:2148 change_page_attr_set_clr+0x241/0x500 arch/x86/mm/pat/set_memory.c:1732 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1789 [inline] set_memory_ro+0x78/0xa0 arch/x86/mm/pat/set_memory.c:1980 bpf_prog_lock_ro include/linux/filter.h:883 [inline] bpf_prog_select_runtime+0x504/0x640 kernel/bpf/core.c:2232 bpf_prog_load+0xfe6/0x2250 kernel/bpf/syscall.c:2579 __sys_bpf+0x11a1/0x5700 kernel/bpf/syscall.c:4917 __do_sys_bpf kernel/bpf/syscall.c:5021 [inline] __se_sys_bpf kernel/bpf/syscall.c:5019 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:5019 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f35d9889109 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f35daa4a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f35d999bf60 RCX: 00007f35d9889109 RDX: 0000000000000048 RSI: 0000000020000100 RDI: 0000000000000005 RBP: 00007f35d98e305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffda101f71f R14: 00007f35daa4a300 R15: 0000000000022000 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f35daa4a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f35d999bf60 RCX: 00007f35d9889109 RDX: 0000000000000048 RSI: 0000000020000100 RDI: 0000000000000005 RBP: 00007f35d98e305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffda101f71f R14: 00007f35daa4a300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3765 Comm: syz-executor.1 Not tainted 5.19.0-rc3-syzkaller-00043-g3abc3ae553c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rb_erase_cached include/linux/rbtree.h:124 [inline] RIP: 0010:timerqueue_del+0xe5/0x140 lib/timerqueue.c:57 Code: 83 c4 08 5b 5d 41 5c c3 e8 a8 ce 58 fd 48 89 df e8 00 98 ff ff 4c 89 e1 48 ba 00 00 00 00 00 fc ff df 48 c1 e9 03 80 3c 11 00 <75> 40 48 89 45 08 eb 82 e8 7e ce 58 fd 0f 0b e9 4c ff ff ff 48 89 RSP: 0000:ffffc900003f8dd8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff888076b77b40 RCX: 1ffff110173654cb RDX: dffffc0000000000 RSI: ffffffff8420d7b8 RDI: ffff888076b77b48 RBP: ffff8880b9b2a650 R08: 0000000000000006 R09: 0000000000000001 R10: ffff888076b77b40 R11: 0000000000000001 R12: ffff8880b9b2a658 R13: 0000000000000000 R14: ffff8880b9b2a500 R15: 0000000000000000 FS: 0000555555f43400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ef22000 CR3: 0000000076ee9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __remove_hrtimer+0xa1/0x2a0 kernel/time/hrtimer.c:1116 __run_hrtimer kernel/time/hrtimer.c:1665 [inline] __hrtimer_run_queues+0x4ea/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:finish_task_switch.isra.0+0x2b9/0xbb0 kernel/sched/core.c:5026 Code: 8b 3b 4c 89 f7 48 c7 03 00 00 00 00 ff d2 4d 85 ff 75 bd 4c 89 f7 e8 66 f8 ff ff e8 c1 73 2e 00 fb 65 48 8b 1c 25 80 6f 02 00 <48> 8d bb 80 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0000:ffffc900043efad0 EFLAGS: 00000202 RAX: 0000000000405989 RBX: ffff88803194e1c0 RCX: 1ffffffff1b755e9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900043efb18 R08: 0000000000000001 R09: 0000000000000001 R10: ffffed10173473f8 R11: 0000000000000001 R12: ffff8880b9b3ad18 R13: ffff888026a86100 R14: ffff8880b9b39fc0 R15: ffff8880b9b3a9f8 context_switch kernel/sched/core.c:5149 [inline] __schedule+0xa08/0x4b50 kernel/sched/core.c:6458 schedule+0xd2/0x1f0 kernel/sched/core.c:6530 freezable_schedule include/linux/freezer.h:172 [inline] do_nanosleep+0x24e/0x690 kernel/time/hrtimer.c:2044 hrtimer_nanosleep+0x1f9/0x4a0 kernel/time/hrtimer.c:2097 common_nsleep+0xa2/0xc0 kernel/time/posix-timers.c:1227 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1267 [inline] __se_sys_clock_nanosleep kernel/time/posix-timers.c:1245 [inline] __x64_sys_clock_nanosleep+0x2f4/0x430 kernel/time/posix-timers.c:1245 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f04eaeade31 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 aa e7 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 e3 e7 ff ff 48 8b 04 24 eb 97 66 2e 0f 1f RSP: 002b:00007ffd36720740 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 000000000000046d RCX: 00007f04eaeade31 RDX: 00007ffd36720780 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffd3672080c R08: 0000000000000000 R09: 00007ffd36773080 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 00000000000a4127 R14: 0000000000000000 R15: 00007ffd36720870 ---------------- Code disassembly (best guess): 0: 4b 00 5d be rex.WXB add %bl,-0x42(%r13) 4: 03 00 add (%rax),%eax 6: 00 00 add %al,(%rax) 8: e9 66 27 82 02 jmpq 0x2822773 d: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 13: 48 8b be a8 01 00 00 mov 0x1a8(%rsi),%rdi 1a: e8 b4 ff ff ff callq 0xffffffd3 1f: 31 c0 xor %eax,%eax 21: c3 retq 22: 90 nop 23: 65 8b 05 d9 c8 88 7e mov %gs:0x7e88c8d9(%rip),%eax # 0x7e88c903 * 2a: 89 c1 mov %eax,%ecx <-- trapping instruction 2c: 48 8b 34 24 mov (%rsp),%rsi 30: 81 e1 00 01 00 00 and $0x100,%ecx 36: 65 48 8b 14 25 80 6f mov %gs:0x26f80,%rdx 3d: 02 00 3f: a9 .byte 0xa9