rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P10688/1:b..l
rcu: (detected by 1, t=10502 jiffies, g=76009, q=1739 ncpus=2)
task:syz.1.942 state:R running task stack:23776 pid:10688 tgid:10688 ppid:10486 flags:0x20004006
Call Trace:
context_switch kernel/sched/core.c:5315 [inline]
__schedule+0x1895/0x4b30 kernel/sched/core.c:6674
preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6996
irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:instrument_atomic_read include/linux/instrumented.h:68 [inline]
RIP: 0010:atomic_read include/linux/atomic/atomic-instrumented.h:32 [inline]
RIP: 0010:folio_memcg_lock+0x22b/0x390 mm/memcontrol-v1.c:509
Code: 89 fe 74 0a 48 8d 7c 24 40 e8 81 0b f8 ff f6 44 24 41 02 0f 85 88 00 00 00 41 f7 c4 00 02 00 00 74 01 fb 49 8d 9d 38 0d 00 00 <48> 89 df be 04 00 00 00 e8 c8 0d f8 ff 48 89 d8 48 c1 e8 03 48 b9
RSP: 0018:ffffc9000a0d7380 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: ffff88805d7dad38 RCX: 1ffff9200141ae78
RDX: dffffc0000000000 RSI: ffffffff8c0aca40 RDI: ffffffff8c60d040
RBP: ffffc9000a0d7450 R08: ffffffff901c77af R09: 1ffffffff2038ef5
R10: dffffc0000000000 R11: fffffbfff2038ef6 R12: 0000000000000246
R13: ffff88805d7da000 R14: 1ffff9200141ae7c R15: 1ffff9200141ae7c
__folio_start_writeback+0x1f8/0x1050 mm/page-writeback.c:3121
__block_write_full_folio+0x742/0xf50 fs/buffer.c:1904
write_cache_pages+0xd0/0x230 mm/page-writeback.c:2640
blkdev_writepages+0xb1/0x110 block/fops.c:437
do_writepages+0x35d/0x870 mm/page-writeback.c:2683
filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:398
__filemap_fdatawrite_range mm/filemap.c:431 [inline]
filemap_write_and_wait_range+0x192/0x280 mm/filemap.c:685
filemap_write_and_wait include/linux/pagemap.h:68 [inline]
sync_blockdev block/bdev.c:219 [inline]
bdev_release+0x15f/0x700 block/bdev.c:1085
blkdev_release+0x15/0x20 block/fops.c:639
__fput+0x23f/0x880 fs/file_table.c:431
task_work_run+0x24f/0x310 kernel/task_work.c:228
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218
__do_fast_syscall_32+0xc4/0x110 arch/x86/entry/common.c:389
do_fast_syscall_32+0x34/0x80 arch/x86/entry/common.c:411
entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf746d579
RSP: 002b:00000000f75bfb1c EFLAGS: 00000206 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 000000000000001e
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
rcu: rcu_preempt kthread starved for 10307 jiffies! g76009 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
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:25888 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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 9 Comm: kworker/0:1 Not tainted 6.11.0-syzkaller-08481-g88264981f208 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Workqueue: events nsim_dev_trap_report_work
RIP: 0010:usb_hcd_unmap_urb_setup_for_dma drivers/usb/core/hcd.c:1325 [inline]
RIP: 0010:usb_hcd_unmap_urb_for_dma+0x23c/0x7a0 drivers/usb/core/hcd.c:1341
Code: 7c 05 00 00 74 08 48 89 ef e8 e0 dd ca fa 48 c7 45 00 00 00 00 00 4c 8b 74 24 20 48 bd 00 00 00 00 00 fc ff df 4c 8b 6c 24 18 <41> 0f b6 44 2d 00 84 c0 0f 85 f3 03 00 00 41 8b 1e 89 d8 25 ff ff
RSP: 0018:ffffc90000005900 EFLAGS: 00000006
RAX: ffffffff87333465 RBX: 0000000000000000 RCX: ffff88801ceb8000
RDX: 0000000000010100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff87333458 R09: 1ffff110288e0800
R10: dffffc0000000000 R11: ffffed10288e0801 R12: ffff888028746000
R13: 1ffff11004e8ccab R14: ffff88802746655c R15: ffff888028746000
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000075550000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 000000000000000a DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
unmap_urb_for_dma drivers/usb/core/hcd.c:1334 [inline]
__usb_hcd_giveback_urb+0x22d/0x6e0 drivers/usb/core/hcd.c:1634
dummy_timer+0x830/0x45a0 drivers/usb/gadget/udc/dummy_hcd.c:1987
__run_hrtimer kernel/time/hrtimer.c:1691 [inline]
__hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1755
hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1817
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1026 [inline]
__sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1043
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline]
sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1037
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:save_stack+0x110/0x1f0 mm/page_owner.c:158
Code: 74 24 40 4c 89 f7 be 10 00 00 00 ba 02 00 00 00 e8 c5 bc 77 ff 4c 89 f7 89 c6 8b 54 24 1c e8 a7 f8 e8 02 41 89 c6 31 ff 89 c6 8b 0f 8c ff 45 85 f6 74 15 e8 41 0b 8c ff eb 1a e8 3a 0b 8c ff
RSP: 0018:ffffc900000060a0 EFLAGS: 00000246
RAX: 0000000000f605fb RBX: ffff88801ceb8580 RCX: ffffffff89e49ab8
RDX: ffff88823ae8f560 RSI: 0000000000f605fb RDI: 0000000000000000
RBP: ffffc900000061d0 R08: ffffc900000060e0 R09: 0000000000000010
R10: ffffc90000005f70 R11: ffffffff81806cf0 R12: dffffc0000000000
R13: 1ffff92000000c18 R14: 0000000000f605fb R15: 1ffff110039d70b0
__set_page_owner+0x92/0x800 mm/page_owner.c:320
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1537
prep_new_page mm/page_alloc.c:1545 [inline]
get_page_from_freelist+0x3045/0x3190 mm/page_alloc.c:3457
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4733
alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265
alloc_slab_page+0x6a/0x120 mm/slub.c:2413
allocate_slab+0x5a/0x2f0 mm/slub.c:2579
new_slab mm/slub.c:2632 [inline]
___slab_alloc+0xcd1/0x14b0 mm/slub.c:3819
__slab_alloc+0x58/0xa0 mm/slub.c:3909
__slab_alloc_node mm/slub.c:3962 [inline]
slab_alloc_node mm/slub.c:4123 [inline]
kmem_cache_alloc_noprof+0x1c1/0x2a0 mm/slub.c:4142
skb_clone+0x20c/0x390 net/core/skbuff.c:2084
dev_queue_xmit_nit+0x419/0xc10 net/core/dev.c:2315
xmit_one net/core/dev.c:3584 [inline]
dev_hard_start_xmit+0x15f/0x7e0 net/core/dev.c:3604
__dev_queue_xmit+0x1b58/0x3e80 net/core/dev.c:4424
dev_queue_xmit include/linux/netdevice.h:3094 [inline]
neigh_hh_output include/net/neighbour.h:526 [inline]
neigh_output include/net/neighbour.h:540 [inline]
ip6_finish_output2+0xfc9/0x1730 net/ipv6/ip6_output.c:141
ip6_finish_output+0x41e/0x810 net/ipv6/ip6_output.c:226
synproxy_send_tcp_ipv6+0x568/0x7c0 net/netfilter/nf_synproxy_core.c:851
synproxy_send_client_synack_ipv6+0x7d0/0xc30 net/netfilter/nf_synproxy_core.c:897
nft_synproxy_eval_v6 net/netfilter/nft_synproxy.c:90 [inline]
nft_synproxy_do_eval+0x739/0xa60 net/netfilter/nft_synproxy.c:145
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+0x1ea/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 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:1037 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1037
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:kernel_text_address+0x5/0xe0 kernel/extable.c:95
Code: c2 20 ca 08 c2 0f b6 c2 5b c3 cc cc cc cc 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 <41> 56 53 48 89 fb 48 c7 c0 00 00 00 81 bd 01 00 00 00 48 39 c7 72
RSP: 0018:ffffc900000e7540 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffffff871dd384 RCX: 0000000080000001
RDX: dffffc0000000000 RSI: ffffc900000e0000 RDI: ffffffff871dd384
RBP: ffffc900000e7610 R08: ffffc900000e7ad8 R09: 0000000000000000
R10: ffffc900000e75d0 R11: fffff5200001cebc R12: ffff88801ceb8000
R13: ffffffff81806cf0 R14: dffffc0000000000 R15: 1ffff9200001ceb9
__kernel_text_address+0xd/0x40 kernel/extable.c:79
unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_orc.c:369
arch_stack_walk+0xfd/0x150 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
poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
__kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:394
kasan_kmalloc include/linux/kasan.h:257 [inline]
__do_kmalloc_node mm/slub.c:4265 [inline]
__kmalloc_node_track_caller_noprof+0x225/0x440 mm/slub.c:4284
kmalloc_reserve+0x111/0x2a0 net/core/skbuff.c:609
__alloc_skb+0x1f3/0x440 net/core/skbuff.c:678
alloc_skb include/linux/skbuff.h:1322 [inline]
nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:748 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline]
nsim_dev_trap_report_work+0x254/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