rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5424/1:b..l
rcu: (detected by 0, t=10502 jiffies, g=8153, q=1943387 ncpus=2)
task:syz.2.60 state:R running task stack:25976 pid:5424 tgid:5423 ppid:5252 flags:0x00000002
Call Trace:
context_switch kernel/sched/core.c:5315 [inline]
__schedule+0x1895/0x4b30 kernel/sched/core.c:6674
preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6853
preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6877
preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12
unwind_next_frame+0x18f8/0x22d0 arch/x86/kernel/unwind_orc.c:672
__unwind_start+0x59a/0x740 arch/x86/kernel/unwind_orc.c:760
unwind_start arch/x86/include/asm/unwind.h:64 [inline]
arch_stack_walk+0xe5/0x150 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
save_stack+0xfb/0x1f0 mm/page_owner.c:156
__reset_page_owner+0x76/0x430 mm/page_owner.c:297
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1108 [inline]
free_unref_page+0xcfb/0xf20 mm/page_alloc.c:2638
discard_slab mm/slub.c:2678 [inline]
__put_partials+0xeb/0x130 mm/slub.c:3146
put_cpu_partial+0x17c/0x250 mm/slub.c:3221
__slab_free+0x2ea/0x3d0 mm/slub.c:4450
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329
kasan_slab_alloc include/linux/kasan.h:247 [inline]
slab_post_alloc_hook mm/slub.c:4086 [inline]
slab_alloc_node mm/slub.c:4135 [inline]
__do_kmalloc_node mm/slub.c:4264 [inline]
__kmalloc_node_track_caller_noprof+0x1cd/0x440 mm/slub.c:4284
memdup_user+0x2b/0xc0 mm/util.c:226
raw_alloc_io_data drivers/usb/gadget/legacy/raw_gadget.c:673 [inline]
raw_ioctl_ep0_write drivers/usb/gadget/legacy/raw_gadget.c:763 [inline]
raw_ioctl+0x1f00/0x3cd0 drivers/usb/gadget/legacy/raw_gadget.c:1312
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl+0xf9/0x170 fs/ioctl.c:893
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1b8c57dafb
RSP: 002b:00007f1b8d324f10 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f1b8c57dafb
RDX: 00007f1b8d324fd0 RSI: 0000000040085503 RDI: 0000000000000003
RBP: 00007f1b8d325fe0 R08: 0000000000000080 R09: 00007f1b8d324fd8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000080085502
R13: 0000000800000000 R14: 0000000000000012 R15: 00007f1b8c5fab50
rcu: rcu_preempt kthread starved for 9890 jiffies! g8153 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:25200 pid:17 tgid:17 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5315 [inline]
__schedule+0x1895/0x4b30 kernel/sched/core.c:6674
__schedule_loop kernel/sched/core.c:6751 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6766
schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615
rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045
rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
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: 4641 Comm: kworker/1:2 Not tainted 6.11.0-syzkaller-08833-gde5cb0dcb74c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Workqueue: events nsim_dev_trap_report_work
RIP: 0010:check_preemption_disabled+0x4d/0x120 lib/smp_processor_id.c:55
Code: d1 85 41 74 a9 ff ff ff 7f 74 26 65 48 8b 04 25 28 00 00 00 48 3b 44 24 08 0f 85 ce 00 00 00 89 d8 48 83 c4 10 5b 41 5c 41 5e <41> 5f c3 cc cc cc cc 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24
RSP: 0018:ffffc90000a17aa0 EFLAGS: 00000086
RAX: 0000000000000001 RBX: 1ffff110170e5113 RCX: ffff888030de0000
RDX: 0000000000010100 RSI: ffffffff8c60dda0 RDI: ffffffff8c60dd60
RBP: dffffc0000000000 R08: ffffffff81357cc1 R09: 1ffffffff2039055
R10: dffffc0000000000 R11: fffffbfff2039056 R12: ffff8880b8728888
R13: ffff8880b8728898 R14: 000000000001c096 R15: 0000000000010000
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000080 CR3: 000000006285a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
irqtime_account_delta kernel/sched/cputime.c:40 [inline]
irqtime_account_irq+0x18e/0x1e0 kernel/sched/cputime.c:77
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline]
sysvec_apic_timer_interrupt+0x4a/0xc0 arch/x86/kernel/apic/apic.c:1037
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:58 [inline]
RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:397 [inline]
RIP: 0010:deref_stack_reg arch/x86/kernel/unwind_orc.c:403 [inline]
RIP: 0010:unwind_next_frame+0xc5a/0x22d0 arch/x86/kernel/unwind_orc.c:585
Code: df e8 4a 3b bd 00 4c 8b 23 41 80 3c 2f 00 48 8b 5c 24 08 74 08 4c 89 f7 e8 33 3b bd 00 4c 8b 73 10 48 8b 44 24 20 0f b6 04 28 <84> c0 0f 85 72 14 00 00 83 3b 00 0f 84 9c 0c 00 00 4d 39 ec 0f 87
RSP: 0018:ffffc90000a17bb0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffc90000a17c80 RCX: 0000000000000001
RDX: ffffc90000a17c80 RSI: ffffc9000e020000 RDI: ffffc9000e01fa18
RBP: dffffc0000000000 R08: 0000000000000001 R09: ffffc90000a17d70
R10: ffffc90000a17cd0 R11: ffffffff81806cf0 R12: ffffc9000e018000
R13: ffffc9000e01fa18 R14: ffffc9000e020000 R15: 1ffff92000142f92
arch_stack_walk+0x11c/0x150 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+0x59/0x70 mm/kasan/common.c:264
kasan_slab_free include/linux/kasan.h:230 [inline]
slab_free_hook mm/slub.c:2343 [inline]
slab_free mm/slub.c:4580 [inline]
kfree+0x1a0/0x440 mm/slub.c:4728
skb_kfree_head net/core/skbuff.c:1086 [inline]
skb_free_head net/core/skbuff.c:1098 [inline]
skb_release_data+0x6a0/0x8a0 net/core/skbuff.c:1125
skb_release_all net/core/skbuff.c:1190 [inline]
__kfree_skb net/core/skbuff.c:1204 [inline]
consume_skb+0x9f/0xf0 net/core/skbuff.c:1436
nft_synproxy_eval_v4+0x3d2/0x610 net/netfilter/nft_synproxy.c:60
nft_synproxy_do_eval+0x362/0xa60 net/netfilter/nft_synproxy.c:141
expr_call_ops_eval net/netfilter/nf_tables_core.c:240 [inline]
nft_do_chain+0x4ad/0x1da0 net/netfilter/nf_tables_core.c:288
nft_do_chain_inet+0x418/0x6b0 net/netfilter/nft_chain_filter.c:161
nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
nf_hook_slow+0xc3/0x220 net/netfilter/core.c:626
nf_hook include/linux/netfilter.h:269 [inline]
NF_HOOK+0x29e/0x450 include/linux/netfilter.h:312
NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314
__netif_receive_skb_one_core net/core/dev.c:5662 [inline]
__netif_receive_skb+0x2bf/0x650 net/core/dev.c:5775
process_backlog+0x662/0x15b0 net/core/dev.c:6107
__napi_poll+0xcb/0x490 net/core/dev.c:6771
napi_poll net/core/dev.c:6840 [inline]
net_rx_action+0x89b/0x1240 net/core/dev.c:6962
handle_softirqs+0x2c5/0x980 kernel/softirq.c:554
do_softirq+0x11b/0x1e0 kernel/softirq.c:455
__local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:382
spin_unlock_bh include/linux/spinlock.h:396 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline]
nsim_dev_trap_report_work+0x75d/0xaa0 drivers/net/netdevsim/dev.c:850
process_one_work kernel/workqueue.c:3229 [inline]
process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310
worker_thread+0x870/0xd30 kernel/workqueue.c:3391
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
ref_tracker: memory allocation failure, unreliable refcount tracker.
SLUB: Unable to allocate memory on CPU 0 (of node 0) on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 240, buffer size: 320, default order: 0, min order: 0
node 0: slabs: 53596, objs: 643152, free: 0
node 1: slabs: 118868, objs: 1426416, free: 20
SLUB: Unable to allocate memory on CPU 0 (of node 0) on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 240, buffer size: 320, default order: 0, min order: 0
node 0: slabs: 53597, objs: 643164, free: 0
node 1: slabs: 118868, objs: 1426416, free: 20
SLUB: Unable to allocate memory on CPU 0 (of node 0) on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 240, buffer size: 320, default order: 0, min order: 0
node 0: slabs: 53597, objs: 643164, free: 0
node 1: slabs: 118868, objs: 1426416, free: 20
SLUB: Unable to allocate memory on CPU 0 (of node 0) on node -1, gfp=0x820(GFP_ATOMIC)
SLUB: Unable to allocate memory on CPU 1 (of node 0) on node -1, gfp=0x920(GFP_ATOMIC|__GFP_ZERO)
cache: skbuff_head_cache, object size: 240, buffer size: 320, default order: 0, min order: 0
node 0: slabs: 53597, objs: 643164, free: 0
node 1: slabs: 118868, objs: 1426416, free: 20
cache: kmalloc-1k, object size: 1024, buffer size: 2048, default order: 3, min order: 0
SLUB: Unable to allocate memory on CPU 0 (of node 0) on node -1, gfp=0x820(GFP_ATOMIC)
node 0: slabs: 39198, objs: 627168, free: 0
cache: skbuff_head_cache, object size: 240, buffer size: 320, default order: 0, min order: 0
node 0: slabs: 53597, objs: 643164, free: 0
node 1: slabs: 88729, objs: 1419636, free: 16
node 1: slabs: 118868, objs: 1426416, free: 20
SLUB: Unable to allocate memory on CPU 0 (of node 0) on node -1, gfp=0x920(GFP_ATOMIC|__GFP_ZERO)
SLUB: Unable to allocate memory on CPU 1 (of node 0) on node -1, gfp=0x920(GFP_ATOMIC|__GFP_ZERO)
cache: kmalloc-1k, object size: 1024, buffer size: 2048, default order: 3, min order: 0
node 0: slabs: 39198, objs: 627168, free: 0
cache: kmalloc-1k, object size: 1024, buffer size: 2048, default order: 3, min order: 0
node 1: slabs: 88729, objs: 1419636, free: 16
SLUB: Unable to allocate memory on CPU 0 (of node 0) on node -1, gfp=0x920(GFP_ATOMIC|__GFP_ZERO)
node 0: slabs: 39198, objs: 627168, free: 0
cache: kmalloc-1k, object size: 1024, buffer size: 2048, default order: 3, min order: 0
node 0: slabs: 39198, objs: 627168, free: 0
node 1: slabs: 88729, objs: 1419636, free: 16
node 1: slabs: 88729, objs: 1419636, free: 16
SLUB: Unable to allocate memory on CPU 0 (of node 0) on node -1, gfp=0x920(GFP_ATOMIC|__GFP_ZERO)
cache: kmalloc-1k, object size: 1024, buffer size: 2048, default order: 3, min order: 0
node 0: slabs: 39198, objs: 627168, free: 0
node 1: slabs: 88729, objs: 1419636, free: 16