rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2653 jiffies s: 82501 root: 0x1/. rcu: blocking rcu_node structures (internal RCU debug): Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7460 Comm: syz-executor.2 Not tainted 6.10.0-rc3-next-20240611-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:io_serial_in+0x76/0xb0 drivers/tty/serial/8250/8250_port.c:406 Code: 60 c8 54 fc 89 e9 41 d3 e6 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 11 d7 ba fc 44 03 33 44 89 f2 ec <0f> b6 c0 5b 41 5e 41 5f 5d c3 cc cc cc cc 89 e9 80 e1 07 38 c1 7c RSP: 0018:ffffc90000007298 EFLAGS: 00000002 RAX: 1ffffffff295e400 RBX: ffffffff94af23a0 RCX: 0000000000000000 RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000020 RBP: 0000000000000000 R08: ffffffff853e7f86 R09: 1ffff11003f64046 R10: dffffc0000000000 R11: ffffffff853e7f40 R12: dffffc0000000000 R13: ffffffff94803bc0 R14: 00000000000003fd R15: dffffc0000000000 FS: 00005555699cc480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8ceeb83978 CR3: 000000007aaae000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial_in drivers/tty/serial/8250/8250.h:137 [inline] serial_lsr_in drivers/tty/serial/8250/8250.h:159 [inline] wait_for_lsr drivers/tty/serial/8250/8250_port.c:2068 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3315 [inline] serial8250_console_write+0x1373/0x1ed0 drivers/tty/serial/8250/8250_port.c:3393 console_emit_next_record kernel/printk/printk.c:2975 [inline] console_flush_all+0x880/0xf50 kernel/printk/printk.c:3047 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3118 vprintk_emit+0x7a1/0x900 kernel/printk/printk.c:2420 _printk+0xd5/0x120 kernel/printk/printk.c:2447 printk_stack_address arch/x86/kernel/dumpstack.c:72 [inline] show_trace_log_lvl+0x43a/0x520 arch/x86/kernel/dumpstack.c:285 sched_show_task+0x578/0x740 kernel/sched/core.c:7432 report_rtnl_holders+0x1ba/0x2d0 net/core/rtnetlink.c:104 call_timer_fn+0x18e/0x650 kernel/time/timer.c:1792 expire_timers kernel/time/timer.c:1843 [inline] __run_timers kernel/time/timer.c:2417 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2428 run_timer_base kernel/time/timer.c:2437 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2447 handle_softirqs+0x2c4/0x970 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:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5821 Code: 2b 00 74 08 4c 89 f7 e8 1a 18 8a 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90014477580 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200288eebc RCX: 1253150752867f00 RDX: dffffc0000000000 RSI: ffffffff8bcad320 RDI: ffffffff8c200760 RBP: ffffc900144776d8 R08: ffffffff92fcb757 R09: 1ffffffff25f96ea R10: dffffc0000000000 R11: fffffbfff25f96eb R12: 1ffff9200288eeb8 R13: dffffc0000000000 R14: ffffc900144775e0 R15: 0000000000000246 __fs_reclaim_acquire mm/page_alloc.c:3838 [inline] fs_reclaim_acquire+0x88/0x140 mm/page_alloc.c:3852 might_alloc include/linux/sched/mm.h:334 [inline] slab_pre_alloc_hook mm/slub.c:3909 [inline] slab_alloc_node mm/slub.c:3999 [inline] __do_kmalloc_node mm/slub.c:4139 [inline] __kmalloc_node_noprof+0xb0/0x440 mm/slub.c:4147 kmalloc_node_noprof include/linux/slab.h:681 [inline] __vmalloc_area_node mm/vmalloc.c:3629 [inline] __vmalloc_node_range_noprof+0x5dd/0x1460 mm/vmalloc.c:3824 __vmalloc_node_noprof mm/vmalloc.c:3889 [inline] vzalloc_noprof+0x79/0x90 mm/vmalloc.c:3962 __do_replace+0xc8/0xa50 net/ipv6/netfilter/ip6_tables.c:1063 do_replace net/ipv6/netfilter/ip6_tables.c:1158 [inline] do_ip6t_set_ctl+0xf11/0x1270 net/ipv6/netfilter/ip6_tables.c:1644 nf_setsockopt+0x295/0x2c0 net/netfilter/nf_sockopt.c:101 do_sock_setsockopt+0x3af/0x720 net/socket.c:2312 __sys_setsockopt+0x1ae/0x250 net/socket.c:2335 __do_sys_setsockopt net/socket.c:2344 [inline] __se_sys_setsockopt net/socket.c:2341 [inline] __x64_sys_setsockopt+0xb5/0xd0 net/socket.c:2341 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:0x7f8ceea7ebfa Code: ff ff ff c3 0f 1f 40 00 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 b0 ff ff ff f7 RSP: 002b:00007fff60bdaaa8 EFLAGS: 00000206 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fff60bdab30 RCX: 00007f8ceea7ebfa RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000558 R09: 0079746972756365 R10: 00007f8ceeb83920 R11: 0000000000000206 R12: 00007f8ceeb838c0 R13: 00007fff60bdaacc R14: 0000000000000000 R15: 00007f8ceeb84d00 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:0x7f4435a0c91e RSP: 002b:00007fff3d786138 EFLAGS: 00000246 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 00007fff3d787260 RCX: 00007f4435a0c91e RDX: 0000000000000000 RSI: 00007fff3d787180 RDI: 0000000000000005 RBP: 00007fff3d7871f0 R08: 00007fff3d787164 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000012 R13: 00007fff3d787164 R14: 00007fff3d787180 R15: 00007fff3d787170 DEBUG: holding rtnl_mutex for 5801 jiffies. task:kworker/u8:9 state:D stack:20688 pid:2872 tgid:2872 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:959 synchronize_rcu+0x11b/0x360 kernel/rcu/tree.c:4015 lockdep_unregister_key+0x4b7/0x540 kernel/locking/lockdep.c:6542 __qdisc_destroy+0x165/0x410 net/sched/sch_generic.c:1078 qdisc_put net/sched/sch_generic.c:1104 [inline] dev_shutdown+0x357/0x440 net/sched/sch_generic.c:1492 unregister_netdevice_many_notify+0x977/0x16b0 net/core/dev.c:11209 unregister_netdevice_many net/core/dev.c:11277 [inline] default_device_exit_batch+0xa0f/0xa90 net/core/dev.c:11760 ops_exit_list net/core/net_namespace.c:178 [inline] cleanup_net+0x89d/0xcc0 net/core/net_namespace.c:640 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3329 worker_thread+0x86d/0xd50 kernel/workqueue.c:3409 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 5805 jiffies. task:syz-executor.3 state:D stack:24608 pid:9687 tgid:9687 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7ea/0x980 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8db/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 __sys_sendto+0x3a4/0x4f0 net/socket.c:2192 __do_sys_sendto net/socket.c:2204 [inline] __se_sys_sendto net/socket.c:2200 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2200 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:0x7f789f47eb9c RSP: 002b:00007ffef6d2a0f0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f78a00e4620 RCX: 00007f789f47eb9c RDX: 0000000000000028 RSI: 00007f78a00e4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffef6d2a144 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f78a00e4670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 5704 jiffies. task:kworker/0:2 state:D stack:20784 pid:783 tgid:783 ppid:2 flags:0x00004000 Workqueue: events linkwatch_event Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 linkwatch_event+0xe/0x60 net/core/link_watch.c:276 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3329 worker_thread+0x86d/0xd50 kernel/workqueue.c:3409 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 5594 jiffies. task:kworker/1:4 state:D stack:20976 pid:5167 tgid:5167 ppid:2 flags:0x00004000 Workqueue: events switchdev_deferred_process_work Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3329 worker_thread+0x86d/0xd50 kernel/workqueue.c:3409 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 5102 jiffies. task:syz-executor.0 state:D stack:26736 pid:9821 tgid:9815 ppid:9207 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7ea/0x980 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8db/0xcb0 net/netlink/af_netlink.c:1901