sched: DL replenish lagged too much
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P52/1:b..l.. P5620/1:b..l.. P7340/1:b..l..
rcu: (detected by 0, t=10503 jiffies, g=27945, q=1327376 ncpus=2)
task:syz.3.378 state:R running task stack:26264 pid:7340 tgid:7340 ppid:5616 task_flags:0x400040 flags:0x00080002
Call Trace:
context_switch kernel/sched/core.c:5587 [inline]
__schedule+0x130d/0x7de0 kernel/sched/core.c:7389
preempt_schedule_common kernel/sched/core.c:7568 [inline]
preempt_schedule+0x57/0xd0 kernel/sched/core.c:7592
preempt_schedule_thunk+0x16/0x40 arch/x86/entry/thunk.S:12
__local_bh_enable_ip+0x106/0x120 kernel/softirq.c:480
nl80211_netlink_notify net/wireless/nl80211.c:23898 [inline]
nl80211_netlink_notify+0x2fd/0x960 net/wireless/nl80211.c:23860
notifier_call_chain+0x99/0x3f0 kernel/notifier.c:86
blocking_notifier_call_chain kernel/notifier.c:485 [inline]
blocking_notifier_call_chain+0x69/0xa0 kernel/notifier.c:473
netlink_release+0x1670/0x1fc0 net/netlink/af_netlink.c:759
__sock_release+0xb3/0x260 net/socket.c:735
sock_close+0x1c/0x30 net/socket.c:1529
__fput+0x3fb/0xb50 fs/file_table.c:512
fput_close_sync+0x118/0x250 fs/file_table.c:618
filp_close_sync+0x75/0xa0 fs/open.c:1574
__range_close+0x4a6/0x8b0 fs/file.c:919
__do_sys_close_range fs/file.c:1003 [inline]
__se_sys_close_range fs/file.c:954 [inline]
__x64_sys_close_range+0x1f8/0x430 fs/file.c:954
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f05191a9b59
RSP: 002b:00007ffc91de6c88 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: ffffffffffffffda RBX: 00007f0519437ea0 RCX: 00007f05191a9b59
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f0519437ea0 R08: 0000000000000006 R09: 0000000000000000
R10: 00007f0519437da8 R11: 0000000000000246 R12: 000000000003efd2
R13: 00007ffc91de6db0 R14: 000000000003ef9e R15: 00007f0519436098
task:syz-executor state:R running task stack:22224 pid:5620 tgid:5620 ppid:1 task_flags:0x400140 flags:0x00080002
Call Trace:
context_switch kernel/sched/core.c:5587 [inline]
__schedule+0x130d/0x7de0 kernel/sched/core.c:7389
preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:7669
irqentry_exit_cond_resched arch/x86/include/asm/fred.h:105 [inline]
irqentry_exit_to_kernel_mode_preempt include/linux/irq-entry-common.h:453 [inline]
irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:543 [inline]
irqentry_exit+0x33f/0xab0 kernel/entry/common.c:154
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:81 [inline]
RIP: 0010:__orc_find+0x86/0xf0 arch/x86/kernel/unwind_orc.c:103
Code: f2 48 d1 fa 48 8d 5c 95 00 48 89 da 48 c1 ea 03 0f b6 34 0a 48 89 da 83 e2 07 83 c2 03 40 38 f2 7c 05 40 84 f6 75 4b 48 63 13 <48> 01 da 49 39 d5 73 af 4c 8d 63 fc 49 39 ec 73 b2 4d 29 f7 49 c1
RSP: 0018:ffffc9000410f210 EFLAGS: 00000246
RAX: ffffffff930e3b4a RBX: ffffffff9283499c RCX: dffffc0000000000
RDX: ffffffffef2f2923 RSI: 0000000000000000 RDI: ffffffff92834990
RBP: ffffffff92834990 R08: ffffffff930e3b74 R09: 0000000000000007
R10: 0000000000000200 R11: 000000000000b272 R12: ffffffff928349a8
R13: ffffffff81b27242 R14: ffffffff92834990 R15: ffffffff92834990
orc_find arch/x86/kernel/unwind_orc.c:238 [inline]
unwind_next_frame+0x2ec/0x2090 arch/x86/kernel/unwind_orc.c:510
__unwind_start+0x3cd/0x7e0 arch/x86/kernel/unwind_orc.c:787
unwind_start arch/x86/include/asm/unwind.h:64 [inline]
arch_stack_walk+0x73/0xf0 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
save_stack+0x162/0x1e0 mm/page_owner.c:183
__reset_page_owner+0x85/0x230 mm/page_owner.c:338
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1415 [inline]
__free_frozen_pages+0x7b1/0x10f0 mm/page_alloc.c:2971
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x47/0xf0 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:364
kasan_slab_alloc include/linux/kasan.h:257 [inline]
slab_post_alloc_hook mm/slub.c:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
__do_kmalloc_node mm/slub.c:5530 [inline]
__kmalloc_noprof+0x2cc/0x840 mm/slub.c:5556
_kmalloc_noprof include/linux/slab.h:995 [inline]
_kzalloc_noprof include/linux/slab.h:1312 [inline]
tomoyo_encode2+0xfb/0x3c0 security/tomoyo/realpath.c:45
tomoyo_encode+0x29/0x50 security/tomoyo/realpath.c:80
tomoyo_realpath_from_path+0x18c/0x690 security/tomoyo/realpath.c:283
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_check_open_permission+0x2af/0x3c0 security/tomoyo/file.c:776
tomoyo_file_open+0x6b/0x90 security/tomoyo/tomoyo.c:334
security_file_open+0xb5/0x1e0 security/security.c:2761
do_dentry_open+0x552/0x1470 fs/open.c:977
vfs_open_consume+0xcc/0x460 fs/open.c:1131
do_open fs/namei.c:4851 [inline]
path_openat+0x1547/0x23f0 fs/namei.c:5016
do_file_open+0x20e/0x430 fs/namei.c:5045
do_sys_openat2+0x163/0x1d0 fs/open.c:1443
do_sys_open fs/open.c:1449 [inline]
__do_sys_openat fs/open.c:1465 [inline]
__se_sys_openat fs/open.c:1460 [inline]
__x64_sys_openat+0x12d/0x210 fs/open.c:1460
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe6373a8e7c
RSP: 002b:00007ffe1f3d6ee0 EFLAGS: 00000206 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00000000000000dc RCX: 00007fe6373a8e7c
RDX: 0000000000090800 RSI: 00007fe637439a64 RDI: 00000000ffffff9c
RBP: 00007ffe1f3d6f8c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000038
R13: 0000000000000000 R14: 000000000003f091 R15: 00007ffe1f3d6fe0
task:kworker/u8:3 state:R running task stack:24600 pid:52 tgid:52 ppid:2 task_flags:0x4208060 flags:0x00080000
Workqueue: 0x0 (events_unbound)
Call Trace:
context_switch kernel/sched/core.c:5587 [inline]
__schedule+0x130d/0x7de0 kernel/sched/core.c:7389
preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:7669
irqentry_exit_cond_resched arch/x86/include/asm/fred.h:105 [inline]
irqentry_exit_to_kernel_mode_preempt include/linux/irq-entry-common.h:453 [inline]
irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:543 [inline]
irqentry_exit+0x33f/0xab0 kernel/entry/common.c:154
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:lock_acquire+0x5e/0x380 kernel/locking/lockdep.c:5947
Code: 05 0f a6 d2 13 83 f8 07 0f 87 da 00 00 00 48 0f a3 05 1e 9f 81 10 0f 82 c9 02 00 00 8b 35 fe ce 81 10 85 f6 0f 85 c7 00 00 00 <48> 8b 44 24 30 65 48 2b 05 ad a5 d2 13 0f 85 09 03 00 00 48 83 c4
RSP: 0018:ffffc90000bd7528 EFLAGS: 00000206
RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000200
RDX: 0000000000000000 RSI: ffffffff8e607757 RDI: ffffffff8c835e80
RBP: ffffffff8ffed720 R08: 00000000b338e966 R09: 0000000000000007
R10: 0000000000000200 R11: 0000000000000001 R12: 0000000000000002
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
rcu_read_lock include/linux/rcupdate.h:849 [inline]
class_rcu_constructor include/linux/rcupdate.h:1216 [inline]
unwind_next_frame+0xd1/0x2090 arch/x86/kernel/unwind_orc.c:495
arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
save_stack+0x162/0x1e0 mm/page_owner.c:183
__reset_page_owner+0x85/0x230 mm/page_owner.c:338
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1415 [inline]
__free_frozen_pages+0x7b1/0x10f0 mm/page_alloc.c:2971
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x47/0xf0 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:364
kasan_slab_alloc include/linux/kasan.h:257 [inline]
slab_post_alloc_hook mm/slub.c:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
__do_kmalloc_node mm/slub.c:5530 [inline]
__kmalloc_node_track_caller_noprof+0x2da/0x870 mm/slub.c:5662
kvasprintf+0xbc/0x150 lib/kasprintf.c:25
__kthread_create_on_node+0x186/0x3f0 kernel/kthread.c:491
kthread_create_on_node+0xc7/0x100 kernel/kthread.c:559
create_worker+0x420/0x750 kernel/workqueue.c:3009
maybe_create_worker kernel/workqueue.c:3277 [inline]
manage_workers kernel/workqueue.c:3363 [inline]
worker_thread+0x8e2/0xe50 kernel/workqueue.c:3636
kthread+0x373/0x450 kernel/kthread.c:436
ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
rcu: rcu_preempt kthread starved for 8015 jiffies! g27945 f0x2 RCU_GP_WAIT_FQS(5) ->state=R ->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:R running task stack:27592 pid:17 tgid:17 ppid:2 task_flags:0x208040 flags:0x00080000
Call Trace:
context_switch kernel/sched/core.c:5587 [inline]
__schedule+0x130d/0x7de0 kernel/sched/core.c:7389
__schedule_loop kernel/sched/core.c:7466 [inline]
schedule+0xdd/0x2c0 kernel/sched/core.c:7481
schedule_timeout+0x127/0x280 kernel/time/sleep_timeout.c:99
rcu_gp_fqs_loop+0x1a9/0x930 kernel/rcu/tree.c:2122
rcu_gp_kthread+0x179/0x260 kernel/rcu/tree.c:2330
kthread+0x373/0x450 kernel/kthread.c:436
ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:unwind_next_frame+0x1500/0x2090 arch/x86/kernel/unwind_orc.c:677
Code: ff 48 ba 00 00 00 00 00 fc ff df 48 8d 79 02 48 89 f8 48 c1 e8 03 0f b6 34 10 48 8d 41 03 49 89 c0 49 c1 e8 03 41 0f b6 14 10 <49> 89 f8 41 83 e0 07 44 38 c6 41 0f 9e c0 40 84 f6 40 0f 95 c6 41
RSP: 0000:ffffc90000a17e28 EFLAGS: 00000a07
RAX: ffffffff93abd4fd RBX: 0000000000000002 RCX: ffffffff93abd4fa
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff93abd4fc
RBP: ffffc90000a17ee0 R08: 1ffffffff2757a9f R09: 0000000000000007
R10: 0000000000000200 R11: 00000000000906ca R12: ffffc90000a17ee8
R13: ffffc90000a17e98 R14: ffffc90000a18a70 R15: ffffc90000a17ecc
FS: 0000000000000000(0000) GS:ffff88812255d000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f08d3fc8e3a CR3: 000000007db68000 CR4: 00000000003526f0
Call Trace:
arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
ref_tracker_alloc+0x1cf/0x600 lib/ref_tracker.c:276
__netdev_tracker_alloc include/linux/netdevice.h:4556 [inline]
netdev_hold include/linux/netdevice.h:4585 [inline]
dst_init+0xda/0x5b0 net/core/dst.c:52
dst_alloc+0xbb/0x1a0 net/core/dst.c:94
rt_dst_alloc+0x35/0x3a0 net/ipv4/route.c:1697
__mkroute_output net/ipv4/route.c:2702 [inline]
ip_route_output_key_hash_rcu+0x87a/0x2870 net/ipv4/route.c:2922
ip_route_output_key_hash+0x118/0x2b0 net/ipv4/route.c:2752
__ip_route_output_key include/net/route.h:175 [inline]
ip_route_output_flow+0x27/0x150 net/ipv4/route.c:2979
ip_route_output_key include/net/route.h:185 [inline]
ip_route_me_harder+0x574/0x1270 net/ipv4/netfilter.c:54
synproxy_send_tcp.isra.0+0x32f/0x6d0 net/netfilter/nf_synproxy_core.c:434
synproxy_send_client_synack+0x6fc/0x990 net/netfilter/nf_synproxy_core.c:487
nft_synproxy_eval_v4 net/netfilter/nft_synproxy.c:59 [inline]
nft_synproxy_do_eval+0xa61/0xd20 net/netfilter/nft_synproxy.c:142
expr_call_ops_eval net/netfilter/nf_tables_core.c:237 [inline]
nft_do_chain+0x2e5/0x19e0 net/netfilter/nf_tables_core.c:285
nft_do_chain_inet+0xf3/0x400 net/netfilter/nft_chain_filter.c:162
nf_hook_entry_hookfn include/linux/netfilter.h:165 [inline]
nf_hook_slow+0xbf/0x220 net/netfilter/core.c:633
nf_hook.constprop.0+0x2a6/0x750 include/linux/netfilter.h:280
NF_HOOK include/linux/netfilter.h:323 [inline]
ip_local_deliver+0x16c/0x200 net/ipv4/ip_input.c:268
dst_input include/net/dst.h:481 [inline]
ip_rcv_finish net/ipv4/ip_input.c:498 [inline]
NF_HOOK include/linux/netfilter.h:325 [inline]
NF_HOOK include/linux/netfilter.h:319 [inline]
ip_rcv+0x33a/0x3c0 net/ipv4/ip_input.c:618
__netif_receive_skb_one_core+0x197/0x1e0 net/core/dev.c:6453
__netif_receive_skb+0x1f/0x120 net/core/dev.c:6566
process_backlog+0x487/0x1600 net/core/dev.c:6917
__napi_poll.constprop.0+0xaf/0x450 net/core/dev.c:8003
napi_poll net/core/dev.c:8066 [inline]
net_rx_action+0xa40/0xf20 net/core/dev.c:8223
handle_softirqs+0x216/0xa20 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0x178/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:64
Code: d6 9c 02 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 93 8e 18 00 fb f4 cc 75 03 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90
RSP: 0000:ffffc900001a7e00 EFLAGS: 00000242
RAX: 0000000001a0385d RBX: ffff8880202c4b00 RCX: ffffffff8bf33375
RDX: 0000000000000001 RSI: ffffffff8e62e65d RDI: ffffffff8c835e80
RBP: ffffed1004058960 R08: 0000000000000001 R09: ffffed1017026825
R10: ffff8880b813412b R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: 1ffff92000034fc4 R15: dffffc0000000000
arch_safe_halt arch/x86/include/asm/paravirt.h:62 [inline]
default_idle+0x9/0x10 arch/x86/kernel/process.c:768
default_idle_call+0x6c/0xb0 kernel/sched/idle.c:122
cpuidle_idle_call kernel/sched/idle.c:199 [inline]
do_idle+0x3ae/0x5b0 kernel/sched/idle.c:355
cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:458
start_secondary+0x21d/0x2d0 arch/x86/kernel/smpboot.c:312
common_startup_64+0x13e/0x158