[ 10.010784][ T88] netdevsim netdevsim421 eni421np1: renamed from eth0 [ 10.010855][ T88] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.010858][ T88] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 88, name: (udev-worker) [ 10.010859][ T88] preempt_count: 1, expected: 0 [ 10.010860][ T88] RCU nest depth: 0, expected: 0 [ 10.010861][ T88] locks held by (udev-worker)/88: 6, last CPU#2: [ 10.010863][ T88] #0: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 10.010875][ T88] #1: ff1100000c952dd8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 10.010880][ T88] #2: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.010886][ T88] #3: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.010890][ T88] #4: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.010893][ T88] #5: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.010897][ T88] irq event stamp: 370142 [ 10.010898][ T88] hardirqs last enabled at (370141): [] __down_trylock_console_sem+0x86/0xa0 [ 10.010900][ T88] hardirqs last disabled at (370142): [] console_emit_next_record+0x3f8/0x4f0 [ 10.010902][ T88] softirqs last enabled at (370136): [] netif_change_name+0x216/0x8c0 [ 10.010904][ T88] softirqs last disabled at (370134): [] netif_change_name+0x1ad/0x8c0 [ 10.010906][ T88] Preemption disabled at: [ 10.010907][ T88] [] vprintk_emit+0x31b/0x3e0 [ 10.010913][ T88] CPU: 2 UID: 0 PID: 88 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.010917][ T88] Tainted: [W]=WARN [ 10.010918][ T88] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.010920][ T88] Call Trace: [ 10.010921][ T88] [ 10.010923][ T88] dump_stack_lvl+0x6f/0xa0 [ 10.010929][ T88] ? vprintk_emit+0x31b/0x3e0 [ 10.010931][ T88] __might_resched.cold+0x1fe/0x2c1 [ 10.010935][ T88] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.010939][ T88] ? __kmalloc_noprof+0xdb/0x760 [ 10.010944][ T88] __kmalloc_noprof+0x443/0x760 [ 10.010946][ T88] ? alloc_buf.isra.0+0x4b/0x260 [ 10.010952][ T88] ? do_raw_spin_unlock+0x59/0x250 [ 10.010955][ T88] alloc_buf.isra.0+0x4b/0x260 [ 10.010958][ T88] put_chars+0x1e1/0x2f0 [ 10.010961][ T88] ? __send_to_port+0x420/0x420 [ 10.010964][ T88] ? validate_chain+0x34a/0xc20 [ 10.010969][ T88] hvc_console_print+0x292/0x780 [ 10.010972][ T88] ? __lock_acquire+0x518/0xc20 [ 10.010977][ T88] ? hvc_write+0x3a0/0x3a0 [ 10.010980][ T88] ? rcu_is_watching+0x16/0xd0 [ 10.010986][ T88] console_emit_next_record+0x252/0x4f0 [ 10.010990][ T88] ? devkmsg_read+0x4e0/0x4e0 [ 10.010994][ T88] ? rcu_is_watching+0x16/0xd0 [ 10.010996][ T88] ? lock_acquire+0x13c/0x160 [ 10.011000][ T88] console_flush_one_record+0x46f/0x710 [ 10.011004][ T88] ? console_emit_next_record+0x4f0/0x4f0 [ 10.011006][ T88] ? __lock_acquire+0x518/0xc20 [ 10.011011][ T88] console_unlock+0xee/0x1f0 [ 10.011014][ T88] ? console_flush_one_record+0x710/0x710 [ 10.011015][ T88] ? rcu_is_watching+0x16/0xd0 [ 10.011018][ T88] ? lock_acquire+0x60/0x160 [ 10.011021][ T88] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.011023][ T88] ? vprintk_emit+0x320/0x3e0 [ 10.011026][ T88] vprintk_emit+0x37c/0x3e0 [ 10.011029][ T88] ? wake_up_klogd_work_func+0x90/0x90 [ 10.011032][ T88] ? write_profile+0xf0/0xf0 [ 10.011035][ T88] ? unwind_get_return_address+0x67/0xd0 [ 10.011042][ T88] dev_vprintk_emit+0x27f/0x2c0 [ 10.011047][ T88] ? device_rename.cold+0xa/0xa [ 10.011051][ T88] ? filter_irq_stacks+0xd0/0xd0 [ 10.011057][ T88] dev_printk_emit+0xb9/0xee [ 10.011060][ T88] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.011064][ T88] ? check_prev_add+0x316/0xe90 [ 10.011069][ T88] __netdev_printk+0x160/0x1d0 [ 10.011074][ T88] netdev_info+0xe2/0x116 [ 10.011077][ T88] ? netdev_notice+0x120/0x120 [ 10.011079][ T88] ? find_held_lock+0x2b/0x80 [ 10.011083][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 10.011085][ T88] ? mark_held_locks+0x40/0x70 [ 10.011088][ T88] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.011091][ T88] netif_change_name.cold+0x4f/0x89 [ 10.011094][ T88] ? __lock_acquire+0x518/0xc20 [ 10.011096][ T88] ? rwsem_optimistic_spin+0x3c7/0x480 [ 10.011098][ T88] ? find_held_lock+0x2/0x80 [ 10.011101][ T88] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.011104][ T88] ? find_held_lock+0x2b/0x80 [ 10.011107][ T88] ? __asan_memset+0x27/0x50 [ 10.011113][ T88] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.011116][ T88] ? __lock_acquire+0x518/0xc20 [ 10.011119][ T88] ? rtnl_link_get_size+0x350/0x350 [ 10.011121][ T88] ? mark_usage+0x61/0x170 [ 10.011122][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.011125][ T88] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.011127][ T88] ? validate_chain+0x38b/0xc20 [ 10.011134][ T88] ? __lock_acquire+0x518/0xc20 [ 10.011139][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 10.011140][ T88] ? rtnl_setlink+0x29d/0x920 [ 10.011144][ T88] ? rcu_is_watching+0x16/0xd0 [ 10.011146][ T88] ? lock_acquire+0x13c/0x160 [ 10.011148][ T88] ? rcu_is_watching+0x16/0xd0 [ 10.011149][ T88] ? rcu_is_watching+0x16/0xd0 [ 10.011151][ T88] ? trace_contention_end+0xb3/0x180 [ 10.011154][ T88] ? __mutex_lock+0x1db/0x1ea0 [ 10.011157][ T88] ? __mutex_lock+0x9a3/0x1ea0 [ 10.011158][ T88] ? __lock_acquire+0x518/0xc20 [ 10.011160][ T88] ? rtnl_setlink+0x29d/0x920 [ 10.011163][ T88] ? mark_usage+0x61/0x170 [ 10.011165][ T88] ? ww_mutex_lock+0x160/0x160 [ 10.011167][ T88] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.011173][ T88] ? mark_usage+0x61/0x170 [ 10.011176][ T88] ? cap_capable+0x1d7/0x3d0 [ 10.011184][ T88] rtnl_setlink+0x527/0x920 [ 10.011188][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 10.011190][ T88] ? __lock_acquire+0x518/0xc20 [ 10.011214][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 10.011215][ T88] ? find_held_lock+0x2b/0x80 [ 10.011219][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 10.011220][ T88] ? mark_usage+0x61/0x170 [ 10.011222][ T88] ? __lock_acquire+0x518/0xc20 [ 10.011227][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 10.011228][ T88] ? find_held_lock+0x2b/0x80 [ 10.011231][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 10.011233][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 10.011237][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 10.011239][ T88] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.011243][ T88] ? rtnl_link_fill+0x900/0x900 [ 10.011244][ T88] ? __lock_acquire+0x518/0xc20 [ 10.011249][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 10.011251][ T88] ? find_held_lock+0x2b/0x80 [ 10.011255][ T88] netlink_rcv_skb+0x14e/0x3a0 [ 10.011258][ T88] ? rtnl_link_fill+0x900/0x900 [ 10.011262][ T88] ? netlink_ack+0xcd0/0xcd0 [ 10.011269][ T88] ? netlink_deliver_tap+0xc5/0x330 [ 10.011271][ T88] ? netlink_deliver_tap+0x13c/0x330 [ 10.011276][ T88] netlink_unicast+0x486/0x750 [ 10.011280][ T88] ? netlink_attachskb+0x810/0x810 [ 10.011283][ T88] ? __lock_acquire+0x518/0xc20 [ 10.011287][ T88] netlink_sendmsg+0x735/0xc60 [ 10.011292][ T88] ? netlink_unicast+0x750/0x750 [ 10.011296][ T88] ? __might_fault+0x97/0x140 [ 10.011299][ T88] ? __might_fault+0x97/0x140 [ 10.011303][ T88] __sys_sendto+0x2aa/0x400 [ 10.011306][ T88] ? __ia32_sys_getpeername+0xd0/0xd0 [ 10.011321][ T88] __x64_sys_sendto+0xe4/0x1f0 [ 10.011323][ T88] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.011327][ T88] ? lockdep_hardirqs_on+0x91/0x130 [ 10.011329][ T88] ? do_syscall_64+0xa6/0x530 [ 10.011331][ T88] do_syscall_64+0xff/0x530 [ 10.011332][ T88] ? irq_exit_rcu+0x1a/0x30 [ 10.011337][ T88] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.011340][ T88] RIP: 0033:0x7fdc8254f54e [ 10.011343][ T88] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 10.011345][ T88] RSP: 002b:00007ffcb8cc5e00 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 10.011348][ T88] RAX: ffffffffffffffda RBX: 0000561f7271ef40 RCX: 00007fdc8254f54e [ 10.011349][ T88] RDX: 0000000000000030 RSI: 0000561f72874e80 RDI: 0000000000000020 [ 10.011350][ T88] RBP: 00007ffcb8cc5e10 R08: 00007ffcb8cc5e60 R09: 0000000000000080 [ 10.011351][ T88] R10: 0000000000000000 R11: 0000000000000202 R12: 0000561f728773c0 [ 10.011352][ T88] R13: 00007ffcb8cc5f44 R14: 0000000000000000 R15: 0000000000000000 [ 10.011359][ T88] [ 10.325293][ T12] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 4789 - 0 [ 10.532348][ T12] netdevsim netdevsim421 eni421np1: unset [0, 0] type 1 family 0 port 4789 - 0 [ 10.601217][ T12] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 4789 - 0 [ 10.609392][ T197] ip (197) used greatest stack depth: 24272 bytes left [ 10.892516][ T12] netdevsim netdevsim421 eni421np1: set [0, 1] type 1 family 0 port 4790 - 0 [ 11.059157][ T12] netdevsim netdevsim421 eni421np1: set [1, 0] type 2 family 0 port 6081 - 0 [ 11.059175][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.059177][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 11.059179][ T12] preempt_count: 1, expected: 0 [ 11.059180][ T12] RCU nest depth: 0, expected: 0 [ 11.059181][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 11.059183][ T12] #0: ff1100000d532940 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 11.059195][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 11.059199][ T12] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 11.059205][ T12] #3: ff110000028a2710 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 11.059208][ T12] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.059213][ T12] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.059217][ T12] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.059221][ T12] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.059224][ T12] irq event stamp: 3230 [ 11.059225][ T12] hardirqs last enabled at (3229): [] __down_trylock_console_sem+0x86/0xa0 [ 11.059227][ T12] hardirqs last disabled at (3230): [] console_emit_next_record+0x3f8/0x4f0 [ 11.059229][ T12] softirqs last enabled at (3218): [] addrconf_dad_begin+0x37f/0x540 [ 11.059233][ T12] softirqs last disabled at (3210): [] addrconf_dad_begin+0x154/0x540 [ 11.059235][ T12] Preemption disabled at: [ 11.059236][ T12] [] vprintk_emit+0x31b/0x3e0 [ 11.059241][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.059245][ T12] Tainted: [W]=WARN [ 11.059246][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.059248][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 11.059252][ T12] Call Trace: [ 11.059253][ T12] [ 11.059255][ T12] dump_stack_lvl+0x6f/0xa0 [ 11.059261][ T12] ? vprintk_emit+0x31b/0x3e0 [ 11.059263][ T12] __might_resched.cold+0x1fe/0x2c1 [ 11.059267][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.059271][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 11.059276][ T12] __kmalloc_noprof+0x443/0x760 [ 11.059278][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 11.059284][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 11.059287][ T12] alloc_buf.isra.0+0x4b/0x260 [ 11.059290][ T12] put_chars+0x1e1/0x2f0 [ 11.059293][ T12] ? __send_to_port+0x420/0x420 [ 11.059296][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.059300][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.059302][ T12] ? validate_chain+0x38b/0xc20 [ 11.059306][ T12] hvc_console_print+0x292/0x780 [ 11.059309][ T12] ? mark_usage+0x61/0x170 [ 11.059311][ T12] ? __lock_acquire+0x518/0xc20 [ 11.059312][ T12] ? __lock_acquire+0x518/0xc20 [ 11.059316][ T12] ? hvc_write+0x3a0/0x3a0 [ 11.059318][ T12] ? console_emit_next_record+0x202/0x4f0 [ 11.059321][ T12] ? rcu_is_watching+0x16/0xd0 [ 11.059324][ T12] ? lock_acquire+0x13c/0x160 [ 11.059328][ T12] console_emit_next_record+0x252/0x4f0 [ 11.059331][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 11.059336][ T12] ? rcu_is_watching+0x16/0xd0 [ 11.059338][ T12] ? lock_acquire+0x13c/0x160 [ 11.059342][ T12] console_flush_one_record+0x46f/0x710 [ 11.059346][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 11.059348][ T12] ? __lock_acquire+0x518/0xc20 [ 11.059353][ T12] console_unlock+0xee/0x1f0 [ 11.059356][ T12] ? console_flush_one_record+0x710/0x710 [ 11.059357][ T12] ? rcu_is_watching+0x16/0xd0 [ 11.059360][ T12] ? lock_acquire+0x60/0x160 [ 11.059363][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.059365][ T12] ? vprintk_emit+0x320/0x3e0 [ 11.059368][ T12] vprintk_emit+0x37c/0x3e0 [ 11.059372][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 11.059375][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 11.059379][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 11.059384][ T12] ? device_rename.cold+0xa/0xa [ 11.059386][ T12] ? debug_object_activate+0x345/0x4a0 [ 11.059393][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 11.059397][ T12] dev_printk_emit+0xb9/0xee [ 11.059400][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 11.059402][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 11.059411][ T12] __netdev_printk+0x160/0x1d0 [ 11.059417][ T12] netdev_info+0xe2/0x116 [ 11.059419][ T12] ? netdev_notice+0x120/0x120 [ 11.059423][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 11.059425][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 11.059428][ T12] ? rcu_is_watching+0x16/0xd0 [ 11.059432][ T12] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 11.059439][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 11.059442][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 11.059444][ T12] ? __asan_memset+0x27/0x50 [ 11.059448][ T12] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 11.059452][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 11.059458][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 11.059464][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 11.059467][ T12] ? rcu_is_watching+0x16/0xd0 [ 11.059469][ T12] ? lock_acquire+0x13c/0x160 [ 11.059471][ T12] ? rcu_is_watching+0x16/0xd0 [ 11.059474][ T12] ? process_one_work+0xe16/0x1560 [ 11.059476][ T12] ? process_one_work+0xdfc/0x1560 [ 11.059477][ T12] process_one_work+0xe3e/0x1560 [ 11.059483][ T12] ? __queue_delayed_work+0x470/0x470 [ 11.059486][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 11.059494][ T12] worker_thread+0x4f1/0xd60 [ 11.059501][ T12] ? rescuer_thread+0x1340/0x1340 [ 11.059503][ T12] kthread+0x367/0x460 [ 11.059505][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.059509][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 11.059512][ T12] ret_from_fork+0x474/0x6b0 [ 11.059517][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 11.059521][ T12] ? __switch_to+0x5a3/0xe00 [ 11.059523][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 11.059526][ T12] ret_from_fork_asm+0x11/0x20 [ 11.059535][ T12] [ 11.069649][ T224] ip (224) used greatest stack depth: 24080 bytes left [ 11.622157][ T12] netdevsim netdevsim421 eni421np1: unset [0, 0] type 1 family 0 port 4789 - 0 [ 11.681314][ T12] netdevsim netdevsim421 eni421np1: unset [0, 1] type 1 family 0 port 4790 - 0 [ 11.743175][ T12] netdevsim netdevsim421 eni421np1: unset [1, 0] type 2 family 0 port 6081 - 0 [ 12.292634][ T88] netdevsim netdevsim421 eni421np2: renamed from eth0 [ 12.292650][ T88] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.292653][ T88] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 88, name: (udev-worker) [ 12.292655][ T88] preempt_count: 1, expected: 0 [ 12.292656][ T88] RCU nest depth: 0, expected: 0 [ 12.292657][ T88] locks held by (udev-worker)/88: 6, last CPU#3: [ 12.292659][ T88] #0: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 12.292671][ T88] #1: ff11000010c22dd8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 12.292675][ T88] #2: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.292682][ T88] #3: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.292685][ T88] #4: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.292689][ T88] #5: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.292693][ T88] irq event stamp: 698832 [ 12.292694][ T88] hardirqs last enabled at (698831): [] __down_trylock_console_sem+0x86/0xa0 [ 12.292696][ T88] hardirqs last disabled at (698832): [] console_emit_next_record+0x3f8/0x4f0 [ 12.292697][ T88] softirqs last enabled at (698826): [] netif_change_name+0x216/0x8c0 [ 12.292700][ T88] softirqs last disabled at (698824): [] netif_change_name+0x1ad/0x8c0 [ 12.292702][ T88] Preemption disabled at: [ 12.292702][ T88] [] vprintk_emit+0x31b/0x3e0 [ 12.292708][ T88] CPU: 3 UID: 0 PID: 88 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.292711][ T88] Tainted: [W]=WARN [ 12.292712][ T88] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.292714][ T88] Call Trace: [ 12.292716][ T88] [ 12.292717][ T88] dump_stack_lvl+0x6f/0xa0 [ 12.292722][ T88] ? vprintk_emit+0x31b/0x3e0 [ 12.292724][ T88] __might_resched.cold+0x1fe/0x2c1 [ 12.292729][ T88] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.292740][ T88] ? __kmalloc_noprof+0xdb/0x760 [ 12.292744][ T88] __kmalloc_noprof+0x443/0x760 [ 12.292747][ T88] ? alloc_buf.isra.0+0x4b/0x260 [ 12.292752][ T88] ? do_raw_spin_unlock+0x59/0x250 [ 12.292755][ T88] alloc_buf.isra.0+0x4b/0x260 [ 12.292759][ T88] put_chars+0x1e1/0x2f0 [ 12.292762][ T88] ? __send_to_port+0x420/0x420 [ 12.292763][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.292767][ T88] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.292770][ T88] ? validate_chain+0x38b/0xc20 [ 12.292774][ T88] hvc_console_print+0x292/0x780 [ 12.292777][ T88] ? __lock_acquire+0x518/0xc20 [ 12.292782][ T88] ? hvc_write+0x3a0/0x3a0 [ 12.292785][ T88] ? rcu_is_watching+0x16/0xd0 [ 12.292790][ T88] console_emit_next_record+0x252/0x4f0 [ 12.292794][ T88] ? devkmsg_read+0x4e0/0x4e0 [ 12.292798][ T88] ? rcu_is_watching+0x16/0xd0 [ 12.292800][ T88] ? lock_acquire+0x13c/0x160 [ 12.292804][ T88] console_flush_one_record+0x46f/0x710 [ 12.292808][ T88] ? console_emit_next_record+0x4f0/0x4f0 [ 12.292810][ T88] ? __lock_acquire+0x518/0xc20 [ 12.292815][ T88] console_unlock+0xee/0x1f0 [ 12.292818][ T88] ? console_flush_one_record+0x710/0x710 [ 12.292819][ T88] ? rcu_is_watching+0x16/0xd0 [ 12.292822][ T88] ? lock_acquire+0x60/0x160 [ 12.292825][ T88] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.292827][ T88] ? vprintk_emit+0x320/0x3e0 [ 12.292830][ T88] vprintk_emit+0x37c/0x3e0 [ 12.292834][ T88] ? wake_up_klogd_work_func+0x90/0x90 [ 12.292836][ T88] ? __lock_acquire+0x518/0xc20 [ 12.292838][ T88] ? rwsem_optimistic_spin+0x3c7/0x480 [ 12.292843][ T88] dev_vprintk_emit+0x27f/0x2c0 [ 12.292848][ T88] ? device_rename.cold+0xa/0xa [ 12.292854][ T88] ? mark_usage+0x61/0x170 [ 12.292858][ T88] dev_printk_emit+0xb9/0xee [ 12.292861][ T88] ? dev_vprintk_emit+0x2c0/0x2c0 [ 12.292863][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.292866][ T88] ? validate_chain+0x38b/0xc20 [ 12.292868][ T88] ? __lock_acquire+0x518/0xc20 [ 12.292869][ T88] ? __lock_acquire+0x518/0xc20 [ 12.292870][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.292873][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.292877][ T88] __netdev_printk+0x160/0x1d0 [ 12.292882][ T88] netdev_info+0xe2/0x116 [ 12.292884][ T88] ? netdev_notice+0x120/0x120 [ 12.292887][ T88] ? find_held_lock+0x2b/0x80 [ 12.292890][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 12.292893][ T88] ? mark_held_locks+0x40/0x70 [ 12.292896][ T88] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 12.292899][ T88] netif_change_name.cold+0x4f/0x89 [ 12.292902][ T88] ? __lock_acquire+0x518/0xc20 [ 12.292904][ T88] ? rwsem_optimistic_spin+0x3c7/0x480 [ 12.292906][ T88] ? find_held_lock+0x2/0x80 [ 12.292909][ T88] ? netdev_adjacent_rename_links+0x470/0x470 [ 12.292911][ T88] ? find_held_lock+0x2b/0x80 [ 12.292915][ T88] ? __asan_memset+0x27/0x50 [ 12.292921][ T88] do_setlink.isra.0+0x1f7d/0x2a60 [ 12.292924][ T88] ? __lock_acquire+0x518/0xc20 [ 12.292927][ T88] ? rtnl_link_get_size+0x350/0x350 [ 12.292928][ T88] ? mark_usage+0x61/0x170 [ 12.292930][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.292932][ T88] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.292934][ T88] ? validate_chain+0x38b/0xc20 [ 12.292938][ T88] ? __lock_acquire+0x518/0xc20 [ 12.292943][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 12.292944][ T88] ? rtnl_setlink+0x29d/0x920 [ 12.292947][ T88] ? rcu_is_watching+0x16/0xd0 [ 12.292950][ T88] ? lock_acquire+0x13c/0x160 [ 12.292951][ T88] ? rcu_is_watching+0x16/0xd0 [ 12.292952][ T88] ? rcu_is_watching+0x16/0xd0 [ 12.292954][ T88] ? trace_contention_end+0xb3/0x180 [ 12.292957][ T88] ? __mutex_lock+0x1db/0x1ea0 [ 12.292960][ T88] ? __mutex_lock+0x9a3/0x1ea0 [ 12.292962][ T88] ? __lock_acquire+0x518/0xc20 [ 12.292963][ T88] ? rtnl_setlink+0x29d/0x920 [ 12.292966][ T88] ? mark_usage+0x61/0x170 [ 12.292968][ T88] ? ww_mutex_lock+0x160/0x160 [ 12.292970][ T88] ? nla_get_range_signed+0x3d0/0x3d0 [ 12.292977][ T88] ? mark_usage+0x61/0x170 [ 12.292980][ T88] ? cap_capable+0x1d7/0x3d0 [ 12.292988][ T88] rtnl_setlink+0x527/0x920 [ 12.292991][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 12.292993][ T88] ? __lock_acquire+0x518/0xc20 [ 12.293017][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 12.293018][ T88] ? find_held_lock+0x2b/0x80 [ 12.293022][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 12.293023][ T88] ? mark_usage+0x61/0x170 [ 12.293025][ T88] ? __lock_acquire+0x518/0xc20 [ 12.293030][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 12.293031][ T88] ? find_held_lock+0x2b/0x80 [ 12.293034][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 12.293036][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 12.293040][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 12.293042][ T88] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 12.293046][ T88] ? rtnl_link_fill+0x900/0x900 [ 12.293047][ T88] ? __lock_acquire+0x518/0xc20 [ 12.293052][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 12.293053][ T88] ? find_held_lock+0x2b/0x80 [ 12.293058][ T88] netlink_rcv_skb+0x14e/0x3a0 [ 12.293061][ T88] ? rtnl_link_fill+0x900/0x900 [ 12.293064][ T88] ? netlink_ack+0xcd0/0xcd0 [ 12.293071][ T88] ? netlink_deliver_tap+0xc5/0x330 [ 12.293073][ T88] ? netlink_deliver_tap+0x13c/0x330 [ 12.293078][ T88] netlink_unicast+0x486/0x750 [ 12.293082][ T88] ? netlink_attachskb+0x810/0x810 [ 12.293085][ T88] ? __lock_acquire+0x518/0xc20 [ 12.293087][ T88] ? do_raw_spin_trylock+0x161/0x180 [ 12.293091][ T88] netlink_sendmsg+0x735/0xc60 [ 12.293095][ T88] ? netlink_unicast+0x750/0x750 [ 12.293099][ T88] ? __might_fault+0x97/0x140 [ 12.293102][ T88] ? __might_fault+0x97/0x140 [ 12.293106][ T88] __sys_sendto+0x2aa/0x400 [ 12.293110][ T88] ? __ia32_sys_getpeername+0xd0/0xd0 [ 12.293121][ T88] ? exc_page_fault+0x87/0x100 [ 12.293129][ T88] __x64_sys_sendto+0xe4/0x1f0 [ 12.293131][ T88] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.293135][ T88] ? lockdep_hardirqs_on+0x91/0x130 [ 12.293137][ T88] ? do_syscall_64+0xa6/0x530 [ 12.293139][ T88] do_syscall_64+0xff/0x530 [ 12.293140][ T88] ? exc_page_fault+0xee/0x100 [ 12.293144][ T88] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.293148][ T88] RIP: 0033:0x7fdc8254f54e [ 12.293152][ T88] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 12.293153][ T88] RSP: 002b:00007ffcb8cc5e00 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 12.293156][ T88] RAX: ffffffffffffffda RBX: 0000561f7271ef40 RCX: 00007fdc8254f54e [ 12.293158][ T88] RDX: 0000000000000030 RSI: 0000561f728704e0 RDI: 0000000000000020 [ 12.293158][ T88] RBP: 00007ffcb8cc5e10 R08: 00007ffcb8cc5e60 R09: 0000000000000080 [ 12.293159][ T88] R10: 0000000000000000 R11: 0000000000000202 R12: 0000561f72881510 [ 12.293160][ T88] R13: 00007ffcb8cc5f44 R14: 0000000000000000 R15: 0000000000000000 [ 12.293167][ T88] [ 12.638253][ T12] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 4789 - 0 [ 12.638853][ T12] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 4789 - 0 [ 12.858158][ T12] netdevsim netdevsim421 eni421np2: unset [0, 0] type 1 family 0 port 4789 - 0 [ 12.858577][ T12] netdevsim netdevsim421 eni421np1: unset [0, 0] type 1 family 0 port 4789 - 0 [ 12.961164][ T12] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 4789 - 0 [ 12.961662][ T12] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 4789 - 0 [ 13.285205][ T12] netdevsim netdevsim421 eni421np2: set [0, 1] type 1 family 0 port 4790 - 0 [ 13.285720][ T12] netdevsim netdevsim421 eni421np1: set [0, 1] type 1 family 0 port 4790 - 0 [ 13.482386][ T12] netdevsim netdevsim421 eni421np1: set [1, 0] type 2 family 0 port 6081 - 0 [ 13.482405][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.482408][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 13.482410][ T12] preempt_count: 1, expected: 0 [ 13.482410][ T12] RCU nest depth: 0, expected: 0 [ 13.482412][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 13.482414][ T12] #0: ff1100000d77c140 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 13.482426][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 13.482430][ T12] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 13.482437][ T12] #3: ff11000002758f10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 13.482440][ T12] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.482446][ T12] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.482449][ T12] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.482453][ T12] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 13.482456][ T12] irq event stamp: 10252 [ 13.482457][ T12] hardirqs last enabled at (10251): [] __down_trylock_console_sem+0x86/0xa0 [ 13.482460][ T12] hardirqs last disabled at (10252): [] console_emit_next_record+0x3f8/0x4f0 [ 13.482461][ T12] softirqs last enabled at (10240): [] addrconf_dad_begin+0x37f/0x540 [ 13.482465][ T12] softirqs last disabled at (10232): [] addrconf_dad_begin+0x154/0x540 [ 13.482468][ T12] Preemption disabled at: [ 13.482468][ T12] [] vprintk_emit+0x31b/0x3e0 [ 13.482474][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.482477][ T12] Tainted: [W]=WARN [ 13.482478][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.482480][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 13.482484][ T12] Call Trace: [ 13.482486][ T12] [ 13.482487][ T12] dump_stack_lvl+0x6f/0xa0 [ 13.482493][ T12] ? vprintk_emit+0x31b/0x3e0 [ 13.482495][ T12] __might_resched.cold+0x1fe/0x2c1 [ 13.482500][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.482504][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 13.482509][ T12] __kmalloc_noprof+0x443/0x760 [ 13.482511][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 13.482517][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 13.482519][ T12] alloc_buf.isra.0+0x4b/0x260 [ 13.482522][ T12] put_chars+0x1e1/0x2f0 [ 13.482525][ T12] ? __send_to_port+0x420/0x420 [ 13.482529][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.482532][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 13.482535][ T12] ? validate_chain+0x38b/0xc20 [ 13.482539][ T12] hvc_console_print+0x292/0x780 [ 13.482542][ T12] ? mark_usage+0x61/0x170 [ 13.482543][ T12] ? __lock_acquire+0x518/0xc20 [ 13.482544][ T12] ? __lock_acquire+0x518/0xc20 [ 13.482548][ T12] ? hvc_write+0x3a0/0x3a0 [ 13.482550][ T12] ? console_emit_next_record+0x202/0x4f0 [ 13.482554][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.482556][ T12] ? lock_acquire+0x13c/0x160 [ 13.482560][ T12] console_emit_next_record+0x252/0x4f0 [ 13.482564][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 13.482568][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.482571][ T12] ? lock_acquire+0x13c/0x160 [ 13.482575][ T12] console_flush_one_record+0x46f/0x710 [ 13.482579][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 13.482580][ T12] ? __lock_acquire+0x518/0xc20 [ 13.482586][ T12] console_unlock+0xee/0x1f0 [ 13.482589][ T12] ? console_flush_one_record+0x710/0x710 [ 13.482590][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.482592][ T12] ? lock_acquire+0x60/0x160 [ 13.482596][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.482597][ T12] ? vprintk_emit+0x320/0x3e0 [ 13.482601][ T12] vprintk_emit+0x37c/0x3e0 [ 13.482604][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 13.482608][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 13.482612][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 13.482617][ T12] ? device_rename.cold+0xa/0xa [ 13.482619][ T12] ? debug_object_activate+0x345/0x4a0 [ 13.482626][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 13.482630][ T12] dev_printk_emit+0xb9/0xee [ 13.482633][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 13.482635][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 13.482644][ T12] __netdev_printk+0x160/0x1d0 [ 13.482650][ T12] netdev_info+0xe2/0x116 [ 13.482652][ T12] ? netdev_notice+0x120/0x120 [ 13.482656][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 13.482658][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 13.482662][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.482666][ T12] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 13.482673][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 13.482675][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 13.482677][ T12] ? __asan_memset+0x27/0x50 [ 13.482681][ T12] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 13.482685][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 13.482692][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 13.482698][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 13.482701][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.482703][ T12] ? lock_acquire+0x13c/0x160 [ 13.482705][ T12] ? rcu_is_watching+0x16/0xd0 [ 13.482708][ T12] ? process_one_work+0xe16/0x1560 [ 13.482710][ T12] ? process_one_work+0xdfc/0x1560 [ 13.482711][ T12] process_one_work+0xe3e/0x1560 [ 13.482718][ T12] ? __queue_delayed_work+0x470/0x470 [ 13.482721][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 13.482729][ T12] worker_thread+0x4f1/0xd60 [ 13.482736][ T12] ? rescuer_thread+0x1340/0x1340 [ 13.482738][ T12] kthread+0x367/0x460 [ 13.482740][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.482748][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 13.482751][ T12] ret_from_fork+0x474/0x6b0 [ 13.482756][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 13.482760][ T12] ? __switch_to+0x5a3/0xe00 [ 13.482763][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 13.482765][ T12] ret_from_fork_asm+0x11/0x20 [ 13.482774][ T12] [ 13.521104][ T12] netdevsim netdevsim421 eni421np2: set [1, 0] type 2 family 0 port 6081 - 0 [ 13.643008][ T333] netdevsim netdevsim421 eni421np2: unset [0, 0] type 1 family 0 port 4789 - 0 [ 13.644483][ T333] netdevsim netdevsim421 eni421np2: unset [0, 1] type 1 family 0 port 4790 - 0 [ 13.644951][ T333] netdevsim netdevsim421 eni421np2: unset [1, 0] type 2 family 0 port 6081 - 0 [ 13.652623][ T333] ip (333) used greatest stack depth: 24016 bytes left [ 13.683757][ T12] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 4789 - 0 [ 13.684167][ T12] netdevsim netdevsim421 eni421np2: set [0, 1] type 1 family 0 port 4790 - 0 [ 13.684533][ T12] netdevsim netdevsim421 eni421np2: set [1, 0] type 2 family 0 port 6081 - 0 [ 13.962152][ T12] netdevsim netdevsim421 eni421np2: unset [0, 0] type 1 family 0 port 4789 - 0 [ 13.962586][ T12] netdevsim netdevsim421 eni421np1: unset [0, 0] type 1 family 0 port 4789 - 0 [ 14.007158][ T12] netdevsim netdevsim421 eni421np2: unset [0, 1] type 1 family 0 port 4790 - 0 [ 14.007632][ T12] netdevsim netdevsim421 eni421np1: unset [0, 1] type 1 family 0 port 4790 - 0 [ 14.060158][ T12] netdevsim netdevsim421 eni421np1: unset [1, 0] type 2 family 0 port 6081 - 0 [ 14.060609][ T12] netdevsim netdevsim421 eni421np2: unset [1, 0] type 2 family 0 port 6081 - 0 [ 15.106413][ T88] netdevsim netdevsim421 eni421np1: renamed from eth0 [ 15.106559][ T88] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.106562][ T88] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 88, name: (udev-worker) [ 15.106564][ T88] preempt_count: 1, expected: 0 [ 15.106564][ T88] RCU nest depth: 0, expected: 0 [ 15.106566][ T88] locks held by (udev-worker)/88: 6, last CPU#3: [ 15.106568][ T88] #0: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 15.106581][ T88] #1: ff11000011c8add8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 15.106586][ T88] #2: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.106591][ T88] #3: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.106595][ T88] #4: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.106598][ T88] #5: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 15.106602][ T88] irq event stamp: 1082892 [ 15.106603][ T88] hardirqs last enabled at (1082891): [] __down_trylock_console_sem+0x86/0xa0 [ 15.106605][ T88] hardirqs last disabled at (1082892): [] console_emit_next_record+0x3f8/0x4f0 [ 15.106607][ T88] softirqs last enabled at (1082886): [] netif_change_name+0x216/0x8c0 [ 15.106609][ T88] softirqs last disabled at (1082884): [] netif_change_name+0x1ad/0x8c0 [ 15.106612][ T88] Preemption disabled at: [ 15.106612][ T88] [] vprintk_emit+0x31b/0x3e0 [ 15.106618][ T88] CPU: 3 UID: 0 PID: 88 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.106622][ T88] Tainted: [W]=WARN [ 15.106623][ T88] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.106625][ T88] Call Trace: [ 15.106627][ T88] [ 15.106628][ T88] dump_stack_lvl+0x6f/0xa0 [ 15.106634][ T88] ? vprintk_emit+0x31b/0x3e0 [ 15.106636][ T88] __might_resched.cold+0x1fe/0x2c1 [ 15.106640][ T88] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.106644][ T88] ? __kmalloc_noprof+0xdb/0x760 [ 15.106649][ T88] __kmalloc_noprof+0x443/0x760 [ 15.106651][ T88] ? alloc_buf.isra.0+0x4b/0x260 [ 15.106657][ T88] ? do_raw_spin_unlock+0x59/0x250 [ 15.106659][ T88] alloc_buf.isra.0+0x4b/0x260 [ 15.106663][ T88] put_chars+0x1e1/0x2f0 [ 15.106666][ T88] ? __send_to_port+0x420/0x420 [ 15.106669][ T88] ? validate_chain+0x34a/0xc20 [ 15.106674][ T88] hvc_console_print+0x292/0x780 [ 15.106676][ T88] ? __lock_acquire+0x518/0xc20 [ 15.106681][ T88] ? hvc_write+0x3a0/0x3a0 [ 15.106684][ T88] ? rcu_is_watching+0x16/0xd0 [ 15.106691][ T88] console_emit_next_record+0x252/0x4f0 [ 15.106694][ T88] ? devkmsg_read+0x4e0/0x4e0 [ 15.106699][ T88] ? rcu_is_watching+0x16/0xd0 [ 15.106701][ T88] ? lock_acquire+0x13c/0x160 [ 15.106705][ T88] console_flush_one_record+0x46f/0x710 [ 15.106709][ T88] ? console_emit_next_record+0x4f0/0x4f0 [ 15.106710][ T88] ? __lock_acquire+0x518/0xc20 [ 15.106715][ T88] console_unlock+0xee/0x1f0 [ 15.106718][ T88] ? console_flush_one_record+0x710/0x710 [ 15.106720][ T88] ? rcu_is_watching+0x16/0xd0 [ 15.106722][ T88] ? lock_acquire+0x60/0x160 [ 15.106725][ T88] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.106727][ T88] ? vprintk_emit+0x320/0x3e0 [ 15.106730][ T88] vprintk_emit+0x37c/0x3e0 [ 15.106733][ T88] ? wake_up_klogd_work_func+0x90/0x90 [ 15.106735][ T88] ? write_profile+0xf0/0xf0 [ 15.106739][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.106742][ T88] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.106747][ T88] dev_vprintk_emit+0x27f/0x2c0 [ 15.106752][ T88] ? device_rename.cold+0xa/0xa [ 15.106754][ T88] ? check_irq_usage+0x143/0x570 [ 15.106769][ T88] dev_printk_emit+0xb9/0xee [ 15.106771][ T88] ? dev_vprintk_emit+0x2c0/0x2c0 [ 15.106775][ T88] ? check_prev_add+0xef/0xe90 [ 15.106776][ T88] ? check_prev_add+0xef/0xe90 [ 15.106781][ T88] __netdev_printk+0x160/0x1d0 [ 15.106786][ T88] netdev_info+0xe2/0x116 [ 15.106789][ T88] ? netdev_notice+0x120/0x120 [ 15.106791][ T88] ? find_held_lock+0x2b/0x80 [ 15.106795][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 15.106797][ T88] ? mark_held_locks+0x40/0x70 [ 15.106801][ T88] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 15.106803][ T88] netif_change_name.cold+0x4f/0x89 [ 15.106806][ T88] ? __lock_acquire+0x518/0xc20 [ 15.106808][ T88] ? rwsem_optimistic_spin+0x3c7/0x480 [ 15.106810][ T88] ? find_held_lock+0x2/0x80 [ 15.106813][ T88] ? netdev_adjacent_rename_links+0x470/0x470 [ 15.106816][ T88] ? find_held_lock+0x2b/0x80 [ 15.106819][ T88] ? __asan_memset+0x27/0x50 [ 15.106825][ T88] do_setlink.isra.0+0x1f7d/0x2a60 [ 15.106828][ T88] ? __lock_acquire+0x518/0xc20 [ 15.106830][ T88] ? rtnl_link_get_size+0x350/0x350 [ 15.106832][ T88] ? mark_usage+0x61/0x170 [ 15.106833][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.106836][ T88] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.106837][ T88] ? validate_chain+0x38b/0xc20 [ 15.106842][ T88] ? __lock_acquire+0x518/0xc20 [ 15.106846][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 15.106848][ T88] ? rtnl_setlink+0x29d/0x920 [ 15.106851][ T88] ? rcu_is_watching+0x16/0xd0 [ 15.106853][ T88] ? lock_acquire+0x13c/0x160 [ 15.106854][ T88] ? rcu_is_watching+0x16/0xd0 [ 15.106856][ T88] ? rcu_is_watching+0x16/0xd0 [ 15.106858][ T88] ? trace_contention_end+0xb3/0x180 [ 15.106860][ T88] ? __mutex_lock+0x1db/0x1ea0 [ 15.106863][ T88] ? __mutex_lock+0x9a3/0x1ea0 [ 15.106865][ T88] ? __lock_acquire+0x518/0xc20 [ 15.106867][ T88] ? rtnl_setlink+0x29d/0x920 [ 15.106869][ T88] ? mark_usage+0x61/0x170 [ 15.106872][ T88] ? ww_mutex_lock+0x160/0x160 [ 15.106873][ T88] ? nla_get_range_signed+0x3d0/0x3d0 [ 15.106880][ T88] ? mark_usage+0x61/0x170 [ 15.106883][ T88] ? cap_capable+0x1d7/0x3d0 [ 15.106890][ T88] rtnl_setlink+0x527/0x920 [ 15.106894][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 15.106896][ T88] ? __lock_acquire+0x518/0xc20 [ 15.106919][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 15.106920][ T88] ? find_held_lock+0x2b/0x80 [ 15.106923][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 15.106925][ T88] ? mark_usage+0x61/0x170 [ 15.106927][ T88] ? __lock_acquire+0x518/0xc20 [ 15.106931][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 15.106933][ T88] ? find_held_lock+0x2b/0x80 [ 15.106935][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 15.106937][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 15.106941][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 15.106943][ T88] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 15.106947][ T88] ? rtnl_link_fill+0x900/0x900 [ 15.106948][ T88] ? __lock_acquire+0x518/0xc20 [ 15.106953][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 15.106954][ T88] ? find_held_lock+0x2b/0x80 [ 15.106958][ T88] netlink_rcv_skb+0x14e/0x3a0 [ 15.106962][ T88] ? rtnl_link_fill+0x900/0x900 [ 15.106965][ T88] ? netlink_ack+0xcd0/0xcd0 [ 15.106972][ T88] ? netlink_deliver_tap+0xc5/0x330 [ 15.106974][ T88] ? netlink_deliver_tap+0x13c/0x330 [ 15.106978][ T88] netlink_unicast+0x486/0x750 [ 15.106983][ T88] ? netlink_attachskb+0x810/0x810 [ 15.106985][ T88] ? __lock_acquire+0x518/0xc20 [ 15.106987][ T88] ? do_raw_spin_trylock+0x161/0x180 [ 15.106991][ T88] netlink_sendmsg+0x735/0xc60 [ 15.106995][ T88] ? netlink_unicast+0x750/0x750 [ 15.106999][ T88] ? __might_fault+0x97/0x140 [ 15.107002][ T88] ? __might_fault+0x97/0x140 [ 15.107006][ T88] __sys_sendto+0x2aa/0x400 [ 15.107009][ T88] ? __ia32_sys_getpeername+0xd0/0xd0 [ 15.107020][ T88] ? exc_page_fault+0x87/0x100 [ 15.107026][ T88] __x64_sys_sendto+0xe4/0x1f0 [ 15.107028][ T88] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.107032][ T88] ? lockdep_hardirqs_on+0x91/0x130 [ 15.107034][ T88] ? do_syscall_64+0xa6/0x530 [ 15.107035][ T88] do_syscall_64+0xff/0x530 [ 15.107037][ T88] ? exc_page_fault+0xee/0x100 [ 15.107039][ T88] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.107042][ T88] RIP: 0033:0x7fdc8254f54e [ 15.107046][ T88] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 15.107047][ T88] RSP: 002b:00007ffcb8cc5e00 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 15.107050][ T88] RAX: ffffffffffffffda RBX: 0000561f7271ef40 RCX: 00007fdc8254f54e [ 15.107052][ T88] RDX: 0000000000000030 RSI: 0000561f728818b0 RDI: 0000000000000020 [ 15.107052][ T88] RBP: 00007ffcb8cc5e10 R08: 00007ffcb8cc5e60 R09: 0000000000000080 [ 15.107053][ T88] R10: 0000000000000000 R11: 0000000000000202 R12: 0000561f7288b9d0 [ 15.107054][ T88] R13: 00007ffcb8cc5f44 R14: 0000000000000000 R15: 0000000000000000 [ 15.107061][ T88] [ 15.382202][ T12] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 15.471955][ T378] netdevsim netdevsim421 eni421np1 (unregistering): unset [0, 0] type 1 family 0 port 10000 - 0 [ 15.845339][ T89] netdevsim netdevsim421 eni421np1: renamed from eth0 [ 16.187471][ T12] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 16.187493][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.187497][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 16.187499][ T12] preempt_count: 1, expected: 0 [ 16.187501][ T12] RCU nest depth: 0, expected: 0 [ 16.187502][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 16.187505][ T12] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 16.187521][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 16.187527][ T12] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 16.187536][ T12] #3: ff110000096d3910 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 16.187542][ T12] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.187549][ T12] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.187555][ T12] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.187561][ T12] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 16.187567][ T12] irq event stamp: 17776 [ 16.187569][ T12] hardirqs last enabled at (17775): [] __down_trylock_console_sem+0x86/0xa0 [ 16.187572][ T12] hardirqs last disabled at (17776): [] console_emit_next_record+0x3f8/0x4f0 [ 16.187575][ T12] softirqs last enabled at (17764): [] addrconf_dad_begin+0x37f/0x540 [ 16.187580][ T12] softirqs last disabled at (17756): [] addrconf_dad_begin+0x154/0x540 [ 16.187584][ T12] Preemption disabled at: [ 16.187585][ T12] [] vprintk_emit+0x31b/0x3e0 [ 16.187592][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.187597][ T12] Tainted: [W]=WARN [ 16.187599][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.187602][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 16.187607][ T12] Call Trace: [ 16.187610][ T12] [ 16.187613][ T12] dump_stack_lvl+0x6f/0xa0 [ 16.187620][ T12] ? vprintk_emit+0x31b/0x3e0 [ 16.187623][ T12] __might_resched.cold+0x1fe/0x2c1 [ 16.187630][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.187635][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 16.187643][ T12] __kmalloc_noprof+0x443/0x760 [ 16.187646][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 16.187655][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 16.187659][ T12] alloc_buf.isra.0+0x4b/0x260 [ 16.187664][ T12] put_chars+0x1e1/0x2f0 [ 16.187669][ T12] ? __send_to_port+0x420/0x420 [ 16.187675][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.187680][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.187684][ T12] ? validate_chain+0x38b/0xc20 [ 16.187690][ T12] hvc_console_print+0x292/0x780 [ 16.187694][ T12] ? mark_usage+0x61/0x170 [ 16.187697][ T12] ? __lock_acquire+0x518/0xc20 [ 16.187700][ T12] ? __lock_acquire+0x518/0xc20 [ 16.187707][ T12] ? hvc_write+0x3a0/0x3a0 [ 16.187711][ T12] ? console_emit_next_record+0x202/0x4f0 [ 16.187716][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.187720][ T12] ? lock_acquire+0x13c/0x160 [ 16.187727][ T12] console_emit_next_record+0x252/0x4f0 [ 16.187734][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 16.187742][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.187745][ T12] ? lock_acquire+0x13c/0x160 [ 16.187753][ T12] console_flush_one_record+0x46f/0x710 [ 16.187760][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 16.187763][ T12] ? __lock_acquire+0x518/0xc20 [ 16.187781][ T12] console_unlock+0xee/0x1f0 [ 16.187786][ T12] ? console_flush_one_record+0x710/0x710 [ 16.187788][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.187792][ T12] ? lock_acquire+0x60/0x160 [ 16.187798][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.187801][ T12] ? vprintk_emit+0x320/0x3e0 [ 16.187807][ T12] vprintk_emit+0x37c/0x3e0 [ 16.187813][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 16.187818][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 16.187826][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 16.187834][ T12] ? device_rename.cold+0xa/0xa [ 16.187837][ T12] ? debug_object_activate+0x345/0x4a0 [ 16.187849][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 16.187856][ T12] dev_printk_emit+0xb9/0xee [ 16.187860][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 16.187863][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 16.187879][ T12] __netdev_printk+0x160/0x1d0 [ 16.187888][ T12] netdev_info+0xe2/0x116 [ 16.187891][ T12] ? netdev_notice+0x120/0x120 [ 16.187899][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 16.187902][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 16.187908][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.187915][ T12] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 16.187925][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 16.187930][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 16.187933][ T12] ? __asan_memset+0x27/0x50 [ 16.187939][ T12] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 16.187946][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 16.187956][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 16.187968][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 16.187972][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.187975][ T12] ? lock_acquire+0x13c/0x160 [ 16.187978][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.187984][ T12] ? process_one_work+0xe16/0x1560 [ 16.187987][ T12] ? process_one_work+0xdfc/0x1560 [ 16.187989][ T12] process_one_work+0xe3e/0x1560 [ 16.188001][ T12] ? __queue_delayed_work+0x470/0x470 [ 16.188006][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 16.188021][ T12] worker_thread+0x4f1/0xd60 [ 16.188034][ T12] ? rescuer_thread+0x1340/0x1340 [ 16.188037][ T12] kthread+0x367/0x460 [ 16.188041][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.188046][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 16.188050][ T12] ret_from_fork+0x474/0x6b0 [ 16.188058][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 16.188064][ T12] ? __switch_to+0x5a3/0xe00 [ 16.188068][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 16.188073][ T12] ret_from_fork_asm+0x11/0x20 [ 16.188089][ T12] [ 16.347927][ T12] netdevsim netdevsim421 eni421np1: set [0, 1] type 1 family 0 port 10001 - 0 [ 16.503153][ T69] netdevsim netdevsim421 eni421np1: set [0, 2] type 1 family 0 port 10002 - 0 [ 16.690420][ T69] netdevsim netdevsim421 eni421np1: set [0, 3] type 1 family 0 port 10003 - 0 [ 17.131197][ T69] netdevsim netdevsim421 eni421np1: set [1, 0] type 2 family 0 port 20000 - 0 [ 17.350159][ T12] netdevsim netdevsim421 eni421np1: set [1, 1] type 2 family 0 port 20001 - 0 [ 17.350179][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.350182][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 17.350183][ T12] preempt_count: 1, expected: 0 [ 17.350184][ T12] RCU nest depth: 0, expected: 0 [ 17.350185][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 17.350188][ T12] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 17.350200][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 17.350204][ T12] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 17.350210][ T12] #3: ff110000096d3910 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 17.350213][ T12] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.350219][ T12] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.350222][ T12] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.350226][ T12] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 17.350230][ T12] irq event stamp: 20284 [ 17.350231][ T12] hardirqs last enabled at (20283): [] __down_trylock_console_sem+0x86/0xa0 [ 17.350233][ T12] hardirqs last disabled at (20284): [] console_emit_next_record+0x3f8/0x4f0 [ 17.350235][ T12] softirqs last enabled at (20272): [] addrconf_dad_begin+0x37f/0x540 [ 17.350239][ T12] softirqs last disabled at (20264): [] addrconf_dad_begin+0x154/0x540 [ 17.350241][ T12] Preemption disabled at: [ 17.350242][ T12] [] vprintk_emit+0x31b/0x3e0 [ 17.350247][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.350251][ T12] Tainted: [W]=WARN [ 17.350252][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.350254][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 17.350258][ T12] Call Trace: [ 17.350259][ T12] [ 17.350261][ T12] dump_stack_lvl+0x6f/0xa0 [ 17.350266][ T12] ? vprintk_emit+0x31b/0x3e0 [ 17.350268][ T12] __might_resched.cold+0x1fe/0x2c1 [ 17.350273][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.350277][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 17.350282][ T12] __kmalloc_noprof+0x443/0x760 [ 17.350284][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 17.350290][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 17.350293][ T12] alloc_buf.isra.0+0x4b/0x260 [ 17.350296][ T12] put_chars+0x1e1/0x2f0 [ 17.350299][ T12] ? __send_to_port+0x420/0x420 [ 17.350302][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.350306][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.350309][ T12] ? validate_chain+0x38b/0xc20 [ 17.350312][ T12] hvc_console_print+0x292/0x780 [ 17.350315][ T12] ? mark_usage+0x61/0x170 [ 17.350317][ T12] ? __lock_acquire+0x518/0xc20 [ 17.350318][ T12] ? __lock_acquire+0x518/0xc20 [ 17.350322][ T12] ? hvc_write+0x3a0/0x3a0 [ 17.350324][ T12] ? console_emit_next_record+0x202/0x4f0 [ 17.350328][ T12] ? rcu_is_watching+0x16/0xd0 [ 17.350330][ T12] ? lock_acquire+0x13c/0x160 [ 17.350334][ T12] console_emit_next_record+0x252/0x4f0 [ 17.350338][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 17.350342][ T12] ? rcu_is_watching+0x16/0xd0 [ 17.350344][ T12] ? lock_acquire+0x13c/0x160 [ 17.350348][ T12] console_flush_one_record+0x46f/0x710 [ 17.350353][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 17.350354][ T12] ? __lock_acquire+0x518/0xc20 [ 17.350360][ T12] console_unlock+0xee/0x1f0 [ 17.350362][ T12] ? console_flush_one_record+0x710/0x710 [ 17.350364][ T12] ? rcu_is_watching+0x16/0xd0 [ 17.350366][ T12] ? lock_acquire+0x60/0x160 [ 17.350370][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.350371][ T12] ? vprintk_emit+0x320/0x3e0 [ 17.350374][ T12] vprintk_emit+0x37c/0x3e0 [ 17.350378][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 17.350381][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 17.350386][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 17.350391][ T12] ? device_rename.cold+0xa/0xa [ 17.350393][ T12] ? debug_object_activate+0x345/0x4a0 [ 17.350400][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 17.350404][ T12] dev_printk_emit+0xb9/0xee [ 17.350407][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 17.350409][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 17.350418][ T12] __netdev_printk+0x160/0x1d0 [ 17.350424][ T12] netdev_info+0xe2/0x116 [ 17.350426][ T12] ? netdev_notice+0x120/0x120 [ 17.350430][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 17.350432][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 17.350435][ T12] ? rcu_is_watching+0x16/0xd0 [ 17.350439][ T12] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 17.350446][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 17.350449][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 17.350451][ T12] ? __asan_memset+0x27/0x50 [ 17.350455][ T12] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 17.350459][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 17.350464][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 17.350471][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 17.350474][ T12] ? rcu_is_watching+0x16/0xd0 [ 17.350476][ T12] ? lock_acquire+0x13c/0x160 [ 17.350477][ T12] ? rcu_is_watching+0x16/0xd0 [ 17.350481][ T12] ? process_one_work+0xe16/0x1560 [ 17.350482][ T12] ? process_one_work+0xdfc/0x1560 [ 17.350484][ T12] process_one_work+0xe3e/0x1560 [ 17.350490][ T12] ? __queue_delayed_work+0x470/0x470 [ 17.350493][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 17.350501][ T12] worker_thread+0x4f1/0xd60 [ 17.350508][ T12] ? rescuer_thread+0x1340/0x1340 [ 17.350510][ T12] kthread+0x367/0x460 [ 17.350512][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.350516][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 17.350519][ T12] ret_from_fork+0x474/0x6b0 [ 17.350524][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 17.350528][ T12] ? __switch_to+0x5a3/0xe00 [ 17.350530][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 17.350533][ T12] ret_from_fork_asm+0x11/0x20 [ 17.350542][ T12] [ 17.626153][ T12] netdevsim netdevsim421 eni421np1: set [1, 2] type 2 family 0 port 20002 - 0 [ 17.959519][ T12] netdevsim netdevsim421 eni421np1: set [1, 3] type 2 family 0 port 20003 - 0 [ 18.657157][ T12] netdevsim netdevsim421 eni421np1: unset [0, 1] type 1 family 0 port 10001 - 0 [ 18.657178][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.657180][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 18.657182][ T12] preempt_count: 1, expected: 0 [ 18.657183][ T12] RCU nest depth: 0, expected: 0 [ 18.657184][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 18.657187][ T12] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 18.657199][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 18.657203][ T12] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 18.657210][ T12] #3: ff110000096d3910 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 18.657213][ T12] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.657219][ T12] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.657223][ T12] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.657226][ T12] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 18.657230][ T12] irq event stamp: 26310 [ 18.657231][ T12] hardirqs last enabled at (26309): [] __down_trylock_console_sem+0x86/0xa0 [ 18.657233][ T12] hardirqs last disabled at (26310): [] console_emit_next_record+0x3f8/0x4f0 [ 18.657235][ T12] softirqs last enabled at (26274): [] __fib6_clean_all+0xf3/0x270 [ 18.657239][ T12] softirqs last disabled at (26268): [] __fib6_clean_all+0xd0/0x270 [ 18.657241][ T12] Preemption disabled at: [ 18.657242][ T12] [] vprintk_emit+0x31b/0x3e0 [ 18.657248][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.657252][ T12] Tainted: [W]=WARN [ 18.657253][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.657255][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 18.657259][ T12] Call Trace: [ 18.657261][ T12] [ 18.657262][ T12] dump_stack_lvl+0x6f/0xa0 [ 18.657268][ T12] ? vprintk_emit+0x31b/0x3e0 [ 18.657270][ T12] __might_resched.cold+0x1fe/0x2c1 [ 18.657275][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.657279][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 18.657284][ T12] __kmalloc_noprof+0x443/0x760 [ 18.657286][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 18.657292][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 18.657294][ T12] alloc_buf.isra.0+0x4b/0x260 [ 18.657298][ T12] put_chars+0x1e1/0x2f0 [ 18.657301][ T12] ? __send_to_port+0x420/0x420 [ 18.657304][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.657308][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 18.657311][ T12] ? validate_chain+0x38b/0xc20 [ 18.657315][ T12] hvc_console_print+0x292/0x780 [ 18.657318][ T12] ? mark_usage+0x61/0x170 [ 18.657319][ T12] ? __lock_acquire+0x518/0xc20 [ 18.657321][ T12] ? __lock_acquire+0x518/0xc20 [ 18.657325][ T12] ? hvc_write+0x3a0/0x3a0 [ 18.657327][ T12] ? console_emit_next_record+0x202/0x4f0 [ 18.657330][ T12] ? rcu_is_watching+0x16/0xd0 [ 18.657333][ T12] ? lock_acquire+0x13c/0x160 [ 18.657337][ T12] console_emit_next_record+0x252/0x4f0 [ 18.657341][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 18.657345][ T12] ? rcu_is_watching+0x16/0xd0 [ 18.657348][ T12] ? lock_acquire+0x13c/0x160 [ 18.657352][ T12] console_flush_one_record+0x46f/0x710 [ 18.657356][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 18.657358][ T12] ? __lock_acquire+0x518/0xc20 [ 18.657363][ T12] console_unlock+0xee/0x1f0 [ 18.657366][ T12] ? console_flush_one_record+0x710/0x710 [ 18.657368][ T12] ? rcu_is_watching+0x16/0xd0 [ 18.657370][ T12] ? lock_acquire+0x60/0x160 [ 18.657374][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.657375][ T12] ? vprintk_emit+0x320/0x3e0 [ 18.657379][ T12] vprintk_emit+0x37c/0x3e0 [ 18.657382][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 18.657386][ T12] ? update_cfs_rq_load_avg+0x4b/0x660 [ 18.657391][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 18.657396][ T12] ? device_rename.cold+0xa/0xa [ 18.657398][ T12] ? update_cfs_rq_load_avg+0x4b/0x660 [ 18.657406][ T12] dev_printk_emit+0xb9/0xee [ 18.657409][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 18.657411][ T12] ? __resched_curr+0x3de/0x530 [ 18.657414][ T12] ? __trace_set_current_state+0x160/0x160 [ 18.657416][ T12] ? wakeup_preempt_fair+0x572/0x15d0 [ 18.657419][ T12] ? find_held_lock+0x2b/0x80 [ 18.657423][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 18.657426][ T12] __netdev_printk+0x160/0x1d0 [ 18.657432][ T12] netdev_info+0xe2/0x116 [ 18.657434][ T12] ? netdev_notice+0x120/0x120 [ 18.657438][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 18.657440][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 18.657444][ T12] ? rcu_is_watching+0x16/0xd0 [ 18.657448][ T12] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 18.657454][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 18.657458][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 18.657460][ T12] ? __asan_memset+0x27/0x50 [ 18.657465][ T12] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 18.657469][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 18.657475][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 18.657482][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 18.657485][ T12] ? rcu_is_watching+0x16/0xd0 [ 18.657487][ T12] ? lock_acquire+0x13c/0x160 [ 18.657488][ T12] ? rcu_is_watching+0x16/0xd0 [ 18.657492][ T12] ? process_one_work+0xe16/0x1560 [ 18.657493][ T12] ? process_one_work+0xdfc/0x1560 [ 18.657495][ T12] process_one_work+0xe3e/0x1560 [ 18.657502][ T12] ? __queue_delayed_work+0x470/0x470 [ 18.657505][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 18.657513][ T12] worker_thread+0x4f1/0xd60 [ 18.657520][ T12] ? rescuer_thread+0x1340/0x1340 [ 18.657522][ T12] kthread+0x367/0x460 [ 18.657525][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 18.657528][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 18.657531][ T12] ret_from_fork+0x474/0x6b0 [ 18.657536][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 18.657540][ T12] ? __switch_to+0x5a3/0xe00 [ 18.657543][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 18.657546][ T12] ret_from_fork_asm+0x11/0x20 [ 18.657554][ T12] [ 18.694631][ T12] netdevsim netdevsim421 eni421np1: set [0, 1] type 1 family 0 port 10004 - 0 [ 19.058156][ T12] netdevsim netdevsim421 eni421np1: unset [0, 2] type 1 family 0 port 10002 - 0 [ 19.374160][ T12] netdevsim netdevsim421 eni421np1: unset [1, 1] type 2 family 0 port 20001 - 0 [ 19.374738][ T12] netdevsim netdevsim421 eni421np1: set [1, 1] type 2 family 0 port 20004 - 0 [ 19.636867][ T12] netdevsim netdevsim421 eni421np1: unset [1, 2] type 2 family 0 port 20002 - 0 [ 19.953185][ T12] netdevsim netdevsim421 eni421np1: set [1, 2] type 4 family 0 port 30001 - 0 [ 19.953206][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.953208][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 19.953211][ T12] preempt_count: 1, expected: 0 [ 19.953212][ T12] RCU nest depth: 0, expected: 0 [ 19.953214][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 19.953217][ T12] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 19.953231][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 19.953237][ T12] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 19.953246][ T12] #3: ff110000096d3910 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 19.953252][ T12] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.953259][ T12] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.953265][ T12] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.953270][ T12] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 19.953276][ T12] irq event stamp: 29346 [ 19.953277][ T12] hardirqs last enabled at (29345): [] __down_trylock_console_sem+0x86/0xa0 [ 19.953281][ T12] hardirqs last disabled at (29346): [] console_emit_next_record+0x3f8/0x4f0 [ 19.953284][ T12] softirqs last enabled at (29334): [] __fib6_clean_all+0xf3/0x270 [ 19.953289][ T12] softirqs last disabled at (29328): [] __fib6_clean_all+0xd0/0x270 [ 19.953292][ T12] Preemption disabled at: [ 19.953293][ T12] [] vprintk_emit+0x31b/0x3e0 [ 19.953300][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.953304][ T12] Tainted: [W]=WARN [ 19.953306][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.953309][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 19.953314][ T12] Call Trace: [ 19.953317][ T12] [ 19.953319][ T12] dump_stack_lvl+0x6f/0xa0 [ 19.953326][ T12] ? vprintk_emit+0x31b/0x3e0 [ 19.953329][ T12] __might_resched.cold+0x1fe/0x2c1 [ 19.953336][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.953341][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 19.953349][ T12] __kmalloc_noprof+0x443/0x760 [ 19.953352][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 19.953361][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 19.953365][ T12] alloc_buf.isra.0+0x4b/0x260 [ 19.953370][ T12] put_chars+0x1e1/0x2f0 [ 19.953375][ T12] ? __send_to_port+0x420/0x420 [ 19.953381][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 19.953387][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 19.953390][ T12] ? validate_chain+0x38b/0xc20 [ 19.953397][ T12] hvc_console_print+0x292/0x780 [ 19.953401][ T12] ? mark_usage+0x61/0x170 [ 19.953404][ T12] ? __lock_acquire+0x518/0xc20 [ 19.953406][ T12] ? __lock_acquire+0x518/0xc20 [ 19.953413][ T12] ? hvc_write+0x3a0/0x3a0 [ 19.953417][ T12] ? console_emit_next_record+0x202/0x4f0 [ 19.953422][ T12] ? rcu_is_watching+0x16/0xd0 [ 19.953426][ T12] ? lock_acquire+0x13c/0x160 [ 19.953433][ T12] console_emit_next_record+0x252/0x4f0 [ 19.953440][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 19.953448][ T12] ? rcu_is_watching+0x16/0xd0 [ 19.953451][ T12] ? lock_acquire+0x13c/0x160 [ 19.953458][ T12] console_flush_one_record+0x46f/0x710 [ 19.953466][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 19.953468][ T12] ? __lock_acquire+0x518/0xc20 [ 19.953478][ T12] console_unlock+0xee/0x1f0 [ 19.953482][ T12] ? console_flush_one_record+0x710/0x710 [ 19.953485][ T12] ? rcu_is_watching+0x16/0xd0 [ 19.953489][ T12] ? lock_acquire+0x60/0x160 [ 19.953495][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.953497][ T12] ? vprintk_emit+0x320/0x3e0 [ 19.953503][ T12] vprintk_emit+0x37c/0x3e0 [ 19.953509][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 19.953511][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 19.953514][ T12] ? validate_chain+0x38b/0xc20 [ 19.953516][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 19.953525][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 19.953533][ T12] ? device_rename.cold+0xa/0xa [ 19.953541][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 19.953544][ T12] ? find_held_lock+0x2b/0x80 [ 19.953553][ T12] dev_printk_emit+0xb9/0xee [ 19.953557][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 19.953562][ T12] ? __local_bh_enable_ip+0xaa/0x150 [ 19.953566][ T12] ? fib6_clean_tree+0x20b/0x290 [ 19.953569][ T12] ? fib6_clean_tree+0x20b/0x290 [ 19.953574][ T12] ? fib6_info_destroy_rcu+0x190/0x190 [ 19.953581][ T12] __netdev_printk+0x160/0x1d0 [ 19.953590][ T12] netdev_info+0xe2/0x116 [ 19.953593][ T12] ? netdev_notice+0x120/0x120 [ 19.953601][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 19.953604][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 19.953613][ T12] ? rcu_is_watching+0x16/0xd0 [ 19.953620][ T12] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 19.953630][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 19.953635][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 19.953638][ T12] ? __asan_memset+0x27/0x50 [ 19.953644][ T12] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 19.953651][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 19.953660][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 19.953671][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 19.953676][ T12] ? rcu_is_watching+0x16/0xd0 [ 19.953679][ T12] ? lock_acquire+0x13c/0x160 [ 19.953682][ T12] ? rcu_is_watching+0x16/0xd0 [ 19.953687][ T12] ? process_one_work+0xe16/0x1560 [ 19.953690][ T12] ? process_one_work+0xdfc/0x1560 [ 19.953692][ T12] process_one_work+0xe3e/0x1560 [ 19.953704][ T12] ? __queue_delayed_work+0x470/0x470 [ 19.953708][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 19.953722][ T12] worker_thread+0x4f1/0xd60 [ 19.953735][ T12] ? rescuer_thread+0x1340/0x1340 [ 19.953738][ T12] kthread+0x367/0x460 [ 19.953742][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 19.953746][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 19.953751][ T12] ret_from_fork+0x474/0x6b0 [ 19.953758][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 19.953764][ T12] ? __switch_to+0x5a3/0xe00 [ 19.953769][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 19.953773][ T12] ret_from_fork_asm+0x11/0x20 [ 19.953788][ T12] [ 20.793159][ T12] netdevsim netdevsim421 eni421np1: unset [1, 1] type 2 family 0 port 20004 - 0 [ 20.793863][ T12] netdevsim netdevsim421 eni421np1: set [1, 1] type 4 family 0 port 30002 - 0 [ 21.032594][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [0, 0] type 1 family 0 port 10000 - 0 [ 21.032654][ T165] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.032657][ T165] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 165, name: udp_tunnel_nic. [ 21.032658][ T165] preempt_count: 1, expected: 0 [ 21.032659][ T165] RCU nest depth: 0, expected: 0 [ 21.032660][ T165] locks held by udp_tunnel_nic./165: 10, last CPU#1: [ 21.032663][ T165] #0: ff1100000a0d1430 (sb_writers#7){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 21.032676][ T165] #1: ff1100000c86e280 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x247/0x510 [ 21.032682][ T165] #2: ff110000094bc910 (kn->active#38){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x29e/0x510 [ 21.032685][ T165] #3: ff1100000d52ba58 (&devlink->lock_key){+.+.}-{4:4}, at: nsim_drv_port_del+0x4c/0x160 [netdevsim] [ 21.032694][ T165] #4: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x133/0x7f0 [netdevsim] [ 21.032699][ T165] #5: ff110000096d3910 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_unregister+0xe6/0xb10 [udp_tunnel] [ 21.032704][ T165] #6: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.032709][ T165] #7: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.032713][ T165] #8: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.032717][ T165] #9: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 21.032720][ T165] irq event stamp: 1143256 [ 21.032721][ T165] hardirqs last enabled at (1143255): [] __down_trylock_console_sem+0x86/0xa0 [ 21.032723][ T165] hardirqs last disabled at (1143256): [] console_emit_next_record+0x3f8/0x4f0 [ 21.032725][ T165] softirqs last enabled at (1143216): [] __neigh_ifdown.isra.0+0x1b8/0xa50 [ 21.032729][ T165] softirqs last disabled at (1143214): [] __neigh_ifdown.isra.0+0x89/0xa50 [ 21.032731][ T165] Preemption disabled at: [ 21.032731][ T165] [] vprintk_emit+0x31b/0x3e0 [ 21.032737][ T165] CPU: 1 UID: 0 PID: 165 Comm: udp_tunnel_nic. Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.032741][ T165] Tainted: [W]=WARN [ 21.032741][ T165] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.032744][ T165] Call Trace: [ 21.032745][ T165] [ 21.032747][ T165] dump_stack_lvl+0x6f/0xa0 [ 21.032753][ T165] ? vprintk_emit+0x31b/0x3e0 [ 21.032755][ T165] __might_resched.cold+0x1fe/0x2c1 [ 21.032760][ T165] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.032764][ T165] ? __kmalloc_noprof+0xdb/0x760 [ 21.032768][ T165] __kmalloc_noprof+0x443/0x760 [ 21.032771][ T165] ? alloc_buf.isra.0+0x4b/0x260 [ 21.032776][ T165] ? do_raw_spin_unlock+0x59/0x250 [ 21.032779][ T165] alloc_buf.isra.0+0x4b/0x260 [ 21.032782][ T165] put_chars+0x1e1/0x2f0 [ 21.032784][ T165] ? printk_get_next_message+0x2fe/0x7d0 [ 21.032787][ T165] ? __send_to_port+0x420/0x420 [ 21.032790][ T165] ? validate_chain+0x34a/0xc20 [ 21.032796][ T165] hvc_console_print+0x292/0x780 [ 21.032803][ T165] ? hvc_write+0x3a0/0x3a0 [ 21.032805][ T165] ? rcu_is_watching+0x16/0xd0 [ 21.032808][ T165] ? lock_acquire+0x13c/0x160 [ 21.032816][ T165] console_emit_next_record+0x252/0x4f0 [ 21.032820][ T165] ? devkmsg_read+0x4e0/0x4e0 [ 21.032825][ T165] ? rcu_is_watching+0x16/0xd0 [ 21.032827][ T165] ? lock_acquire+0x13c/0x160 [ 21.032831][ T165] console_flush_one_record+0x46f/0x710 [ 21.032836][ T165] ? console_emit_next_record+0x4f0/0x4f0 [ 21.032837][ T165] ? __lock_acquire+0x518/0xc20 [ 21.032843][ T165] console_unlock+0xee/0x1f0 [ 21.032846][ T165] ? console_flush_one_record+0x710/0x710 [ 21.032847][ T165] ? rcu_is_watching+0x16/0xd0 [ 21.032850][ T165] ? lock_acquire+0x60/0x160 [ 21.032854][ T165] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.032855][ T165] ? vprintk_emit+0x320/0x3e0 [ 21.032858][ T165] vprintk_emit+0x37c/0x3e0 [ 21.032862][ T165] ? wake_up_klogd_work_func+0x90/0x90 [ 21.032865][ T165] ? __lock_acquire+0x518/0xc20 [ 21.032866][ T165] ? __lock_acquire+0x518/0xc20 [ 21.032871][ T165] dev_vprintk_emit+0x27f/0x2c0 [ 21.032877][ T165] ? device_rename.cold+0xa/0xa [ 21.032882][ T165] ? is_bpf_text_address+0x68/0x110 [ 21.032889][ T165] dev_printk_emit+0xb9/0xee [ 21.032892][ T165] ? dev_vprintk_emit+0x2c0/0x2c0 [ 21.032901][ T165] __netdev_printk+0x160/0x1d0 [ 21.032907][ T165] netdev_info+0xe2/0x116 [ 21.032909][ T165] ? netdev_notice+0x120/0x120 [ 21.032910][ T165] ? rcu_read_lock_any_held+0x3c/0x90 [ 21.032915][ T165] ? unregister_netdevice_many_notify+0xc5a/0x1b40 [ 21.032917][ T165] ? unregister_netdevice_queue+0x290/0x470 [ 21.032920][ T165] ? __lock_acquire+0x518/0xc20 [ 21.032925][ T165] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 21.032933][ T165] ? rcu_is_watching+0x16/0xd0 [ 21.032934][ T165] ? __asan_memset+0x27/0x50 [ 21.032938][ T165] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 21.032943][ T165] ? __mutex_lock+0x987/0x1ea0 [ 21.032951][ T165] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 21.032958][ T165] udp_tunnel_nic_flush+0x24b/0x670 [udp_tunnel] [ 21.032965][ T165] udp_tunnel_nic_unregister+0x34d/0xb10 [udp_tunnel] [ 21.032971][ T165] udp_tunnel_nic_netdevice_event+0x686/0xbbd [udp_tunnel] [ 21.032977][ T165] ? rcu_is_watching+0x16/0xd0 [ 21.032979][ T165] notifier_call_chain+0xae/0x300 [ 21.032987][ T165] unregister_netdevice_many_notify+0xc5a/0x1b40 [ 21.032992][ T165] ? unregister_netdevice_queued+0x80/0x80 [ 21.032994][ T165] ? nsim_destroy+0x133/0x7f0 [netdevsim] [ 21.032998][ T165] ? netdev_run_todo+0x2a8/0xfd0 [ 21.033002][ T165] ? rtnl_is_locked+0x15/0x20 [ 21.033007][ T165] ? sysfs_file_ops+0x140/0x140 [ 21.033009][ T165] unregister_netdevice_queue+0x290/0x470 [ 21.033011][ T165] ? rtnl_net_dev_lock+0xdb/0x270 [ 21.033013][ T165] ? rcu_is_watching+0x16/0xd0 [ 21.033016][ T165] ? unregister_netdevice_many+0x20/0x20 [ 21.033021][ T165] nsim_destroy+0x1b1/0x7f0 [netdevsim] [ 21.033026][ T165] ? kstrtouint+0x6e/0x100 [ 21.033031][ T165] __nsim_dev_port_del+0x183/0x300 [netdevsim] [ 21.033036][ T165] ? nsim_drv_port_del+0x4c/0x160 [netdevsim] [ 21.033039][ T165] nsim_drv_port_del+0xdb/0x160 [netdevsim] [ 21.033044][ T165] del_port_store+0xee/0x120 [netdevsim] [ 21.033048][ T165] ? sysfs_file_kobj+0xb3/0x1e0 [ 21.033051][ T165] ? del_device_store+0x580/0x580 [netdevsim] [ 21.033055][ T165] ? sysfs_file_kobj+0xbd/0x1e0 [ 21.033057][ T165] ? sysfs_kf_write+0x65/0x160 [ 21.033060][ T165] kernfs_fop_write_iter+0x335/0x510 [ 21.033063][ T165] ? kernfs_ops+0xf0/0xf0 [ 21.033066][ T165] new_sync_write+0x33e/0x760 [ 21.033068][ T165] ? __lock_acquire+0x518/0xc20 [ 21.033071][ T165] ? new_sync_read+0x750/0x750 [ 21.033074][ T165] ? lock_acquire.part.0+0xd4/0x280 [ 21.033076][ T165] ? ksys_write+0x116/0x250 [ 21.033083][ T165] vfs_write+0x6a2/0xbd0 [ 21.033088][ T165] ksys_write+0x116/0x250 [ 21.033091][ T165] ? __ia32_sys_read+0xc0/0xc0 [ 21.033093][ T165] ? do_raw_spin_unlock+0x59/0x250 [ 21.033095][ T165] ? rcu_is_watching+0x16/0xd0 [ 21.033099][ T165] do_syscall_64+0xff/0x530 [ 21.033102][ T165] ? exc_page_fault+0xee/0x100 [ 21.033105][ T165] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.033107][ T165] RIP: 0033:0x7f08d5e1a54e [ 21.033111][ T165] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 21.033113][ T165] RSP: 002b:00007ffdfc07f0f0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 21.033116][ T165] RAX: ffffffffffffffda RBX: 00007f08d5f9b580 RCX: 00007f08d5e1a54e [ 21.033118][ T165] RDX: 0000000000000002 RSI: 0000560625df2270 RDI: 0000000000000001 [ 21.033119][ T165] RBP: 00007ffdfc07f100 R08: 0000000000000000 R09: 0000000000000000 [ 21.033119][ T165] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000002 [ 21.033120][ T165] R13: 0000000000000002 R14: 0000560625df2270 R15: 0000000000000000 [ 21.033131][ T165] [ 21.084834][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [0, 1] type 1 family 0 port 10004 - 0 [ 21.085445][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [0, 3] type 1 family 0 port 10003 - 0 [ 21.086016][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [1, 0] type 2 family 0 port 20000 - 0 [ 21.086587][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [1, 1] type 4 family 0 port 30002 - 0 [ 21.087162][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [1, 2] type 4 family 0 port 30001 - 0 [ 21.087726][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [1, 3] type 2 family 0 port 20003 - 0 [ 21.272582][ T88] netdevsim netdevsim421 eni421np2: renamed from eth0 [ 21.493215][ T12] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 21.594158][ T12] netdevsim netdevsim421 eni421np2: set [0, 1] type 1 family 0 port 10001 - 0 [ 21.769310][ T12] netdevsim netdevsim421 eni421np2: set [0, 2] type 1 family 0 port 10002 - 0 [ 22.024753][ T12] netdevsim netdevsim421 eni421np2: set [0, 3] type 1 family 0 port 10003 - 0 [ 22.521296][ T12] netdevsim netdevsim421 eni421np2: set [1, 0] type 2 family 0 port 20000 - 0 [ 22.521320][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.521324][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 22.521327][ T12] preempt_count: 1, expected: 0 [ 22.521328][ T12] RCU nest depth: 0, expected: 0 [ 22.521330][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 22.521333][ T12] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 22.521349][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 22.521356][ T12] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 22.521366][ T12] #3: ff110000028a1510 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 22.521373][ T12] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.521381][ T12] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.521387][ T12] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.521393][ T12] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 22.521399][ T12] irq event stamp: 34084 [ 22.521400][ T12] hardirqs last enabled at (34083): [] __down_trylock_console_sem+0x86/0xa0 [ 22.521404][ T12] hardirqs last disabled at (34084): [] console_emit_next_record+0x3f8/0x4f0 [ 22.521407][ T12] softirqs last enabled at (34072): [] addrconf_dad_begin+0x37f/0x540 [ 22.521412][ T12] softirqs last disabled at (34064): [] addrconf_dad_begin+0x154/0x540 [ 22.521415][ T12] Preemption disabled at: [ 22.521416][ T12] [] vprintk_emit+0x31b/0x3e0 [ 22.521424][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.521429][ T12] Tainted: [W]=WARN [ 22.521430][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.521433][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 22.521439][ T12] Call Trace: [ 22.521441][ T12] [ 22.521444][ T12] dump_stack_lvl+0x6f/0xa0 [ 22.521451][ T12] ? vprintk_emit+0x31b/0x3e0 [ 22.521454][ T12] __might_resched.cold+0x1fe/0x2c1 [ 22.521461][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.521466][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 22.521474][ T12] __kmalloc_noprof+0x443/0x760 [ 22.521477][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 22.521487][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 22.521490][ T12] alloc_buf.isra.0+0x4b/0x260 [ 22.521496][ T12] put_chars+0x1e1/0x2f0 [ 22.521501][ T12] ? __send_to_port+0x420/0x420 [ 22.521506][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 22.521512][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 22.521515][ T12] ? validate_chain+0x38b/0xc20 [ 22.521522][ T12] hvc_console_print+0x292/0x780 [ 22.521526][ T12] ? mark_usage+0x61/0x170 [ 22.521529][ T12] ? __lock_acquire+0x518/0xc20 [ 22.521531][ T12] ? __lock_acquire+0x518/0xc20 [ 22.521539][ T12] ? hvc_write+0x3a0/0x3a0 [ 22.521543][ T12] ? console_emit_next_record+0x202/0x4f0 [ 22.521548][ T12] ? rcu_is_watching+0x16/0xd0 [ 22.521552][ T12] ? lock_acquire+0x13c/0x160 [ 22.521559][ T12] console_emit_next_record+0x252/0x4f0 [ 22.521566][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 22.521574][ T12] ? rcu_is_watching+0x16/0xd0 [ 22.521578][ T12] ? lock_acquire+0x13c/0x160 [ 22.521585][ T12] console_flush_one_record+0x46f/0x710 [ 22.521593][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 22.521595][ T12] ? __lock_acquire+0x518/0xc20 [ 22.521605][ T12] console_unlock+0xee/0x1f0 [ 22.521609][ T12] ? console_flush_one_record+0x710/0x710 [ 22.521612][ T12] ? rcu_is_watching+0x16/0xd0 [ 22.521615][ T12] ? lock_acquire+0x60/0x160 [ 22.521622][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.521625][ T12] ? vprintk_emit+0x320/0x3e0 [ 22.521630][ T12] vprintk_emit+0x37c/0x3e0 [ 22.521637][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 22.521642][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 22.521650][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 22.521658][ T12] ? device_rename.cold+0xa/0xa [ 22.521661][ T12] ? debug_object_activate+0x345/0x4a0 [ 22.521678][ T12] dev_printk_emit+0xb9/0xee [ 22.521682][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 22.521693][ T12] ? should_we_balance+0x117/0x8f0 [ 22.521699][ T12] __netdev_printk+0x160/0x1d0 [ 22.521709][ T12] netdev_info+0xe2/0x116 [ 22.521712][ T12] ? netdev_notice+0x120/0x120 [ 22.521720][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 22.521723][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 22.521729][ T12] ? rcu_is_watching+0x16/0xd0 [ 22.521736][ T12] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 22.521747][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 22.521753][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 22.521756][ T12] ? __asan_memset+0x27/0x50 [ 22.521762][ T12] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 22.521769][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 22.521781][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 22.521792][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 22.521797][ T12] ? rcu_is_watching+0x16/0xd0 [ 22.521800][ T12] ? lock_acquire+0x13c/0x160 [ 22.521803][ T12] ? rcu_is_watching+0x16/0xd0 [ 22.521809][ T12] ? process_one_work+0xe16/0x1560 [ 22.521812][ T12] ? process_one_work+0xdfc/0x1560 [ 22.521815][ T12] process_one_work+0xe3e/0x1560 [ 22.521831][ T12] ? __queue_delayed_work+0x470/0x470 [ 22.521835][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 22.521851][ T12] worker_thread+0x4f1/0xd60 [ 22.521864][ T12] ? rescuer_thread+0x1340/0x1340 [ 22.521867][ T12] kthread+0x367/0x460 [ 22.521871][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 22.521876][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 22.521881][ T12] ret_from_fork+0x474/0x6b0 [ 22.521888][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 22.521894][ T12] ? __switch_to+0x5a3/0xe00 [ 22.521898][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 22.521903][ T12] ret_from_fork_asm+0x11/0x20 [ 22.521919][ T12] [ 22.781159][ T69] netdevsim netdevsim421 eni421np2: set [1, 1] type 2 family 0 port 20001 - 0 [ 23.072222][ T69] netdevsim netdevsim421 eni421np2: set [1, 2] type 2 family 0 port 20002 - 0 [ 23.400209][ T69] netdevsim netdevsim421 eni421np2: set [1, 3] type 2 family 0 port 20003 - 0 [ 24.111262][ T69] netdevsim netdevsim421 eni421np2: unset [0, 1] type 1 family 0 port 10001 - 0 [ 24.111281][ T69] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 24.111284][ T69] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 69, name: kworker/u16:1 [ 24.111286][ T69] preempt_count: 1, expected: 0 [ 24.111286][ T69] RCU nest depth: 0, expected: 0 [ 24.111287][ T69] locks held by kworker/u16:1/69: 8, last CPU#1: [ 24.111290][ T69] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 24.111302][ T69] #1: ffa00000004a7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 24.111306][ T69] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 24.111312][ T69] #3: ff110000028a1510 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 24.111316][ T69] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 24.111321][ T69] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 24.111325][ T69] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 24.111328][ T69] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 24.111332][ T69] irq event stamp: 4822 [ 24.111333][ T69] hardirqs last enabled at (4821): [] __down_trylock_console_sem+0x86/0xa0 [ 24.111335][ T69] hardirqs last disabled at (4822): [] console_emit_next_record+0x3f8/0x4f0 [ 24.111336][ T69] softirqs last enabled at (4786): [] __fib6_clean_all+0xf3/0x270 [ 24.111340][ T69] softirqs last disabled at (4780): [] __fib6_clean_all+0xd0/0x270 [ 24.111342][ T69] Preemption disabled at: [ 24.111343][ T69] [] vprintk_emit+0x31b/0x3e0 [ 24.111349][ T69] CPU: 1 UID: 0 PID: 69 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.111352][ T69] Tainted: [W]=WARN [ 24.111353][ T69] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.111355][ T69] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 24.111359][ T69] Call Trace: [ 24.111361][ T69] [ 24.111363][ T69] dump_stack_lvl+0x6f/0xa0 [ 24.111368][ T69] ? vprintk_emit+0x31b/0x3e0 [ 24.111370][ T69] __might_resched.cold+0x1fe/0x2c1 [ 24.111375][ T69] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 24.111379][ T69] ? __kmalloc_noprof+0xdb/0x760 [ 24.111384][ T69] __kmalloc_noprof+0x443/0x760 [ 24.111386][ T69] ? alloc_buf.isra.0+0x4b/0x260 [ 24.111392][ T69] ? do_raw_spin_unlock+0x59/0x250 [ 24.111395][ T69] alloc_buf.isra.0+0x4b/0x260 [ 24.111398][ T69] put_chars+0x1e1/0x2f0 [ 24.111401][ T69] ? __send_to_port+0x420/0x420 [ 24.111404][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 24.111408][ T69] ? rcu_read_lock_any_held+0x3c/0x90 [ 24.111411][ T69] ? validate_chain+0x38b/0xc20 [ 24.111415][ T69] hvc_console_print+0x292/0x780 [ 24.111418][ T69] ? mark_usage+0x61/0x170 [ 24.111419][ T69] ? __lock_acquire+0x518/0xc20 [ 24.111421][ T69] ? __lock_acquire+0x518/0xc20 [ 24.111425][ T69] ? hvc_write+0x3a0/0x3a0 [ 24.111427][ T69] ? console_emit_next_record+0x202/0x4f0 [ 24.111430][ T69] ? rcu_is_watching+0x16/0xd0 [ 24.111432][ T69] ? lock_acquire+0x13c/0x160 [ 24.111436][ T69] console_emit_next_record+0x252/0x4f0 [ 24.111440][ T69] ? devkmsg_read+0x4e0/0x4e0 [ 24.111444][ T69] ? rcu_is_watching+0x16/0xd0 [ 24.111447][ T69] ? lock_acquire+0x13c/0x160 [ 24.111451][ T69] console_flush_one_record+0x46f/0x710 [ 24.111455][ T69] ? console_emit_next_record+0x4f0/0x4f0 [ 24.111456][ T69] ? __lock_acquire+0x518/0xc20 [ 24.111462][ T69] console_unlock+0xee/0x1f0 [ 24.111464][ T69] ? console_flush_one_record+0x710/0x710 [ 24.111466][ T69] ? rcu_is_watching+0x16/0xd0 [ 24.111468][ T69] ? lock_acquire+0x60/0x160 [ 24.111472][ T69] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.111473][ T69] ? vprintk_emit+0x320/0x3e0 [ 24.111477][ T69] vprintk_emit+0x37c/0x3e0 [ 24.111480][ T69] ? wake_up_klogd_work_func+0x90/0x90 [ 24.111483][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 24.111486][ T69] ? rcu_read_lock_any_held+0x3c/0x90 [ 24.111490][ T69] dev_vprintk_emit+0x27f/0x2c0 [ 24.111495][ T69] ? device_rename.cold+0xa/0xa [ 24.111497][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 24.111501][ T69] ? rcu_read_lock_any_held+0x3c/0x90 [ 24.111506][ T69] dev_printk_emit+0xb9/0xee [ 24.111509][ T69] ? dev_vprintk_emit+0x2c0/0x2c0 [ 24.111513][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 24.111515][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 24.111517][ T69] ? rcu_read_lock_any_held+0x3c/0x90 [ 24.111519][ T69] ? validate_chain+0x38b/0xc20 [ 24.111522][ T69] __netdev_printk+0x160/0x1d0 [ 24.111527][ T69] netdev_info+0xe2/0x116 [ 24.111530][ T69] ? netdev_notice+0x120/0x120 [ 24.111534][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 24.111536][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 24.111539][ T69] ? rcu_is_watching+0x16/0xd0 [ 24.111543][ T69] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 24.111549][ T69] ? __mutex_lock+0x9a3/0x1ea0 [ 24.111553][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 24.111555][ T69] ? __asan_memset+0x27/0x50 [ 24.111559][ T69] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 24.111563][ T69] ? rcu_tasks_need_gpcb+0x837/0x880 [ 24.111569][ T69] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 24.111575][ T69] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 24.111578][ T69] ? rcu_is_watching+0x16/0xd0 [ 24.111580][ T69] ? lock_acquire+0x13c/0x160 [ 24.111582][ T69] ? rcu_is_watching+0x16/0xd0 [ 24.111586][ T69] ? process_one_work+0xe16/0x1560 [ 24.111587][ T69] ? process_one_work+0xdfc/0x1560 [ 24.111589][ T69] process_one_work+0xe3e/0x1560 [ 24.111595][ T69] ? __queue_delayed_work+0x470/0x470 [ 24.111598][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 24.111606][ T69] worker_thread+0x4f1/0xd60 [ 24.111613][ T69] ? rescuer_thread+0x1340/0x1340 [ 24.111615][ T69] kthread+0x367/0x460 [ 24.111617][ T69] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 24.111621][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 24.111624][ T69] ret_from_fork+0x474/0x6b0 [ 24.111628][ T69] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 24.111632][ T69] ? __switch_to+0x5a3/0xe00 [ 24.111635][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 24.111638][ T69] ret_from_fork_asm+0x11/0x20 [ 24.111646][ T69] [ 24.140941][ T69] netdevsim netdevsim421 eni421np2: set [0, 1] type 1 family 0 port 10004 - 0 [ 24.457210][ T69] netdevsim netdevsim421 eni421np2: unset [0, 2] type 1 family 0 port 10002 - 0 [ 24.751158][ T69] netdevsim netdevsim421 eni421np2: unset [1, 1] type 2 family 0 port 20001 - 0 [ 24.751613][ T69] netdevsim netdevsim421 eni421np2: set [1, 1] type 2 family 0 port 20004 - 0 [ 25.052163][ T69] netdevsim netdevsim421 eni421np2: unset [1, 2] type 2 family 0 port 20002 - 0 [ 25.357171][ T69] netdevsim netdevsim421 eni421np2: set [1, 2] type 4 family 0 port 30001 - 0 [ 25.357190][ T69] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 25.357193][ T69] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 69, name: kworker/u16:1 [ 25.357195][ T69] preempt_count: 1, expected: 0 [ 25.357196][ T69] RCU nest depth: 0, expected: 0 [ 25.357197][ T69] locks held by kworker/u16:1/69: 8, last CPU#1: [ 25.357199][ T69] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 25.357211][ T69] #1: ffa00000004a7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 25.357214][ T69] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 25.357220][ T69] #3: ff110000028a1510 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 25.357224][ T69] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 25.357229][ T69] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 25.357233][ T69] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 25.357236][ T69] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 25.357240][ T69] irq event stamp: 9702 [ 25.357241][ T69] hardirqs last enabled at (9701): [] __down_trylock_console_sem+0x86/0xa0 [ 25.357243][ T69] hardirqs last disabled at (9702): [] console_emit_next_record+0x3f8/0x4f0 [ 25.357245][ T69] softirqs last enabled at (9690): [] __fib6_clean_all+0xf3/0x270 [ 25.357248][ T69] softirqs last disabled at (9684): [] __fib6_clean_all+0xd0/0x270 [ 25.357251][ T69] Preemption disabled at: [ 25.357251][ T69] [] vprintk_emit+0x31b/0x3e0 [ 25.357257][ T69] CPU: 1 UID: 0 PID: 69 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 25.357261][ T69] Tainted: [W]=WARN [ 25.357262][ T69] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 25.357264][ T69] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 25.357267][ T69] Call Trace: [ 25.357269][ T69] [ 25.357271][ T69] dump_stack_lvl+0x6f/0xa0 [ 25.357277][ T69] ? vprintk_emit+0x31b/0x3e0 [ 25.357279][ T69] __might_resched.cold+0x1fe/0x2c1 [ 25.357284][ T69] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 25.357287][ T69] ? __kmalloc_noprof+0xdb/0x760 [ 25.357292][ T69] __kmalloc_noprof+0x443/0x760 [ 25.357294][ T69] ? alloc_buf.isra.0+0x4b/0x260 [ 25.357300][ T69] ? do_raw_spin_unlock+0x59/0x250 [ 25.357303][ T69] alloc_buf.isra.0+0x4b/0x260 [ 25.357306][ T69] put_chars+0x1e1/0x2f0 [ 25.357309][ T69] ? __send_to_port+0x420/0x420 [ 25.357312][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 25.357316][ T69] ? rcu_read_lock_any_held+0x3c/0x90 [ 25.357319][ T69] ? validate_chain+0x38b/0xc20 [ 25.357322][ T69] hvc_console_print+0x292/0x780 [ 25.357325][ T69] ? mark_usage+0x61/0x170 [ 25.357327][ T69] ? __lock_acquire+0x518/0xc20 [ 25.357328][ T69] ? __lock_acquire+0x518/0xc20 [ 25.357332][ T69] ? hvc_write+0x3a0/0x3a0 [ 25.357334][ T69] ? console_emit_next_record+0x202/0x4f0 [ 25.357338][ T69] ? rcu_is_watching+0x16/0xd0 [ 25.357340][ T69] ? lock_acquire+0x13c/0x160 [ 25.357344][ T69] console_emit_next_record+0x252/0x4f0 [ 25.357348][ T69] ? devkmsg_read+0x4e0/0x4e0 [ 25.357352][ T69] ? rcu_is_watching+0x16/0xd0 [ 25.357354][ T69] ? lock_acquire+0x13c/0x160 [ 25.357358][ T69] console_flush_one_record+0x46f/0x710 [ 25.357362][ T69] ? console_emit_next_record+0x4f0/0x4f0 [ 25.357364][ T69] ? __lock_acquire+0x518/0xc20 [ 25.357369][ T69] console_unlock+0xee/0x1f0 [ 25.357372][ T69] ? console_flush_one_record+0x710/0x710 [ 25.357374][ T69] ? rcu_is_watching+0x16/0xd0 [ 25.357376][ T69] ? lock_acquire+0x60/0x160 [ 25.357379][ T69] ? __down_trylock_console_sem+0x5e/0xa0 [ 25.357381][ T69] ? vprintk_emit+0x320/0x3e0 [ 25.357384][ T69] vprintk_emit+0x37c/0x3e0 [ 25.357388][ T69] ? wake_up_klogd_work_func+0x90/0x90 [ 25.357390][ T69] ? rcu_read_lock_any_held+0x3c/0x90 [ 25.357391][ T69] ? validate_chain+0x38b/0xc20 [ 25.357393][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 25.357398][ T69] dev_vprintk_emit+0x27f/0x2c0 [ 25.357403][ T69] ? device_rename.cold+0xa/0xa [ 25.357408][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 25.357410][ T69] ? find_held_lock+0x2b/0x80 [ 25.357415][ T69] dev_printk_emit+0xb9/0xee [ 25.357418][ T69] ? dev_vprintk_emit+0x2c0/0x2c0 [ 25.357421][ T69] ? __local_bh_enable_ip+0xaa/0x150 [ 25.357424][ T69] ? fib6_clean_tree+0x20b/0x290 [ 25.357426][ T69] ? fib6_clean_tree+0x20b/0x290 [ 25.357428][ T69] ? fib6_info_destroy_rcu+0x190/0x190 [ 25.357432][ T69] __netdev_printk+0x160/0x1d0 [ 25.357438][ T69] netdev_info+0xe2/0x116 [ 25.357440][ T69] ? netdev_notice+0x120/0x120 [ 25.357444][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 25.357446][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 25.357449][ T69] ? rcu_is_watching+0x16/0xd0 [ 25.357453][ T69] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 25.357460][ T69] ? __mutex_lock+0x9a3/0x1ea0 [ 25.357464][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 25.357466][ T69] ? __asan_memset+0x27/0x50 [ 25.357470][ T69] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 25.357474][ T69] ? rcu_tasks_need_gpcb+0x837/0x880 [ 25.357480][ T69] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 25.357486][ T69] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 25.357489][ T69] ? rcu_is_watching+0x16/0xd0 [ 25.357491][ T69] ? lock_acquire+0x13c/0x160 [ 25.357493][ T69] ? rcu_is_watching+0x16/0xd0 [ 25.357496][ T69] ? process_one_work+0xe16/0x1560 [ 25.357498][ T69] ? process_one_work+0xdfc/0x1560 [ 25.357499][ T69] process_one_work+0xe3e/0x1560 [ 25.357505][ T69] ? __queue_delayed_work+0x470/0x470 [ 25.357508][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 25.357516][ T69] worker_thread+0x4f1/0xd60 [ 25.357523][ T69] ? rescuer_thread+0x1340/0x1340 [ 25.357525][ T69] kthread+0x367/0x460 [ 25.357528][ T69] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 25.357531][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 25.357534][ T69] ret_from_fork+0x474/0x6b0 [ 25.357539][ T69] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 25.357543][ T69] ? __switch_to+0x5a3/0xe00 [ 25.357545][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 25.357548][ T69] ret_from_fork_asm+0x11/0x20 [ 25.357557][ T69] [ 26.314208][ T69] netdevsim netdevsim421 eni421np2: unset [1, 1] type 2 family 0 port 20004 - 0 [ 26.314671][ T69] netdevsim netdevsim421 eni421np2: set [1, 1] type 4 family 0 port 30002 - 0 [ 26.579153][ T165] netdevsim netdevsim421 eni421np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 26.579288][ T165] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.579290][ T165] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 165, name: udp_tunnel_nic. [ 26.579292][ T165] preempt_count: 1, expected: 0 [ 26.579293][ T165] RCU nest depth: 0, expected: 0 [ 26.579294][ T165] locks held by udp_tunnel_nic./165: 11, last CPU#2: [ 26.579297][ T165] #0: ff1100000a0d1430 (sb_writers#7){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 26.579310][ T165] #1: ff1100000d762680 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x247/0x510 [ 26.579316][ T165] #2: ff110000094bc910 (kn->active#38){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x29e/0x510 [ 26.579320][ T165] #3: ff1100000d52ba58 (&devlink->lock_key){+.+.}-{4:4}, at: nsim_drv_port_del+0x4c/0x160 [netdevsim] [ 26.579329][ T165] #4: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x133/0x7f0 [netdevsim] [ 26.579334][ T165] #5: ff11000011f4add8 (&dev_instance_lock_key#5){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0x3ef/0x1b40 [ 26.579340][ T165] #6: ff110000028a1510 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_netdevice_event+0x165/0xbbd [udp_tunnel] [ 26.579345][ T165] #7: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.579350][ T165] #8: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.579353][ T165] #9: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.579356][ T165] #10: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 26.579361][ T165] irq event stamp: 1911956 [ 26.579361][ T165] hardirqs last enabled at (1911955): [] __down_trylock_console_sem+0x86/0xa0 [ 26.579364][ T165] hardirqs last disabled at (1911956): [] console_emit_next_record+0x3f8/0x4f0 [ 26.579365][ T165] softirqs last enabled at (1911950): [] handle_softirqs+0x67c/0x900 [ 26.579369][ T165] softirqs last disabled at (1911945): [] __irq_exit_rcu+0x145/0x1c0 [ 26.579372][ T165] Preemption disabled at: [ 26.579372][ T165] [] vprintk_emit+0x31b/0x3e0 [ 26.579378][ T165] CPU: 2 UID: 0 PID: 165 Comm: udp_tunnel_nic. Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.579382][ T165] Tainted: [W]=WARN [ 26.579382][ T165] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.579384][ T165] Call Trace: [ 26.579386][ T165] [ 26.579388][ T165] dump_stack_lvl+0x6f/0xa0 [ 26.579394][ T165] ? vprintk_emit+0x31b/0x3e0 [ 26.579396][ T165] __might_resched.cold+0x1fe/0x2c1 [ 26.579401][ T165] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.579404][ T165] ? __kmalloc_noprof+0xdb/0x760 [ 26.579409][ T165] __kmalloc_noprof+0x443/0x760 [ 26.579411][ T165] ? alloc_buf.isra.0+0x4b/0x260 [ 26.579417][ T165] ? do_raw_spin_unlock+0x59/0x250 [ 26.579420][ T165] alloc_buf.isra.0+0x4b/0x260 [ 26.579423][ T165] put_chars+0x1e1/0x2f0 [ 26.579426][ T165] ? __send_to_port+0x420/0x420 [ 26.579430][ T165] ? validate_chain+0x34a/0xc20 [ 26.579435][ T165] hvc_console_print+0x292/0x780 [ 26.579437][ T165] ? __lock_acquire+0x518/0xc20 [ 26.579443][ T165] ? hvc_write+0x3a0/0x3a0 [ 26.579445][ T165] ? rcu_is_watching+0x16/0xd0 [ 26.579452][ T165] console_emit_next_record+0x252/0x4f0 [ 26.579456][ T165] ? devkmsg_read+0x4e0/0x4e0 [ 26.579461][ T165] ? rcu_is_watching+0x16/0xd0 [ 26.579463][ T165] ? lock_acquire+0x13c/0x160 [ 26.579467][ T165] console_flush_one_record+0x46f/0x710 [ 26.579471][ T165] ? console_emit_next_record+0x4f0/0x4f0 [ 26.579473][ T165] ? __lock_acquire+0x518/0xc20 [ 26.579478][ T165] console_unlock+0xee/0x1f0 [ 26.579481][ T165] ? console_flush_one_record+0x710/0x710 [ 26.579483][ T165] ? rcu_is_watching+0x16/0xd0 [ 26.579485][ T165] ? lock_acquire+0x60/0x160 [ 26.579489][ T165] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.579490][ T165] ? vprintk_emit+0x320/0x3e0 [ 26.579493][ T165] vprintk_emit+0x37c/0x3e0 [ 26.579497][ T165] ? wake_up_klogd_work_func+0x90/0x90 [ 26.579500][ T165] ? mark_usage+0x61/0x170 [ 26.579502][ T165] ? __lock_acquire+0x518/0xc20 [ 26.579506][ T165] dev_vprintk_emit+0x27f/0x2c0 [ 26.579512][ T165] ? device_rename.cold+0xa/0xa [ 26.579514][ T165] ? rwsem_optimistic_spin+0x3c7/0x480 [ 26.579519][ T165] ? __bfs+0x1e6/0x310 [ 26.579522][ T165] ? mark_usage+0x61/0x170 [ 26.579526][ T165] dev_printk_emit+0xb9/0xee [ 26.579529][ T165] ? dev_vprintk_emit+0x2c0/0x2c0 [ 26.579531][ T165] ? __bfs+0x1e6/0x310 [ 26.579533][ T165] ? rwsem_optimistic_spin+0x3c7/0x480 [ 26.579540][ T165] __netdev_printk+0x160/0x1d0 [ 26.579546][ T165] netdev_info+0xe2/0x116 [ 26.579548][ T165] ? netdev_notice+0x120/0x120 [ 26.579549][ T165] ? irqentry_exit+0x21c/0x790 [ 26.579554][ T165] ? lockdep_hardirqs_off+0x97/0xf0 [ 26.579563][ T165] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 26.579570][ T165] ? rcu_is_watching+0x16/0xd0 [ 26.579572][ T165] ? __asan_memset+0x27/0x50 [ 26.579576][ T165] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 26.579581][ T165] ? __mutex_lock+0x987/0x1ea0 [ 26.579587][ T165] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 26.579590][ T165] ? lock_acquire.part.0+0xd4/0x280 [ 26.579592][ T165] ? find_held_lock+0x2b/0x80 [ 26.579596][ T165] udp_tunnel_nic_flush+0x24b/0x670 [udp_tunnel] [ 26.579599][ T165] ? packet_notifier+0x137/0xbd0 [ 26.579608][ T165] udp_tunnel_nic_netdevice_event+0x187/0xbbd [udp_tunnel] [ 26.579614][ T165] ? rcu_is_watching+0x16/0xd0 [ 26.579616][ T165] notifier_call_chain+0xae/0x300 [ 26.579623][ T165] __dev_close_many+0xfc/0x680 [ 26.579626][ T165] ? rcu_is_watching+0x16/0xd0 [ 26.579629][ T165] ? netif_open+0x120/0x120 [ 26.579633][ T165] ? unregister_netdevice_many_notify+0x3ef/0x1b40 [ 26.579637][ T165] netif_close_many+0x1ff/0x770 [ 26.579641][ T165] ? rcu_is_watching+0x16/0xd0 [ 26.579643][ T165] ? __dev_close_many+0x680/0x680 [ 26.579650][ T165] netif_close_many_and_unlock+0x22/0x2c0 [ 26.579654][ T165] ? rtnl_is_locked+0x15/0x20 [ 26.579657][ T165] unregister_netdevice_many_notify+0x56f/0x1b40 [ 26.579659][ T165] ? rcu_is_watching+0x16/0xd0 [ 26.579663][ T165] ? __mutex_lock+0x1db/0x1ea0 [ 26.579664][ T165] ? __mutex_lock+0x9a3/0x1ea0 [ 26.579666][ T165] ? unregister_netdevice_queued+0x80/0x80 [ 26.579668][ T165] ? nsim_destroy+0x133/0x7f0 [netdevsim] [ 26.579672][ T165] ? netdev_run_todo+0x2a8/0xfd0 [ 26.579675][ T165] ? ww_mutex_lock+0x160/0x160 [ 26.579676][ T165] ? mutex_is_locked+0x1c/0x50 [ 26.579678][ T165] ? rtnl_is_locked+0x15/0x20 [ 26.579683][ T165] ? sysfs_file_ops+0x140/0x140 [ 26.579685][ T165] unregister_netdevice_queue+0x290/0x470 [ 26.579687][ T165] ? rtnl_net_dev_lock+0xdb/0x270 [ 26.579689][ T165] ? rcu_is_watching+0x16/0xd0 [ 26.579692][ T165] ? unregister_netdevice_many+0x20/0x20 [ 26.579697][ T165] nsim_destroy+0x1b1/0x7f0 [netdevsim] [ 26.579701][ T165] ? kstrtouint+0x6e/0x100 [ 26.579707][ T165] __nsim_dev_port_del+0x183/0x300 [netdevsim] [ 26.579711][ T165] ? nsim_drv_port_del+0x4c/0x160 [netdevsim] [ 26.579715][ T165] nsim_drv_port_del+0xdb/0x160 [netdevsim] [ 26.579719][ T165] del_port_store+0xee/0x120 [netdevsim] [ 26.579723][ T165] ? sysfs_file_kobj+0xb3/0x1e0 [ 26.579726][ T165] ? del_device_store+0x580/0x580 [netdevsim] [ 26.579730][ T165] ? sysfs_file_kobj+0xbd/0x1e0 [ 26.579732][ T165] ? sysfs_kf_write+0x65/0x160 [ 26.579735][ T165] kernfs_fop_write_iter+0x335/0x510 [ 26.579738][ T165] ? kernfs_ops+0xf0/0xf0 [ 26.579740][ T165] new_sync_write+0x33e/0x760 [ 26.579743][ T165] ? __lock_acquire+0x518/0xc20 [ 26.579745][ T165] ? new_sync_read+0x750/0x750 [ 26.579749][ T165] ? lock_acquire.part.0+0xd4/0x280 [ 26.579751][ T165] ? ksys_write+0x116/0x250 [ 26.579757][ T165] vfs_write+0x6a2/0xbd0 [ 26.579762][ T165] ksys_write+0x116/0x250 [ 26.579765][ T165] ? __ia32_sys_read+0xc0/0xc0 [ 26.579767][ T165] ? rcu_is_watching+0x16/0xd0 [ 26.579769][ T165] ? rcu_is_watching+0x16/0xd0 [ 26.579773][ T165] do_syscall_64+0xff/0x530 [ 26.579774][ T165] ? exc_page_fault+0xee/0x100 [ 26.579777][ T165] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.579780][ T165] RIP: 0033:0x7f08d5e1a54e [ 26.579783][ T165] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 26.579785][ T165] RSP: 002b:00007ffdfc07f0f0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 26.579788][ T165] RAX: ffffffffffffffda RBX: 00007f08d5f9b580 RCX: 00007f08d5e1a54e [ 26.579790][ T165] RDX: 0000000000000002 RSI: 0000560625df2270 RDI: 0000000000000001 [ 26.579791][ T165] RBP: 00007ffdfc07f100 R08: 0000000000000000 R09: 0000000000000000 [ 26.579791][ T165] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000002 [ 26.579792][ T165] R13: 0000000000000002 R14: 0000560625df2270 R15: 0000000000000000 [ 26.579800][ T165] [ 26.642996][ T165] netdevsim netdevsim421 eni421np2: unset [0, 1] type 1 family 0 port 10004 - 0 [ 26.643718][ T165] netdevsim netdevsim421 eni421np2: unset [0, 3] type 1 family 0 port 10003 - 0 [ 26.644457][ T165] netdevsim netdevsim421 eni421np2: unset [1, 0] type 2 family 0 port 20000 - 0 [ 26.645155][ T165] netdevsim netdevsim421 eni421np2: unset [1, 1] type 4 family 0 port 30002 - 0 [ 26.645813][ T165] netdevsim netdevsim421 eni421np2: unset [1, 2] type 4 family 0 port 30001 - 0 [ 26.646375][ T165] netdevsim netdevsim421 eni421np2: unset [1, 3] type 2 family 0 port 20003 - 0 [ 27.078089][ T88] netdevsim netdevsim421 eni421np1: renamed from eth0 [ 32.225624][ T88] netdevsim netdevsim421 eni421np2: renamed from eth0 [ 32.225642][ T88] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.225645][ T88] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 88, name: (udev-worker) [ 32.225646][ T88] preempt_count: 1, expected: 0 [ 32.225647][ T88] RCU nest depth: 0, expected: 0 [ 32.225648][ T88] locks held by (udev-worker)/88: 6, last CPU#1: [ 32.225651][ T88] #0: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 32.225663][ T88] #1: ff1100000c3eadd8 (&dev_instance_lock_key#5){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 32.225668][ T88] #2: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.225674][ T88] #3: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.225678][ T88] #4: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.225681][ T88] #5: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 32.225685][ T88] irq event stamp: 2894434 [ 32.225686][ T88] hardirqs last enabled at (2894433): [] __down_trylock_console_sem+0x86/0xa0 [ 32.225688][ T88] hardirqs last disabled at (2894434): [] console_emit_next_record+0x3f8/0x4f0 [ 32.225690][ T88] softirqs last enabled at (2894428): [] netif_change_name+0x216/0x8c0 [ 32.225692][ T88] softirqs last disabled at (2894426): [] netif_change_name+0x1ad/0x8c0 [ 32.225694][ T88] Preemption disabled at: [ 32.225695][ T88] [] vprintk_emit+0x31b/0x3e0 [ 32.225700][ T88] CPU: 1 UID: 0 PID: 88 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.225704][ T88] Tainted: [W]=WARN [ 32.225705][ T88] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.225706][ T88] Call Trace: [ 32.225708][ T88] [ 32.225710][ T88] dump_stack_lvl+0x6f/0xa0 [ 32.225716][ T88] ? vprintk_emit+0x31b/0x3e0 [ 32.225717][ T88] __might_resched.cold+0x1fe/0x2c1 [ 32.225722][ T88] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.225726][ T88] ? __kmalloc_noprof+0xdb/0x760 [ 32.225731][ T88] __kmalloc_noprof+0x443/0x760 [ 32.225733][ T88] ? alloc_buf.isra.0+0x4b/0x260 [ 32.225738][ T88] ? do_raw_spin_unlock+0x59/0x250 [ 32.225741][ T88] alloc_buf.isra.0+0x4b/0x260 [ 32.225744][ T88] put_chars+0x1e1/0x2f0 [ 32.225747][ T88] ? __send_to_port+0x420/0x420 [ 32.225748][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 32.225753][ T88] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.225755][ T88] ? validate_chain+0x38b/0xc20 [ 32.225760][ T88] hvc_console_print+0x292/0x780 [ 32.225762][ T88] ? __lock_acquire+0x518/0xc20 [ 32.225767][ T88] ? hvc_write+0x3a0/0x3a0 [ 32.225770][ T88] ? rcu_is_watching+0x16/0xd0 [ 32.225775][ T88] console_emit_next_record+0x252/0x4f0 [ 32.225778][ T88] ? devkmsg_read+0x4e0/0x4e0 [ 32.225783][ T88] ? rcu_is_watching+0x16/0xd0 [ 32.225785][ T88] ? lock_acquire+0x13c/0x160 [ 32.225788][ T88] console_flush_one_record+0x46f/0x710 [ 32.225792][ T88] ? console_emit_next_record+0x4f0/0x4f0 [ 32.225794][ T88] ? __lock_acquire+0x518/0xc20 [ 32.225799][ T88] console_unlock+0xee/0x1f0 [ 32.225802][ T88] ? console_flush_one_record+0x710/0x710 [ 32.225803][ T88] ? rcu_is_watching+0x16/0xd0 [ 32.225805][ T88] ? lock_acquire+0x60/0x160 [ 32.225809][ T88] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.225810][ T88] ? vprintk_emit+0x320/0x3e0 [ 32.225813][ T88] vprintk_emit+0x37c/0x3e0 [ 32.225817][ T88] ? wake_up_klogd_work_func+0x90/0x90 [ 32.225819][ T88] ? validate_chain+0x38b/0xc20 [ 32.225824][ T88] dev_vprintk_emit+0x27f/0x2c0 [ 32.225830][ T88] ? device_rename.cold+0xa/0xa [ 32.225835][ T88] ? mark_held_locks+0x40/0x70 [ 32.225839][ T88] dev_printk_emit+0xb9/0xee [ 32.225842][ T88] ? dev_vprintk_emit+0x2c0/0x2c0 [ 32.225846][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 32.225848][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 32.225852][ T88] __netdev_printk+0x160/0x1d0 [ 32.225858][ T88] netdev_info+0xe2/0x116 [ 32.225860][ T88] ? netdev_notice+0x120/0x120 [ 32.225862][ T88] ? find_held_lock+0x2b/0x80 [ 32.225866][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 32.225869][ T88] ? mark_held_locks+0x40/0x70 [ 32.225872][ T88] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 32.225874][ T88] netif_change_name.cold+0x4f/0x89 [ 32.225877][ T88] ? __lock_acquire+0x518/0xc20 [ 32.225879][ T88] ? rwsem_optimistic_spin+0x3c7/0x480 [ 32.225881][ T88] ? find_held_lock+0x2/0x80 [ 32.225884][ T88] ? netdev_adjacent_rename_links+0x470/0x470 [ 32.225887][ T88] ? find_held_lock+0x2b/0x80 [ 32.225890][ T88] ? __asan_memset+0x27/0x50 [ 32.225896][ T88] do_setlink.isra.0+0x1f7d/0x2a60 [ 32.225899][ T88] ? __lock_acquire+0x518/0xc20 [ 32.225902][ T88] ? rtnl_link_get_size+0x350/0x350 [ 32.225903][ T88] ? mark_usage+0x61/0x170 [ 32.225905][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 32.225907][ T88] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.225916][ T88] ? validate_chain+0x38b/0xc20 [ 32.225921][ T88] ? __lock_acquire+0x518/0xc20 [ 32.225925][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 32.225927][ T88] ? rtnl_setlink+0x29d/0x920 [ 32.225930][ T88] ? rcu_is_watching+0x16/0xd0 [ 32.225932][ T88] ? lock_acquire+0x13c/0x160 [ 32.225933][ T88] ? rcu_is_watching+0x16/0xd0 [ 32.225935][ T88] ? rcu_is_watching+0x16/0xd0 [ 32.225937][ T88] ? trace_contention_end+0xb3/0x180 [ 32.225939][ T88] ? __mutex_lock+0x1db/0x1ea0 [ 32.225942][ T88] ? __mutex_lock+0x9a3/0x1ea0 [ 32.225944][ T88] ? __lock_acquire+0x518/0xc20 [ 32.225945][ T88] ? rtnl_setlink+0x29d/0x920 [ 32.225948][ T88] ? mark_usage+0x61/0x170 [ 32.225950][ T88] ? ww_mutex_lock+0x160/0x160 [ 32.225952][ T88] ? nla_get_range_signed+0x3d0/0x3d0 [ 32.225958][ T88] ? mark_usage+0x61/0x170 [ 32.225961][ T88] ? cap_capable+0x1d7/0x3d0 [ 32.225969][ T88] rtnl_setlink+0x527/0x920 [ 32.225972][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 32.225974][ T88] ? __lock_acquire+0x518/0xc20 [ 32.225996][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 32.225998][ T88] ? find_held_lock+0x2b/0x80 [ 32.226001][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 32.226003][ T88] ? mark_usage+0x61/0x170 [ 32.226005][ T88] ? __lock_acquire+0x518/0xc20 [ 32.226009][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 32.226011][ T88] ? find_held_lock+0x2b/0x80 [ 32.226013][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 32.226015][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 32.226019][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 32.226021][ T88] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 32.226024][ T88] ? rtnl_link_fill+0x900/0x900 [ 32.226026][ T88] ? __lock_acquire+0x518/0xc20 [ 32.226030][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 32.226032][ T88] ? find_held_lock+0x2b/0x80 [ 32.226036][ T88] netlink_rcv_skb+0x14e/0x3a0 [ 32.226039][ T88] ? rtnl_link_fill+0x900/0x900 [ 32.226042][ T88] ? netlink_ack+0xcd0/0xcd0 [ 32.226049][ T88] ? netlink_deliver_tap+0xc5/0x330 [ 32.226051][ T88] ? netlink_deliver_tap+0x13c/0x330 [ 32.226056][ T88] netlink_unicast+0x486/0x750 [ 32.226060][ T88] ? netlink_attachskb+0x810/0x810 [ 32.226062][ T88] ? __lock_acquire+0x518/0xc20 [ 32.226067][ T88] netlink_sendmsg+0x735/0xc60 [ 32.226071][ T88] ? netlink_unicast+0x750/0x750 [ 32.226075][ T88] ? __might_fault+0x97/0x140 [ 32.226078][ T88] ? __might_fault+0x97/0x140 [ 32.226082][ T88] __sys_sendto+0x2aa/0x400 [ 32.226085][ T88] ? __ia32_sys_getpeername+0xd0/0xd0 [ 32.226099][ T88] __x64_sys_sendto+0xe4/0x1f0 [ 32.226101][ T88] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 32.226105][ T88] ? lockdep_hardirqs_on+0x91/0x130 [ 32.226107][ T88] ? do_syscall_64+0xa6/0x530 [ 32.226109][ T88] do_syscall_64+0xff/0x530 [ 32.226110][ T88] ? exc_page_fault+0xee/0x100 [ 32.226113][ T88] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.226115][ T88] RIP: 0033:0x7fdc8254f54e [ 32.226119][ T88] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 32.226121][ T88] RSP: 002b:00007ffcb8cc5e00 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 32.226123][ T88] RAX: ffffffffffffffda RBX: 0000561f7271ef40 RCX: 00007fdc8254f54e [ 32.226125][ T88] RDX: 0000000000000030 RSI: 0000561f728a3ce0 RDI: 0000000000000020 [ 32.226125][ T88] RBP: 00007ffcb8cc5e10 R08: 00007ffcb8cc5e60 R09: 0000000000000080 [ 32.226129][ T88] R10: 0000000000000000 R11: 0000000000000202 R12: 0000561f728a71d0 [ 32.226130][ T88] R13: 00007ffcb8cc5f44 R14: 0000000000000000 R15: 0000000000000000 [ 32.226137][ T88] [ 37.466196][ T88] netdevsim netdevsim421 eni421np1: renamed from eth0 [ 37.466214][ T88] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 37.466217][ T88] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 88, name: (udev-worker) [ 37.466219][ T88] preempt_count: 1, expected: 0 [ 37.466219][ T88] RCU nest depth: 0, expected: 0 [ 37.466220][ T88] locks held by (udev-worker)/88: 6, last CPU#0: [ 37.466223][ T88] #0: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 37.466235][ T88] #1: ff1100000c1fadd8 (&dev_instance_lock_key#5){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 37.466240][ T88] #2: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 37.466246][ T88] #3: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 37.466249][ T88] #4: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 37.466253][ T88] #5: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 37.466257][ T88] irq event stamp: 3503922 [ 37.466258][ T88] hardirqs last enabled at (3503921): [] __down_trylock_console_sem+0x86/0xa0 [ 37.466260][ T88] hardirqs last disabled at (3503922): [] console_emit_next_record+0x3f8/0x4f0 [ 37.466262][ T88] softirqs last enabled at (3503916): [] netif_change_name+0x216/0x8c0 [ 37.466264][ T88] softirqs last disabled at (3503914): [] netif_change_name+0x1ad/0x8c0 [ 37.466266][ T88] Preemption disabled at: [ 37.466267][ T88] [] vprintk_emit+0x31b/0x3e0 [ 37.466273][ T88] CPU: 0 UID: 0 PID: 88 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 37.466276][ T88] Tainted: [W]=WARN [ 37.466277][ T88] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 37.466279][ T88] Call Trace: [ 37.466281][ T88] [ 37.466282][ T88] dump_stack_lvl+0x6f/0xa0 [ 37.466288][ T88] ? vprintk_emit+0x31b/0x3e0 [ 37.466290][ T88] __might_resched.cold+0x1fe/0x2c1 [ 37.466295][ T88] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 37.466299][ T88] ? __kmalloc_noprof+0xdb/0x760 [ 37.466304][ T88] __kmalloc_noprof+0x443/0x760 [ 37.466306][ T88] ? alloc_buf.isra.0+0x4b/0x260 [ 37.466312][ T88] ? do_raw_spin_unlock+0x59/0x250 [ 37.466315][ T88] alloc_buf.isra.0+0x4b/0x260 [ 37.466318][ T88] put_chars+0x1e1/0x2f0 [ 37.466321][ T88] ? __send_to_port+0x420/0x420 [ 37.466323][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 37.466328][ T88] ? rcu_read_lock_any_held+0x3c/0x90 [ 37.466330][ T88] ? validate_chain+0x38b/0xc20 [ 37.466335][ T88] hvc_console_print+0x292/0x780 [ 37.466338][ T88] ? __lock_acquire+0x518/0xc20 [ 37.466343][ T88] ? hvc_write+0x3a0/0x3a0 [ 37.466346][ T88] ? rcu_is_watching+0x16/0xd0 [ 37.466351][ T88] console_emit_next_record+0x252/0x4f0 [ 37.466355][ T88] ? devkmsg_read+0x4e0/0x4e0 [ 37.466360][ T88] ? rcu_is_watching+0x16/0xd0 [ 37.466362][ T88] ? lock_acquire+0x13c/0x160 [ 37.466366][ T88] console_flush_one_record+0x46f/0x710 [ 37.466371][ T88] ? console_emit_next_record+0x4f0/0x4f0 [ 37.466372][ T88] ? __lock_acquire+0x518/0xc20 [ 37.466378][ T88] console_unlock+0xee/0x1f0 [ 37.466380][ T88] ? console_flush_one_record+0x710/0x710 [ 37.466382][ T88] ? rcu_is_watching+0x16/0xd0 [ 37.466384][ T88] ? lock_acquire+0x60/0x160 [ 37.466388][ T88] ? __down_trylock_console_sem+0x5e/0xa0 [ 37.466390][ T88] ? vprintk_emit+0x320/0x3e0 [ 37.466393][ T88] vprintk_emit+0x37c/0x3e0 [ 37.466397][ T88] ? wake_up_klogd_work_func+0x90/0x90 [ 37.466399][ T88] ? __lock_acquire+0x518/0xc20 [ 37.466401][ T88] ? rwsem_optimistic_spin+0x3c7/0x480 [ 37.466408][ T88] dev_vprintk_emit+0x27f/0x2c0 [ 37.466413][ T88] ? device_rename.cold+0xa/0xa [ 37.466419][ T88] ? mark_usage+0x61/0x170 [ 37.466424][ T88] dev_printk_emit+0xb9/0xee [ 37.466426][ T88] ? dev_vprintk_emit+0x2c0/0x2c0 [ 37.466428][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 37.466431][ T88] ? validate_chain+0x38b/0xc20 [ 37.466433][ T88] ? __lock_acquire+0x518/0xc20 [ 37.466434][ T88] ? __lock_acquire+0x518/0xc20 [ 37.466436][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 37.466438][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 37.466443][ T88] __netdev_printk+0x160/0x1d0 [ 37.466448][ T88] netdev_info+0xe2/0x116 [ 37.466451][ T88] ? netdev_notice+0x120/0x120 [ 37.466453][ T88] ? find_held_lock+0x2b/0x80 [ 37.466457][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 37.466459][ T88] ? mark_held_locks+0x40/0x70 [ 37.466463][ T88] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 37.466465][ T88] netif_change_name.cold+0x4f/0x89 [ 37.466468][ T88] ? __lock_acquire+0x518/0xc20 [ 37.466470][ T88] ? rwsem_optimistic_spin+0x3c7/0x480 [ 37.466472][ T88] ? find_held_lock+0x2/0x80 [ 37.466476][ T88] ? netdev_adjacent_rename_links+0x470/0x470 [ 37.466478][ T88] ? find_held_lock+0x2b/0x80 [ 37.466482][ T88] ? __asan_memset+0x27/0x50 [ 37.466488][ T88] do_setlink.isra.0+0x1f7d/0x2a60 [ 37.466491][ T88] ? __lock_acquire+0x518/0xc20 [ 37.466494][ T88] ? rtnl_link_get_size+0x350/0x350 [ 37.466496][ T88] ? mark_usage+0x61/0x170 [ 37.466497][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 37.466500][ T88] ? rcu_read_lock_any_held+0x3c/0x90 [ 37.466501][ T88] ? validate_chain+0x38b/0xc20 [ 37.466506][ T88] ? __lock_acquire+0x518/0xc20 [ 37.466511][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 37.466513][ T88] ? rtnl_setlink+0x29d/0x920 [ 37.466516][ T88] ? rcu_is_watching+0x16/0xd0 [ 37.466518][ T88] ? lock_acquire+0x13c/0x160 [ 37.466519][ T88] ? rcu_is_watching+0x16/0xd0 [ 37.466521][ T88] ? rcu_is_watching+0x16/0xd0 [ 37.466523][ T88] ? trace_contention_end+0xb3/0x180 [ 37.466526][ T88] ? __mutex_lock+0x1db/0x1ea0 [ 37.466529][ T88] ? __mutex_lock+0x9a3/0x1ea0 [ 37.466530][ T88] ? __lock_acquire+0x518/0xc20 [ 37.466532][ T88] ? rtnl_setlink+0x29d/0x920 [ 37.466535][ T88] ? mark_usage+0x61/0x170 [ 37.466537][ T88] ? ww_mutex_lock+0x160/0x160 [ 37.466539][ T88] ? nla_get_range_signed+0x3d0/0x3d0 [ 37.466546][ T88] ? mark_usage+0x61/0x170 [ 37.466549][ T88] ? cap_capable+0x1d7/0x3d0 [ 37.466558][ T88] rtnl_setlink+0x527/0x920 [ 37.466561][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 37.466563][ T88] ? __lock_acquire+0x518/0xc20 [ 37.466588][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 37.466590][ T88] ? find_held_lock+0x2b/0x80 [ 37.466593][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 37.466595][ T88] ? mark_usage+0x61/0x170 [ 37.466597][ T88] ? __lock_acquire+0x518/0xc20 [ 37.466602][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 37.466603][ T88] ? find_held_lock+0x2b/0x80 [ 37.466606][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 37.466608][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 37.466612][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 37.466614][ T88] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 37.466618][ T88] ? rtnl_link_fill+0x900/0x900 [ 37.466620][ T88] ? __lock_acquire+0x518/0xc20 [ 37.466624][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 37.466626][ T88] ? find_held_lock+0x2b/0x80 [ 37.466630][ T88] netlink_rcv_skb+0x14e/0x3a0 [ 37.466634][ T88] ? rtnl_link_fill+0x900/0x900 [ 37.466637][ T88] ? netlink_ack+0xcd0/0xcd0 [ 37.466645][ T88] ? netlink_deliver_tap+0xc5/0x330 [ 37.466647][ T88] ? netlink_deliver_tap+0x13c/0x330 [ 37.466652][ T88] netlink_unicast+0x486/0x750 [ 37.466656][ T88] ? netlink_attachskb+0x810/0x810 [ 37.466659][ T88] ? __lock_acquire+0x518/0xc20 [ 37.466661][ T88] ? do_raw_spin_trylock+0x161/0x180 [ 37.466665][ T88] netlink_sendmsg+0x735/0xc60 [ 37.466670][ T88] ? netlink_unicast+0x750/0x750 [ 37.466674][ T88] ? __might_fault+0x97/0x140 [ 37.466677][ T88] ? __might_fault+0x97/0x140 [ 37.466681][ T88] __sys_sendto+0x2aa/0x400 [ 37.466685][ T88] ? __ia32_sys_getpeername+0xd0/0xd0 [ 37.466696][ T88] ? exc_page_fault+0x87/0x100 [ 37.466703][ T88] __x64_sys_sendto+0xe4/0x1f0 [ 37.466705][ T88] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 37.466709][ T88] ? lockdep_hardirqs_on+0x91/0x130 [ 37.466711][ T88] ? do_syscall_64+0xa6/0x530 [ 37.466713][ T88] do_syscall_64+0xff/0x530 [ 37.466714][ T88] ? exc_page_fault+0xee/0x100 [ 37.466717][ T88] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 37.466719][ T88] RIP: 0033:0x7fdc8254f54e [ 37.466723][ T88] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 37.466725][ T88] RSP: 002b:00007ffcb8cc5e00 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 37.466728][ T88] RAX: ffffffffffffffda RBX: 0000561f7271ef40 RCX: 00007fdc8254f54e [ 37.466730][ T88] RDX: 0000000000000030 RSI: 0000561f7289b680 RDI: 0000000000000020 [ 37.466730][ T88] RBP: 00007ffcb8cc5e10 R08: 00007ffcb8cc5e60 R09: 0000000000000080 [ 37.466731][ T88] R10: 0000000000000000 R11: 0000000000000202 R12: 0000561f728ae5f0 [ 37.466732][ T88] R13: 00007ffcb8cc5f44 R14: 0000000000000000 R15: 0000000000000000 [ 37.466739][ T88] [ 37.707634][ T69] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 37.839627][ T69] netdevsim netdevsim421 eni421np1: set [0, 1] type 1 family 0 port 10001 - 0 [ 37.986146][ T69] netdevsim netdevsim421 eni421np1: set [0, 2] type 1 family 0 port 10002 - 0 [ 38.157151][ T69] netdevsim netdevsim421 eni421np1: set [0, 3] type 1 family 0 port 10003 - 0 [ 38.522167][ T69] netdevsim netdevsim421 eni421np1: set [1, 0] type 2 family 0 port 20000 - 0 [ 38.522188][ T69] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 38.522191][ T69] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 69, name: kworker/u16:1 [ 38.522192][ T69] preempt_count: 1, expected: 0 [ 38.522193][ T69] RCU nest depth: 0, expected: 0 [ 38.522194][ T69] locks held by kworker/u16:1/69: 8, last CPU#2: [ 38.522197][ T69] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 38.522209][ T69] #1: ffa00000004a7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 38.522213][ T69] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 38.522220][ T69] #3: ff11000008d73f10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 38.522223][ T69] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 38.522229][ T69] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 38.522232][ T69] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 38.522236][ T69] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 38.522240][ T69] irq event stamp: 26690 [ 38.522240][ T69] hardirqs last enabled at (26689): [] __down_trylock_console_sem+0x86/0xa0 [ 38.522243][ T69] hardirqs last disabled at (26690): [] console_emit_next_record+0x3f8/0x4f0 [ 38.522244][ T69] softirqs last enabled at (26678): [] addrconf_dad_begin+0x37f/0x540 [ 38.522248][ T69] softirqs last disabled at (26670): [] addrconf_dad_begin+0x154/0x540 [ 38.522251][ T69] Preemption disabled at: [ 38.522252][ T69] [] vprintk_emit+0x31b/0x3e0 [ 38.522258][ T69] CPU: 2 UID: 0 PID: 69 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.522261][ T69] Tainted: [W]=WARN [ 38.522262][ T69] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.522265][ T69] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 38.522268][ T69] Call Trace: [ 38.522270][ T69] [ 38.522272][ T69] dump_stack_lvl+0x6f/0xa0 [ 38.522278][ T69] ? vprintk_emit+0x31b/0x3e0 [ 38.522280][ T69] __might_resched.cold+0x1fe/0x2c1 [ 38.522285][ T69] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 38.522288][ T69] ? __kmalloc_noprof+0xdb/0x760 [ 38.522293][ T69] __kmalloc_noprof+0x443/0x760 [ 38.522296][ T69] ? alloc_buf.isra.0+0x4b/0x260 [ 38.522301][ T69] ? do_raw_spin_unlock+0x59/0x250 [ 38.522304][ T69] alloc_buf.isra.0+0x4b/0x260 [ 38.522307][ T69] put_chars+0x1e1/0x2f0 [ 38.522310][ T69] ? __send_to_port+0x420/0x420 [ 38.522313][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.522317][ T69] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.522319][ T69] ? validate_chain+0x38b/0xc20 [ 38.522323][ T69] hvc_console_print+0x292/0x780 [ 38.522326][ T69] ? mark_usage+0x61/0x170 [ 38.522328][ T69] ? __lock_acquire+0x518/0xc20 [ 38.522329][ T69] ? __lock_acquire+0x518/0xc20 [ 38.522333][ T69] ? hvc_write+0x3a0/0x3a0 [ 38.522335][ T69] ? console_emit_next_record+0x202/0x4f0 [ 38.522338][ T69] ? rcu_is_watching+0x16/0xd0 [ 38.522340][ T69] ? lock_acquire+0x13c/0x160 [ 38.522344][ T69] console_emit_next_record+0x252/0x4f0 [ 38.522348][ T69] ? devkmsg_read+0x4e0/0x4e0 [ 38.522352][ T69] ? rcu_is_watching+0x16/0xd0 [ 38.522355][ T69] ? lock_acquire+0x13c/0x160 [ 38.522359][ T69] console_flush_one_record+0x46f/0x710 [ 38.522363][ T69] ? console_emit_next_record+0x4f0/0x4f0 [ 38.522364][ T69] ? __lock_acquire+0x518/0xc20 [ 38.522370][ T69] console_unlock+0xee/0x1f0 [ 38.522372][ T69] ? console_flush_one_record+0x710/0x710 [ 38.522374][ T69] ? rcu_is_watching+0x16/0xd0 [ 38.522376][ T69] ? lock_acquire+0x60/0x160 [ 38.522380][ T69] ? __down_trylock_console_sem+0x5e/0xa0 [ 38.522381][ T69] ? vprintk_emit+0x320/0x3e0 [ 38.522384][ T69] vprintk_emit+0x37c/0x3e0 [ 38.522388][ T69] ? wake_up_klogd_work_func+0x90/0x90 [ 38.522391][ T69] ? __lock_release.isra.0+0x69/0x1a0 [ 38.522396][ T69] dev_vprintk_emit+0x27f/0x2c0 [ 38.522402][ T69] ? device_rename.cold+0xa/0xa [ 38.522403][ T69] ? debug_object_activate+0x345/0x4a0 [ 38.522411][ T69] ? __lock_release.isra.0+0x69/0x1a0 [ 38.522415][ T69] dev_printk_emit+0xb9/0xee [ 38.522417][ T69] ? dev_vprintk_emit+0x2c0/0x2c0 [ 38.522419][ T69] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 38.522429][ T69] __netdev_printk+0x160/0x1d0 [ 38.522434][ T69] netdev_info+0xe2/0x116 [ 38.522437][ T69] ? netdev_notice+0x120/0x120 [ 38.522441][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 38.522442][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 38.522446][ T69] ? rcu_is_watching+0x16/0xd0 [ 38.522450][ T69] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 38.522457][ T69] ? __mutex_lock+0x9a3/0x1ea0 [ 38.522460][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 38.522462][ T69] ? __asan_memset+0x27/0x50 [ 38.522466][ T69] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 38.522471][ T69] ? rcu_tasks_need_gpcb+0x837/0x880 [ 38.522477][ T69] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 38.522483][ T69] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 38.522486][ T69] ? rcu_is_watching+0x16/0xd0 [ 38.522488][ T69] ? lock_acquire+0x13c/0x160 [ 38.522489][ T69] ? rcu_is_watching+0x16/0xd0 [ 38.522492][ T69] ? process_one_work+0xe16/0x1560 [ 38.522494][ T69] ? process_one_work+0xdfc/0x1560 [ 38.522496][ T69] process_one_work+0xe3e/0x1560 [ 38.522502][ T69] ? __queue_delayed_work+0x470/0x470 [ 38.522505][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 38.522513][ T69] worker_thread+0x4f1/0xd60 [ 38.522520][ T69] ? rescuer_thread+0x1340/0x1340 [ 38.522522][ T69] kthread+0x367/0x460 [ 38.522524][ T69] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 38.522528][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.522531][ T69] ret_from_fork+0x474/0x6b0 [ 38.522536][ T69] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 38.522539][ T69] ? __switch_to+0x5a3/0xe00 [ 38.522542][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 38.522545][ T69] ret_from_fork_asm+0x11/0x20 [ 38.522553][ T69] [ 38.768151][ T69] netdevsim netdevsim421 eni421np1: set [1, 1] type 2 family 0 port 20001 - 0 [ 39.065172][ T69] netdevsim netdevsim421 eni421np1: set [1, 2] type 2 family 0 port 20002 - 0 [ 39.466758][ T69] netdevsim netdevsim421 eni421np1: set [1, 3] type 2 family 0 port 20003 - 0 [ 40.130533][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [0, 0] type 1 family 0 port 10000 - 0 [ 40.130588][ T165] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 40.130591][ T165] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 165, name: udp_tunnel_nic. [ 40.130592][ T165] preempt_count: 1, expected: 0 [ 40.130593][ T165] RCU nest depth: 0, expected: 0 [ 40.130594][ T165] locks held by udp_tunnel_nic./165: 10, last CPU#3: [ 40.130596][ T165] #0: ff1100000a0d1430 (sb_writers#7){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 40.130608][ T165] #1: ff1100000a93a680 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x247/0x510 [ 40.130615][ T165] #2: ff110000094cb9f0 (kn->active#38){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x29e/0x510 [ 40.130618][ T165] #3: ff1100000d65a258 (&devlink->lock_key#3){+.+.}-{4:4}, at: nsim_drv_port_del+0x4c/0x160 [netdevsim] [ 40.130627][ T165] #4: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x133/0x7f0 [netdevsim] [ 40.130632][ T165] #5: ff11000008d73f10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_unregister+0xe6/0xb10 [udp_tunnel] [ 40.130637][ T165] #6: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 40.130642][ T165] #7: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 40.130646][ T165] #8: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 40.130649][ T165] #9: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 40.130653][ T165] irq event stamp: 4004042 [ 40.130654][ T165] hardirqs last enabled at (4004041): [] __down_trylock_console_sem+0x86/0xa0 [ 40.130656][ T165] hardirqs last disabled at (4004042): [] console_emit_next_record+0x3f8/0x4f0 [ 40.130658][ T165] softirqs last enabled at (4004020): [] __neigh_ifdown.isra.0+0x1b8/0xa50 [ 40.130662][ T165] softirqs last disabled at (4004018): [] __neigh_ifdown.isra.0+0x89/0xa50 [ 40.130664][ T165] Preemption disabled at: [ 40.130664][ T165] [] vprintk_emit+0x31b/0x3e0 [ 40.130670][ T165] CPU: 3 UID: 0 PID: 165 Comm: udp_tunnel_nic. Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 40.130674][ T165] Tainted: [W]=WARN [ 40.130675][ T165] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 40.130677][ T165] Call Trace: [ 40.130679][ T165] [ 40.130680][ T165] dump_stack_lvl+0x6f/0xa0 [ 40.130686][ T165] ? vprintk_emit+0x31b/0x3e0 [ 40.130688][ T165] __might_resched.cold+0x1fe/0x2c1 [ 40.130693][ T165] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 40.130697][ T165] ? __kmalloc_noprof+0xdb/0x760 [ 40.130702][ T165] __kmalloc_noprof+0x443/0x760 [ 40.130704][ T165] ? alloc_buf.isra.0+0x4b/0x260 [ 40.130710][ T165] ? do_raw_spin_unlock+0x59/0x250 [ 40.130712][ T165] alloc_buf.isra.0+0x4b/0x260 [ 40.130716][ T165] put_chars+0x1e1/0x2f0 [ 40.130718][ T165] ? printk_get_next_message+0x2fe/0x7d0 [ 40.130720][ T165] ? __send_to_port+0x420/0x420 [ 40.130723][ T165] ? validate_chain+0x34a/0xc20 [ 40.130729][ T165] hvc_console_print+0x292/0x780 [ 40.130735][ T165] ? hvc_write+0x3a0/0x3a0 [ 40.130737][ T165] ? rcu_is_watching+0x16/0xd0 [ 40.130741][ T165] ? lock_acquire+0x13c/0x160 [ 40.130745][ T165] console_emit_next_record+0x252/0x4f0 [ 40.130749][ T165] ? devkmsg_read+0x4e0/0x4e0 [ 40.130754][ T165] ? rcu_is_watching+0x16/0xd0 [ 40.130756][ T165] ? lock_acquire+0x13c/0x160 [ 40.130760][ T165] console_flush_one_record+0x46f/0x710 [ 40.130765][ T165] ? console_emit_next_record+0x4f0/0x4f0 [ 40.130766][ T165] ? __lock_acquire+0x518/0xc20 [ 40.130772][ T165] console_unlock+0xee/0x1f0 [ 40.130774][ T165] ? console_flush_one_record+0x710/0x710 [ 40.130776][ T165] ? rcu_is_watching+0x16/0xd0 [ 40.130778][ T165] ? lock_acquire+0x60/0x160 [ 40.130782][ T165] ? __down_trylock_console_sem+0x5e/0xa0 [ 40.130784][ T165] ? vprintk_emit+0x320/0x3e0 [ 40.130787][ T165] vprintk_emit+0x37c/0x3e0 [ 40.130791][ T165] ? wake_up_klogd_work_func+0x90/0x90 [ 40.130793][ T165] ? __lock_acquire+0x518/0xc20 [ 40.130795][ T165] ? __lock_acquire+0x518/0xc20 [ 40.130799][ T165] dev_vprintk_emit+0x27f/0x2c0 [ 40.130805][ T165] ? device_rename.cold+0xa/0xa [ 40.130810][ T165] ? is_bpf_text_address+0x68/0x110 [ 40.130817][ T165] dev_printk_emit+0xb9/0xee [ 40.130820][ T165] ? dev_vprintk_emit+0x2c0/0x2c0 [ 40.130829][ T165] __netdev_printk+0x160/0x1d0 [ 40.130834][ T165] netdev_info+0xe2/0x116 [ 40.130837][ T165] ? netdev_notice+0x120/0x120 [ 40.130838][ T165] ? rcu_read_lock_any_held+0x3c/0x90 [ 40.130842][ T165] ? unregister_netdevice_many_notify+0xc5a/0x1b40 [ 40.130845][ T165] ? unregister_netdevice_queue+0x290/0x470 [ 40.130848][ T165] ? __lock_acquire+0x518/0xc20 [ 40.130853][ T165] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 40.130860][ T165] ? rcu_is_watching+0x16/0xd0 [ 40.130862][ T165] ? __asan_memset+0x27/0x50 [ 40.130866][ T165] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 40.130871][ T165] ? __mutex_lock+0x987/0x1ea0 [ 40.130878][ T165] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 40.130885][ T165] udp_tunnel_nic_flush+0x24b/0x670 [udp_tunnel] [ 40.130892][ T165] udp_tunnel_nic_unregister+0x34d/0xb10 [udp_tunnel] [ 40.130898][ T165] udp_tunnel_nic_netdevice_event+0x686/0xbbd [udp_tunnel] [ 40.130903][ T165] ? rcu_is_watching+0x16/0xd0 [ 40.130906][ T165] notifier_call_chain+0xae/0x300 [ 40.130913][ T165] unregister_netdevice_many_notify+0xc5a/0x1b40 [ 40.130918][ T165] ? unregister_netdevice_queued+0x80/0x80 [ 40.130920][ T165] ? nsim_destroy+0x133/0x7f0 [netdevsim] [ 40.130924][ T165] ? netdev_run_todo+0x2a8/0xfd0 [ 40.130928][ T165] ? rtnl_is_locked+0x15/0x20 [ 40.130932][ T165] ? sysfs_file_ops+0x140/0x140 [ 40.130935][ T165] unregister_netdevice_queue+0x290/0x470 [ 40.130937][ T165] ? rtnl_net_dev_lock+0xdb/0x270 [ 40.130940][ T165] ? rcu_is_watching+0x16/0xd0 [ 40.130942][ T165] ? unregister_netdevice_many+0x20/0x20 [ 40.130947][ T165] nsim_destroy+0x1b1/0x7f0 [netdevsim] [ 40.130952][ T165] ? kstrtouint+0x6e/0x100 [ 40.130957][ T165] __nsim_dev_port_del+0x183/0x300 [netdevsim] [ 40.130962][ T165] ? nsim_drv_port_del+0x4c/0x160 [netdevsim] [ 40.130966][ T165] nsim_drv_port_del+0xdb/0x160 [netdevsim] [ 40.130970][ T165] del_port_store+0xee/0x120 [netdevsim] [ 40.130974][ T165] ? sysfs_file_kobj+0xb3/0x1e0 [ 40.130977][ T165] ? del_device_store+0x580/0x580 [netdevsim] [ 40.130987][ T165] ? sysfs_file_kobj+0xbd/0x1e0 [ 40.130989][ T165] ? sysfs_kf_write+0x65/0x160 [ 40.130992][ T165] kernfs_fop_write_iter+0x335/0x510 [ 40.130995][ T165] ? kernfs_ops+0xf0/0xf0 [ 40.130998][ T165] new_sync_write+0x33e/0x760 [ 40.131000][ T165] ? __lock_acquire+0x518/0xc20 [ 40.131003][ T165] ? new_sync_read+0x750/0x750 [ 40.131006][ T165] ? lock_acquire.part.0+0xd4/0x280 [ 40.131008][ T165] ? ksys_write+0x116/0x250 [ 40.131015][ T165] vfs_write+0x6a2/0xbd0 [ 40.131020][ T165] ksys_write+0x116/0x250 [ 40.131023][ T165] ? __ia32_sys_read+0xc0/0xc0 [ 40.131025][ T165] ? do_raw_spin_unlock+0x59/0x250 [ 40.131027][ T165] ? rcu_is_watching+0x16/0xd0 [ 40.131031][ T165] do_syscall_64+0xff/0x530 [ 40.131034][ T165] ? exc_page_fault+0xee/0x100 [ 40.131037][ T165] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 40.131039][ T165] RIP: 0033:0x7f08d5e1a54e [ 40.131043][ T165] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 40.131045][ T165] RSP: 002b:00007ffdfc07f0f0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 40.131048][ T165] RAX: ffffffffffffffda RBX: 00007f08d5f9b580 RCX: 00007f08d5e1a54e [ 40.131050][ T165] RDX: 0000000000000002 RSI: 0000560625df2270 RDI: 0000000000000001 [ 40.131050][ T165] RBP: 00007ffdfc07f100 R08: 0000000000000000 R09: 0000000000000000 [ 40.131051][ T165] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000002 [ 40.131052][ T165] R13: 0000000000000002 R14: 0000560625df2270 R15: 0000000000000000 [ 40.131059][ T165] [ 40.177714][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [0, 1] type 1 family 0 port 10001 - 0 [ 40.178396][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [0, 2] type 1 family 0 port 10002 - 0 [ 40.179062][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [0, 3] type 1 family 0 port 10003 - 0 [ 40.180108][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [1, 0] type 2 family 0 port 20000 - 0 [ 40.185947][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [1, 1] type 2 family 0 port 20001 - 0 [ 40.186637][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [1, 2] type 2 family 0 port 20002 - 0 [ 40.187314][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [1, 3] type 2 family 0 port 20003 - 0 [ 40.520913][ T88] netdevsim netdevsim421 eni421np2: renamed from eth0 [ 40.711159][ T69] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 40.835414][ T69] netdevsim netdevsim421 eni421np2: set [0, 1] type 1 family 0 port 10001 - 0 [ 41.015151][ T69] netdevsim netdevsim421 eni421np2: set [0, 2] type 1 family 0 port 10002 - 0 [ 41.201210][ T69] netdevsim netdevsim421 eni421np2: set [0, 3] type 1 family 0 port 10003 - 0 [ 41.201228][ T69] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 41.201231][ T69] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 69, name: kworker/u16:1 [ 41.201232][ T69] preempt_count: 1, expected: 0 [ 41.201233][ T69] RCU nest depth: 0, expected: 0 [ 41.201234][ T69] locks held by kworker/u16:1/69: 8, last CPU#3: [ 41.201237][ T69] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 41.201249][ T69] #1: ffa00000004a7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 41.201253][ T69] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 41.201259][ T69] #3: ff1100000ba4f510 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 41.201262][ T69] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 41.201268][ T69] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 41.201272][ T69] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 41.201275][ T69] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 41.201279][ T69] irq event stamp: 38170 [ 41.201280][ T69] hardirqs last enabled at (38169): [] __down_trylock_console_sem+0x86/0xa0 [ 41.201282][ T69] hardirqs last disabled at (38170): [] console_emit_next_record+0x3f8/0x4f0 [ 41.201284][ T69] softirqs last enabled at (38158): [] addrconf_dad_begin+0x37f/0x540 [ 41.201288][ T69] softirqs last disabled at (38150): [] addrconf_dad_begin+0x154/0x540 [ 41.201290][ T69] Preemption disabled at: [ 41.201291][ T69] [] vprintk_emit+0x31b/0x3e0 [ 41.201297][ T69] CPU: 3 UID: 0 PID: 69 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 41.201300][ T69] Tainted: [W]=WARN [ 41.201301][ T69] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 41.201303][ T69] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 41.201306][ T69] Call Trace: [ 41.201308][ T69] [ 41.201310][ T69] dump_stack_lvl+0x6f/0xa0 [ 41.201315][ T69] ? vprintk_emit+0x31b/0x3e0 [ 41.201317][ T69] __might_resched.cold+0x1fe/0x2c1 [ 41.201322][ T69] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 41.201326][ T69] ? __kmalloc_noprof+0xdb/0x760 [ 41.201331][ T69] __kmalloc_noprof+0x443/0x760 [ 41.201333][ T69] ? alloc_buf.isra.0+0x4b/0x260 [ 41.201339][ T69] ? do_raw_spin_unlock+0x59/0x250 [ 41.201342][ T69] alloc_buf.isra.0+0x4b/0x260 [ 41.201345][ T69] put_chars+0x1e1/0x2f0 [ 41.201348][ T69] ? __send_to_port+0x420/0x420 [ 41.201351][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 41.201355][ T69] ? rcu_read_lock_any_held+0x3c/0x90 [ 41.201357][ T69] ? validate_chain+0x38b/0xc20 [ 41.201361][ T69] hvc_console_print+0x292/0x780 [ 41.201364][ T69] ? mark_usage+0x61/0x170 [ 41.201366][ T69] ? __lock_acquire+0x518/0xc20 [ 41.201367][ T69] ? __lock_acquire+0x518/0xc20 [ 41.201371][ T69] ? hvc_write+0x3a0/0x3a0 [ 41.201373][ T69] ? console_emit_next_record+0x202/0x4f0 [ 41.201376][ T69] ? rcu_is_watching+0x16/0xd0 [ 41.201379][ T69] ? lock_acquire+0x13c/0x160 [ 41.201382][ T69] console_emit_next_record+0x252/0x4f0 [ 41.201386][ T69] ? devkmsg_read+0x4e0/0x4e0 [ 41.201391][ T69] ? rcu_is_watching+0x16/0xd0 [ 41.201393][ T69] ? lock_acquire+0x13c/0x160 [ 41.201397][ T69] console_flush_one_record+0x46f/0x710 [ 41.201401][ T69] ? console_emit_next_record+0x4f0/0x4f0 [ 41.201403][ T69] ? __lock_acquire+0x518/0xc20 [ 41.201408][ T69] console_unlock+0xee/0x1f0 [ 41.201411][ T69] ? console_flush_one_record+0x710/0x710 [ 41.201412][ T69] ? rcu_is_watching+0x16/0xd0 [ 41.201414][ T69] ? lock_acquire+0x60/0x160 [ 41.201418][ T69] ? __down_trylock_console_sem+0x5e/0xa0 [ 41.201419][ T69] ? vprintk_emit+0x320/0x3e0 [ 41.201423][ T69] vprintk_emit+0x37c/0x3e0 [ 41.201426][ T69] ? wake_up_klogd_work_func+0x90/0x90 [ 41.201430][ T69] ? __lock_release.isra.0+0x69/0x1a0 [ 41.201434][ T69] dev_vprintk_emit+0x27f/0x2c0 [ 41.201440][ T69] ? device_rename.cold+0xa/0xa [ 41.201442][ T69] ? debug_object_activate+0x345/0x4a0 [ 41.201449][ T69] ? __lock_release.isra.0+0x69/0x1a0 [ 41.201453][ T69] dev_printk_emit+0xb9/0xee [ 41.201455][ T69] ? dev_vprintk_emit+0x2c0/0x2c0 [ 41.201457][ T69] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 41.201466][ T69] __netdev_printk+0x160/0x1d0 [ 41.201472][ T69] netdev_info+0xe2/0x116 [ 41.201474][ T69] ? netdev_notice+0x120/0x120 [ 41.201478][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 41.201480][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 41.201483][ T69] ? rcu_is_watching+0x16/0xd0 [ 41.201488][ T69] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 41.201494][ T69] ? __mutex_lock+0x9a3/0x1ea0 [ 41.201497][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 41.201499][ T69] ? __asan_memset+0x27/0x50 [ 41.201503][ T69] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 41.201507][ T69] ? rcu_tasks_need_gpcb+0x837/0x880 [ 41.201513][ T69] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 41.201519][ T69] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 41.201521][ T69] ? rcu_is_watching+0x16/0xd0 [ 41.201523][ T69] ? lock_acquire+0x13c/0x160 [ 41.201525][ T69] ? rcu_is_watching+0x16/0xd0 [ 41.201528][ T69] ? process_one_work+0xe16/0x1560 [ 41.201530][ T69] ? process_one_work+0xdfc/0x1560 [ 41.201531][ T69] process_one_work+0xe3e/0x1560 [ 41.201538][ T69] ? __queue_delayed_work+0x470/0x470 [ 41.201541][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 41.201548][ T69] worker_thread+0x4f1/0xd60 [ 41.201555][ T69] ? rescuer_thread+0x1340/0x1340 [ 41.201557][ T69] kthread+0x367/0x460 [ 41.201560][ T69] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 41.201564][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.201566][ T69] ret_from_fork+0x474/0x6b0 [ 41.201571][ T69] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 41.201575][ T69] ? __switch_to+0x5a3/0xe00 [ 41.201578][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.201580][ T69] ret_from_fork_asm+0x11/0x20 [ 41.201589][ T69] [ 41.632150][ T12] netdevsim netdevsim421 eni421np2: set [1, 0] type 2 family 0 port 20000 - 0 [ 41.832347][ T12] netdevsim netdevsim421 eni421np2: set [1, 1] type 2 family 0 port 20001 - 0 [ 42.084633][ T12] netdevsim netdevsim421 eni421np2: set [1, 2] type 2 family 0 port 20002 - 0 [ 42.364154][ T69] netdevsim netdevsim421 eni421np2: set [1, 3] type 2 family 0 port 20003 - 0 [ 42.364173][ T69] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 42.364176][ T69] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 69, name: kworker/u16:1 [ 42.364178][ T69] preempt_count: 1, expected: 0 [ 42.364179][ T69] RCU nest depth: 0, expected: 0 [ 42.364180][ T69] locks held by kworker/u16:1/69: 8, last CPU#3: [ 42.364182][ T69] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 42.364195][ T69] #1: ffa00000004a7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 42.364199][ T69] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 42.364205][ T69] #3: ff1100000ba4f510 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 42.364209][ T69] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 42.364214][ T69] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 42.364217][ T69] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 42.364221][ T69] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 42.364225][ T69] irq event stamp: 44202 [ 42.364226][ T69] hardirqs last enabled at (44201): [] __down_trylock_console_sem+0x86/0xa0 [ 42.364228][ T69] hardirqs last disabled at (44202): [] console_emit_next_record+0x3f8/0x4f0 [ 42.364230][ T69] softirqs last enabled at (44190): [] addrconf_dad_begin+0x37f/0x540 [ 42.364234][ T69] softirqs last disabled at (44182): [] addrconf_dad_begin+0x154/0x540 [ 42.364236][ T69] Preemption disabled at: [ 42.364237][ T69] [] vprintk_emit+0x31b/0x3e0 [ 42.364243][ T69] CPU: 3 UID: 0 PID: 69 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 42.364247][ T69] Tainted: [W]=WARN [ 42.364248][ T69] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 42.364250][ T69] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 42.364253][ T69] Call Trace: [ 42.364255][ T69] [ 42.364257][ T69] dump_stack_lvl+0x6f/0xa0 [ 42.364263][ T69] ? vprintk_emit+0x31b/0x3e0 [ 42.364265][ T69] __might_resched.cold+0x1fe/0x2c1 [ 42.364270][ T69] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 42.364274][ T69] ? __kmalloc_noprof+0xdb/0x760 [ 42.364279][ T69] __kmalloc_noprof+0x443/0x760 [ 42.364282][ T69] ? alloc_buf.isra.0+0x4b/0x260 [ 42.364288][ T69] ? do_raw_spin_unlock+0x59/0x250 [ 42.364291][ T69] alloc_buf.isra.0+0x4b/0x260 [ 42.364294][ T69] put_chars+0x1e1/0x2f0 [ 42.364297][ T69] ? __send_to_port+0x420/0x420 [ 42.364301][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 42.364305][ T69] ? rcu_read_lock_any_held+0x3c/0x90 [ 42.364307][ T69] ? validate_chain+0x38b/0xc20 [ 42.364312][ T69] hvc_console_print+0x292/0x780 [ 42.364315][ T69] ? mark_usage+0x61/0x170 [ 42.364317][ T69] ? __lock_acquire+0x518/0xc20 [ 42.364318][ T69] ? __lock_acquire+0x518/0xc20 [ 42.364323][ T69] ? hvc_write+0x3a0/0x3a0 [ 42.364325][ T69] ? console_emit_next_record+0x202/0x4f0 [ 42.364329][ T69] ? rcu_is_watching+0x16/0xd0 [ 42.364331][ T69] ? lock_acquire+0x13c/0x160 [ 42.364336][ T69] console_emit_next_record+0x252/0x4f0 [ 42.364340][ T69] ? devkmsg_read+0x4e0/0x4e0 [ 42.364345][ T69] ? rcu_is_watching+0x16/0xd0 [ 42.364347][ T69] ? lock_acquire+0x13c/0x160 [ 42.364352][ T69] console_flush_one_record+0x46f/0x710 [ 42.364356][ T69] ? console_emit_next_record+0x4f0/0x4f0 [ 42.364358][ T69] ? __lock_acquire+0x518/0xc20 [ 42.364364][ T69] console_unlock+0xee/0x1f0 [ 42.364367][ T69] ? console_flush_one_record+0x710/0x710 [ 42.364369][ T69] ? rcu_is_watching+0x16/0xd0 [ 42.364371][ T69] ? lock_acquire+0x60/0x160 [ 42.364375][ T69] ? __down_trylock_console_sem+0x5e/0xa0 [ 42.364377][ T69] ? vprintk_emit+0x320/0x3e0 [ 42.364380][ T69] vprintk_emit+0x37c/0x3e0 [ 42.364384][ T69] ? wake_up_klogd_work_func+0x90/0x90 [ 42.364387][ T69] ? __lock_release.isra.0+0x69/0x1a0 [ 42.364392][ T69] dev_vprintk_emit+0x27f/0x2c0 [ 42.364398][ T69] ? device_rename.cold+0xa/0xa [ 42.364400][ T69] ? debug_object_activate+0x345/0x4a0 [ 42.364408][ T69] ? __lock_release.isra.0+0x69/0x1a0 [ 42.364412][ T69] dev_printk_emit+0xb9/0xee [ 42.364414][ T69] ? dev_vprintk_emit+0x2c0/0x2c0 [ 42.364416][ T69] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 42.364426][ T69] __netdev_printk+0x160/0x1d0 [ 42.364431][ T69] netdev_info+0xe2/0x116 [ 42.364434][ T69] ? netdev_notice+0x120/0x120 [ 42.364438][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 42.364440][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 42.364443][ T69] ? rcu_is_watching+0x16/0xd0 [ 42.364447][ T69] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 42.364455][ T69] ? __mutex_lock+0x9a3/0x1ea0 [ 42.364458][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 42.364460][ T69] ? __asan_memset+0x27/0x50 [ 42.364464][ T69] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 42.364468][ T69] ? rcu_tasks_need_gpcb+0x837/0x880 [ 42.364474][ T69] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 42.364481][ T69] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 42.364484][ T69] ? rcu_is_watching+0x16/0xd0 [ 42.364486][ T69] ? lock_acquire+0x13c/0x160 [ 42.364488][ T69] ? rcu_is_watching+0x16/0xd0 [ 42.364491][ T69] ? process_one_work+0xe16/0x1560 [ 42.364493][ T69] ? process_one_work+0xdfc/0x1560 [ 42.364494][ T69] process_one_work+0xe3e/0x1560 [ 42.364501][ T69] ? __queue_delayed_work+0x470/0x470 [ 42.364504][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 42.364513][ T69] worker_thread+0x4f1/0xd60 [ 42.364521][ T69] ? rescuer_thread+0x1340/0x1340 [ 42.364524][ T69] kthread+0x367/0x460 [ 42.364526][ T69] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 42.364530][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 42.364533][ T69] ret_from_fork+0x474/0x6b0 [ 42.364538][ T69] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 42.364542][ T69] ? __switch_to+0x5a3/0xe00 [ 42.364545][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 42.364548][ T69] ret_from_fork_asm+0x11/0x20 [ 42.364558][ T69] [ 42.887726][ T165] netdevsim netdevsim421 eni421np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 42.888728][ T165] netdevsim netdevsim421 eni421np2: unset [0, 1] type 1 family 0 port 10001 - 0 [ 42.889251][ T165] netdevsim netdevsim421 eni421np2: unset [0, 2] type 1 family 0 port 10002 - 0 [ 42.889750][ T165] netdevsim netdevsim421 eni421np2: unset [0, 3] type 1 family 0 port 10003 - 0 [ 42.890321][ T165] netdevsim netdevsim421 eni421np2: unset [1, 0] type 2 family 0 port 20000 - 0 [ 42.890820][ T165] netdevsim netdevsim421 eni421np2: unset [1, 1] type 2 family 0 port 20001 - 0 [ 42.891371][ T165] netdevsim netdevsim421 eni421np2: unset [1, 2] type 2 family 0 port 20002 - 0 [ 42.891877][ T165] netdevsim netdevsim421 eni421np2: unset [1, 3] type 2 family 0 port 20003 - 0 [ 43.451627][ T88] netdevsim netdevsim421 eni421np1: renamed from eth0 [ 43.451644][ T88] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 43.451647][ T88] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 88, name: (udev-worker) [ 43.451648][ T88] preempt_count: 1, expected: 0 [ 43.451649][ T88] RCU nest depth: 0, expected: 0 [ 43.451650][ T88] locks held by (udev-worker)/88: 6, last CPU#0: [ 43.451653][ T88] #0: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 43.451665][ T88] #1: ff1100000facadd8 (&dev_instance_lock_key#5){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 43.451670][ T88] #2: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 43.451676][ T88] #3: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 43.451679][ T88] #4: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 43.451683][ T88] #5: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 43.451687][ T88] irq event stamp: 4313402 [ 43.451688][ T88] hardirqs last enabled at (4313401): [] __down_trylock_console_sem+0x86/0xa0 [ 43.451690][ T88] hardirqs last disabled at (4313402): [] console_emit_next_record+0x3f8/0x4f0 [ 43.451692][ T88] softirqs last enabled at (4313396): [] netif_change_name+0x216/0x8c0 [ 43.451695][ T88] softirqs last disabled at (4313394): [] netif_change_name+0x1ad/0x8c0 [ 43.451697][ T88] Preemption disabled at: [ 43.451697][ T88] [] vprintk_emit+0x31b/0x3e0 [ 43.451704][ T88] CPU: 0 UID: 0 PID: 88 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 43.451707][ T88] Tainted: [W]=WARN [ 43.451708][ T88] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 43.451710][ T88] Call Trace: [ 43.451711][ T88] [ 43.451713][ T88] dump_stack_lvl+0x6f/0xa0 [ 43.451719][ T88] ? vprintk_emit+0x31b/0x3e0 [ 43.451721][ T88] __might_resched.cold+0x1fe/0x2c1 [ 43.451725][ T88] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 43.451729][ T88] ? __kmalloc_noprof+0xdb/0x760 [ 43.451734][ T88] __kmalloc_noprof+0x443/0x760 [ 43.451736][ T88] ? alloc_buf.isra.0+0x4b/0x260 [ 43.451742][ T88] ? do_raw_spin_unlock+0x59/0x250 [ 43.451745][ T88] alloc_buf.isra.0+0x4b/0x260 [ 43.451748][ T88] put_chars+0x1e1/0x2f0 [ 43.451751][ T88] ? __send_to_port+0x420/0x420 [ 43.451752][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 43.451757][ T88] ? rcu_read_lock_any_held+0x3c/0x90 [ 43.451759][ T88] ? validate_chain+0x38b/0xc20 [ 43.451764][ T88] hvc_console_print+0x292/0x780 [ 43.451767][ T88] ? __lock_acquire+0x518/0xc20 [ 43.451772][ T88] ? hvc_write+0x3a0/0x3a0 [ 43.451774][ T88] ? rcu_is_watching+0x16/0xd0 [ 43.451779][ T88] console_emit_next_record+0x252/0x4f0 [ 43.451783][ T88] ? devkmsg_read+0x4e0/0x4e0 [ 43.451788][ T88] ? rcu_is_watching+0x16/0xd0 [ 43.451790][ T88] ? lock_acquire+0x13c/0x160 [ 43.451794][ T88] console_flush_one_record+0x46f/0x710 [ 43.451798][ T88] ? console_emit_next_record+0x4f0/0x4f0 [ 43.451800][ T88] ? __lock_acquire+0x518/0xc20 [ 43.451805][ T88] console_unlock+0xee/0x1f0 [ 43.451808][ T88] ? console_flush_one_record+0x710/0x710 [ 43.451809][ T88] ? rcu_is_watching+0x16/0xd0 [ 43.451812][ T88] ? lock_acquire+0x60/0x160 [ 43.451815][ T88] ? __down_trylock_console_sem+0x5e/0xa0 [ 43.451817][ T88] ? vprintk_emit+0x320/0x3e0 [ 43.451820][ T88] vprintk_emit+0x37c/0x3e0 [ 43.451824][ T88] ? wake_up_klogd_work_func+0x90/0x90 [ 43.451826][ T88] ? __lock_acquire+0x518/0xc20 [ 43.451828][ T88] ? rwsem_optimistic_spin+0x3c7/0x480 [ 43.451834][ T88] dev_vprintk_emit+0x27f/0x2c0 [ 43.451840][ T88] ? device_rename.cold+0xa/0xa [ 43.451845][ T88] ? mark_usage+0x61/0x170 [ 43.451850][ T88] dev_printk_emit+0xb9/0xee [ 43.451852][ T88] ? dev_vprintk_emit+0x2c0/0x2c0 [ 43.451854][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 43.451857][ T88] ? validate_chain+0x38b/0xc20 [ 43.451859][ T88] ? __lock_acquire+0x518/0xc20 [ 43.451861][ T88] ? __lock_acquire+0x518/0xc20 [ 43.451862][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 43.451864][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 43.451868][ T88] __netdev_printk+0x160/0x1d0 [ 43.451874][ T88] netdev_info+0xe2/0x116 [ 43.451876][ T88] ? netdev_notice+0x120/0x120 [ 43.451879][ T88] ? find_held_lock+0x2b/0x80 [ 43.451882][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 43.451884][ T88] ? mark_held_locks+0x40/0x70 [ 43.451888][ T88] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 43.451890][ T88] netif_change_name.cold+0x4f/0x89 [ 43.451894][ T88] ? __lock_acquire+0x518/0xc20 [ 43.451895][ T88] ? rwsem_optimistic_spin+0x3c7/0x480 [ 43.451897][ T88] ? find_held_lock+0x2/0x80 [ 43.451901][ T88] ? netdev_adjacent_rename_links+0x470/0x470 [ 43.451903][ T88] ? find_held_lock+0x2b/0x80 [ 43.451907][ T88] ? __asan_memset+0x27/0x50 [ 43.451913][ T88] do_setlink.isra.0+0x1f7d/0x2a60 [ 43.451916][ T88] ? __lock_acquire+0x518/0xc20 [ 43.451919][ T88] ? rtnl_link_get_size+0x350/0x350 [ 43.451921][ T88] ? mark_usage+0x61/0x170 [ 43.451922][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 43.451924][ T88] ? rcu_read_lock_any_held+0x3c/0x90 [ 43.451926][ T88] ? validate_chain+0x38b/0xc20 [ 43.451930][ T88] ? __lock_acquire+0x518/0xc20 [ 43.451935][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 43.451937][ T88] ? rtnl_setlink+0x29d/0x920 [ 43.451940][ T88] ? rcu_is_watching+0x16/0xd0 [ 43.451942][ T88] ? lock_acquire+0x13c/0x160 [ 43.451943][ T88] ? rcu_is_watching+0x16/0xd0 [ 43.451945][ T88] ? rcu_is_watching+0x16/0xd0 [ 43.451947][ T88] ? trace_contention_end+0xb3/0x180 [ 43.451950][ T88] ? __mutex_lock+0x1db/0x1ea0 [ 43.451953][ T88] ? __mutex_lock+0x9a3/0x1ea0 [ 43.451954][ T88] ? __lock_acquire+0x518/0xc20 [ 43.451956][ T88] ? rtnl_setlink+0x29d/0x920 [ 43.451959][ T88] ? mark_usage+0x61/0x170 [ 43.451961][ T88] ? ww_mutex_lock+0x160/0x160 [ 43.451963][ T88] ? nla_get_range_signed+0x3d0/0x3d0 [ 43.451969][ T88] ? mark_usage+0x61/0x170 [ 43.451973][ T88] ? cap_capable+0x1d7/0x3d0 [ 43.451981][ T88] rtnl_setlink+0x527/0x920 [ 43.451984][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 43.451986][ T88] ? __lock_acquire+0x518/0xc20 [ 43.452014][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 43.452016][ T88] ? find_held_lock+0x2b/0x80 [ 43.452019][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 43.452021][ T88] ? mark_usage+0x61/0x170 [ 43.452025][ T88] ? __lock_acquire+0x518/0xc20 [ 43.452029][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 43.452031][ T88] ? find_held_lock+0x2b/0x80 [ 43.452033][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 43.452035][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 43.452039][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 43.452041][ T88] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 43.452045][ T88] ? rtnl_link_fill+0x900/0x900 [ 43.452047][ T88] ? __lock_acquire+0x518/0xc20 [ 43.452051][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 43.452053][ T88] ? find_held_lock+0x2b/0x80 [ 43.452057][ T88] netlink_rcv_skb+0x14e/0x3a0 [ 43.452060][ T88] ? rtnl_link_fill+0x900/0x900 [ 43.452064][ T88] ? netlink_ack+0xcd0/0xcd0 [ 43.452070][ T88] ? netlink_deliver_tap+0xc5/0x330 [ 43.452072][ T88] ? netlink_deliver_tap+0x13c/0x330 [ 43.452077][ T88] netlink_unicast+0x486/0x750 [ 43.452082][ T88] ? netlink_attachskb+0x810/0x810 [ 43.452084][ T88] ? __lock_acquire+0x518/0xc20 [ 43.452086][ T88] ? do_raw_spin_trylock+0x161/0x180 [ 43.452090][ T88] netlink_sendmsg+0x735/0xc60 [ 43.452094][ T88] ? netlink_unicast+0x750/0x750 [ 43.452098][ T88] ? __might_fault+0x97/0x140 [ 43.452102][ T88] ? __might_fault+0x97/0x140 [ 43.452105][ T88] __sys_sendto+0x2aa/0x400 [ 43.452109][ T88] ? __ia32_sys_getpeername+0xd0/0xd0 [ 43.452120][ T88] ? exc_page_fault+0x87/0x100 [ 43.452126][ T88] __x64_sys_sendto+0xe4/0x1f0 [ 43.452128][ T88] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 43.452132][ T88] ? lockdep_hardirqs_on+0x91/0x130 [ 43.452134][ T88] ? do_syscall_64+0xa6/0x530 [ 43.452135][ T88] do_syscall_64+0xff/0x530 [ 43.452137][ T88] ? exc_page_fault+0xee/0x100 [ 43.452140][ T88] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 43.452142][ T88] RIP: 0033:0x7fdc8254f54e [ 43.452146][ T88] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 43.452148][ T88] RSP: 002b:00007ffcb8cc5e00 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 43.452151][ T88] RAX: ffffffffffffffda RBX: 0000561f7271ef40 RCX: 00007fdc8254f54e [ 43.452152][ T88] RDX: 0000000000000030 RSI: 0000561f728b09f0 RDI: 0000000000000020 [ 43.452153][ T88] RBP: 00007ffcb8cc5e10 R08: 00007ffcb8cc5e60 R09: 0000000000000080 [ 43.452154][ T88] R10: 0000000000000000 R11: 0000000000000202 R12: 0000561f728b8760 [ 43.452154][ T88] R13: 00007ffcb8cc5f44 R14: 0000000000000000 R15: 0000000000000000 [ 43.452162][ T88] [ 43.887230][ T69] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 43.954156][ T69] netdevsim netdevsim421 eni421np1: unset [0, 0] type 1 family 0 port 10000 - 0 [ 43.994145][ T69] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 44.064060][ T69] netdevsim netdevsim421 eni421np1: unset [0, 0] type 1 family 0 port 10000 - 0 [ 44.143590][ T69] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 44.321129][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [0, 0] type 1 family 0 port 10000 - 0 [ 44.379911][ T88] netdevsim netdevsim421 eni421np2: renamed from eth0 [ 44.831153][ T69] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 44.831172][ T69] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 44.831175][ T69] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 69, name: kworker/u16:1 [ 44.831176][ T69] preempt_count: 1, expected: 0 [ 44.831177][ T69] RCU nest depth: 0, expected: 0 [ 44.831178][ T69] locks held by kworker/u16:1/69: 8, last CPU#0: [ 44.831181][ T69] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 44.831193][ T69] #1: ffa00000004a7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 44.831197][ T69] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 44.831203][ T69] #3: ff1100000d514b10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 44.831206][ T69] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 44.831212][ T69] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 44.831215][ T69] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 44.831219][ T69] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 44.831222][ T69] irq event stamp: 47576 [ 44.831223][ T69] hardirqs last enabled at (47575): [] __down_trylock_console_sem+0x86/0xa0 [ 44.831226][ T69] hardirqs last disabled at (47576): [] console_emit_next_record+0x3f8/0x4f0 [ 44.831227][ T69] softirqs last enabled at (47564): [] addrconf_dad_begin+0x37f/0x540 [ 44.831231][ T69] softirqs last disabled at (47556): [] addrconf_dad_begin+0x154/0x540 [ 44.831233][ T69] Preemption disabled at: [ 44.831234][ T69] [] vprintk_emit+0x31b/0x3e0 [ 44.831240][ T69] CPU: 0 UID: 0 PID: 69 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 44.831243][ T69] Tainted: [W]=WARN [ 44.831244][ T69] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.831247][ T69] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 44.831250][ T69] Call Trace: [ 44.831252][ T69] [ 44.831254][ T69] dump_stack_lvl+0x6f/0xa0 [ 44.831259][ T69] ? vprintk_emit+0x31b/0x3e0 [ 44.831261][ T69] __might_resched.cold+0x1fe/0x2c1 [ 44.831266][ T69] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 44.831270][ T69] ? __kmalloc_noprof+0xdb/0x760 [ 44.831275][ T69] __kmalloc_noprof+0x443/0x760 [ 44.831277][ T69] ? alloc_buf.isra.0+0x4b/0x260 [ 44.831283][ T69] ? do_raw_spin_unlock+0x59/0x250 [ 44.831286][ T69] alloc_buf.isra.0+0x4b/0x260 [ 44.831289][ T69] put_chars+0x1e1/0x2f0 [ 44.831292][ T69] ? __send_to_port+0x420/0x420 [ 44.831295][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 44.831299][ T69] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.831301][ T69] ? validate_chain+0x38b/0xc20 [ 44.831305][ T69] hvc_console_print+0x292/0x780 [ 44.831308][ T69] ? mark_usage+0x61/0x170 [ 44.831310][ T69] ? __lock_acquire+0x518/0xc20 [ 44.831311][ T69] ? __lock_acquire+0x518/0xc20 [ 44.831315][ T69] ? hvc_write+0x3a0/0x3a0 [ 44.831317][ T69] ? console_emit_next_record+0x202/0x4f0 [ 44.831320][ T69] ? rcu_is_watching+0x16/0xd0 [ 44.831323][ T69] ? lock_acquire+0x13c/0x160 [ 44.831326][ T69] console_emit_next_record+0x252/0x4f0 [ 44.831330][ T69] ? devkmsg_read+0x4e0/0x4e0 [ 44.831335][ T69] ? rcu_is_watching+0x16/0xd0 [ 44.831337][ T69] ? lock_acquire+0x13c/0x160 [ 44.831341][ T69] console_flush_one_record+0x46f/0x710 [ 44.831345][ T69] ? console_emit_next_record+0x4f0/0x4f0 [ 44.831347][ T69] ? __lock_acquire+0x518/0xc20 [ 44.831352][ T69] console_unlock+0xee/0x1f0 [ 44.831355][ T69] ? console_flush_one_record+0x710/0x710 [ 44.831356][ T69] ? rcu_is_watching+0x16/0xd0 [ 44.831358][ T69] ? lock_acquire+0x60/0x160 [ 44.831362][ T69] ? __down_trylock_console_sem+0x5e/0xa0 [ 44.831363][ T69] ? vprintk_emit+0x320/0x3e0 [ 44.831367][ T69] vprintk_emit+0x37c/0x3e0 [ 44.831370][ T69] ? wake_up_klogd_work_func+0x90/0x90 [ 44.831373][ T69] ? __lock_release.isra.0+0x69/0x1a0 [ 44.831378][ T69] dev_vprintk_emit+0x27f/0x2c0 [ 44.831383][ T69] ? device_rename.cold+0xa/0xa [ 44.831385][ T69] ? debug_object_activate+0x345/0x4a0 [ 44.831395][ T69] dev_printk_emit+0xb9/0xee [ 44.831398][ T69] ? dev_vprintk_emit+0x2c0/0x2c0 [ 44.831404][ T69] ? should_we_balance+0x117/0x8f0 [ 44.831408][ T69] __netdev_printk+0x160/0x1d0 [ 44.831413][ T69] netdev_info+0xe2/0x116 [ 44.831416][ T69] ? netdev_notice+0x120/0x120 [ 44.831420][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 44.831422][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 44.831425][ T69] ? rcu_is_watching+0x16/0xd0 [ 44.831429][ T69] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 44.831436][ T69] ? __mutex_lock+0x9a3/0x1ea0 [ 44.831439][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 44.831441][ T69] ? __asan_memset+0x27/0x50 [ 44.831446][ T69] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 44.831450][ T69] ? rcu_tasks_need_gpcb+0x837/0x880 [ 44.831456][ T69] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 44.831462][ T69] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 44.831465][ T69] ? rcu_is_watching+0x16/0xd0 [ 44.831467][ T69] ? lock_acquire+0x13c/0x160 [ 44.831468][ T69] ? rcu_is_watching+0x16/0xd0 [ 44.831472][ T69] ? process_one_work+0xe16/0x1560 [ 44.831473][ T69] ? process_one_work+0xdfc/0x1560 [ 44.831475][ T69] process_one_work+0xe3e/0x1560 [ 44.831481][ T69] ? __queue_delayed_work+0x470/0x470 [ 44.831484][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 44.831492][ T69] worker_thread+0x4f1/0xd60 [ 44.831499][ T69] ? rescuer_thread+0x1340/0x1340 [ 44.831501][ T69] kthread+0x367/0x460 [ 44.831503][ T69] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 44.831507][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.831510][ T69] ret_from_fork+0x474/0x6b0 [ 44.831515][ T69] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 44.831518][ T69] ? __switch_to+0x5a3/0xe00 [ 44.831521][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 44.831524][ T69] ret_from_fork_asm+0x11/0x20 [ 44.831532][ T69] [ 44.930149][ T12] netdevsim netdevsim421 eni421np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 44.973151][ T12] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 45.053186][ T12] netdevsim netdevsim421 eni421np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 45.143161][ T12] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 45.343880][ T165] netdevsim netdevsim421 eni421np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 45.623697][ T88] netdevsim netdevsim421 eni421np1: renamed from eth0 [ 45.863224][ T12] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 10000 - -110 [ 45.863243][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 45.863245][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 45.863247][ T12] preempt_count: 1, expected: 0 [ 45.863248][ T12] RCU nest depth: 0, expected: 0 [ 45.863249][ T12] locks held by kworker/u16:0/12: 8, last CPU#0: [ 45.863251][ T12] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 45.863263][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 45.863267][ T12] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 45.863273][ T12] #3: ff1100000ba4b310 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 45.863277][ T12] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 45.863282][ T12] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 45.863286][ T12] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 45.863289][ T12] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 45.863293][ T12] irq event stamp: 44490 [ 45.863294][ T12] hardirqs last enabled at (44489): [] __down_trylock_console_sem+0x86/0xa0 [ 45.863297][ T12] hardirqs last disabled at (44490): [] console_emit_next_record+0x3f8/0x4f0 [ 45.863298][ T12] softirqs last enabled at (44478): [] addrconf_dad_begin+0x37f/0x540 [ 45.863302][ T12] softirqs last disabled at (44470): [] addrconf_dad_begin+0x154/0x540 [ 45.863305][ T12] Preemption disabled at: [ 45.863305][ T12] [] vprintk_emit+0x31b/0x3e0 [ 45.863311][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 45.863315][ T12] Tainted: [W]=WARN [ 45.863315][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 45.863318][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 45.863321][ T12] Call Trace: [ 45.863323][ T12] [ 45.863324][ T12] dump_stack_lvl+0x6f/0xa0 [ 45.863330][ T12] ? vprintk_emit+0x31b/0x3e0 [ 45.863332][ T12] __might_resched.cold+0x1fe/0x2c1 [ 45.863337][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 45.863340][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 45.863345][ T12] __kmalloc_noprof+0x443/0x760 [ 45.863347][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 45.863353][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 45.863355][ T12] alloc_buf.isra.0+0x4b/0x260 [ 45.863359][ T12] put_chars+0x1e1/0x2f0 [ 45.863362][ T12] ? __send_to_port+0x420/0x420 [ 45.863365][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 45.863369][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 45.863371][ T12] ? validate_chain+0x38b/0xc20 [ 45.863375][ T12] hvc_console_print+0x292/0x780 [ 45.863378][ T12] ? mark_usage+0x61/0x170 [ 45.863380][ T12] ? __lock_acquire+0x518/0xc20 [ 45.863381][ T12] ? __lock_acquire+0x518/0xc20 [ 45.863385][ T12] ? hvc_write+0x3a0/0x3a0 [ 45.863387][ T12] ? console_emit_next_record+0x202/0x4f0 [ 45.863390][ T12] ? rcu_is_watching+0x16/0xd0 [ 45.863392][ T12] ? lock_acquire+0x13c/0x160 [ 45.863396][ T12] console_emit_next_record+0x252/0x4f0 [ 45.863400][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 45.863405][ T12] ? rcu_is_watching+0x16/0xd0 [ 45.863407][ T12] ? lock_acquire+0x13c/0x160 [ 45.863411][ T12] console_flush_one_record+0x46f/0x710 [ 45.863415][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 45.863417][ T12] ? __lock_acquire+0x518/0xc20 [ 45.863422][ T12] console_unlock+0xee/0x1f0 [ 45.863425][ T12] ? console_flush_one_record+0x710/0x710 [ 45.863427][ T12] ? rcu_is_watching+0x16/0xd0 [ 45.863429][ T12] ? lock_acquire+0x60/0x160 [ 45.863432][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 45.863434][ T12] ? vprintk_emit+0x320/0x3e0 [ 45.863437][ T12] vprintk_emit+0x37c/0x3e0 [ 45.863441][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 45.863444][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 45.863449][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 45.863454][ T12] ? device_rename.cold+0xa/0xa [ 45.863456][ T12] ? debug_object_activate+0x345/0x4a0 [ 45.863463][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 45.863467][ T12] dev_printk_emit+0xb9/0xee [ 45.863470][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 45.863472][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 45.863481][ T12] __netdev_printk+0x160/0x1d0 [ 45.863487][ T12] netdev_info+0xe2/0x116 [ 45.863489][ T12] ? netdev_notice+0x120/0x120 [ 45.863493][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 45.863495][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 45.863499][ T12] ? rcu_is_watching+0x16/0xd0 [ 45.863503][ T12] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 45.863510][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 45.863513][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 45.863515][ T12] ? __asan_memset+0x27/0x50 [ 45.863519][ T12] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 45.863523][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 45.863529][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 45.863536][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 45.863538][ T12] ? rcu_is_watching+0x16/0xd0 [ 45.863540][ T12] ? lock_acquire+0x13c/0x160 [ 45.863542][ T12] ? rcu_is_watching+0x16/0xd0 [ 45.863545][ T12] ? process_one_work+0xe16/0x1560 [ 45.863547][ T12] ? process_one_work+0xdfc/0x1560 [ 45.863548][ T12] process_one_work+0xe3e/0x1560 [ 45.863555][ T12] ? __queue_delayed_work+0x470/0x470 [ 45.863558][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 45.863565][ T12] worker_thread+0x4f1/0xd60 [ 45.863573][ T12] ? rescuer_thread+0x1340/0x1340 [ 45.863574][ T12] kthread+0x367/0x460 [ 45.863577][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 45.863581][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.863583][ T12] ret_from_fork+0x474/0x6b0 [ 45.863588][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 45.863592][ T12] ? __switch_to+0x5a3/0xe00 [ 45.863595][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.863597][ T12] ret_from_fork_asm+0x11/0x20 [ 45.863606][ T12] [ 45.893717][ T12] netdevsim netdevsim421 eni421np1: UDP tunnel port sync failed port 10000 type vxlan: -110 [ 45.958227][ T12] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 46.095152][ T69] netdevsim netdevsim421 eni421np1: unset [0, 0] type 1 family 0 port 10000 - 0 [ 46.193153][ T69] netdevsim netdevsim421 eni421np1: set [1, 0] type 2 family 0 port 20000 - 0 [ 46.266146][ T69] netdevsim netdevsim421 eni421np1: unset [1, 0] type 2 family 0 port 20000 - -2 [ 46.266588][ T69] netdevsim netdevsim421 eni421np1: UDP tunnel port sync failed port 20000 type geneve: -2 [ 46.390151][ T69] netdevsim netdevsim421 eni421np1: unset [1, 0] type 2 family 0 port 20000 - 0 [ 46.390565][ T69] netdevsim netdevsim421 eni421np1: set [1, 1] type 2 family 0 port 20001 - 0 [ 46.428741][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [1, 1] type 2 family 0 port 20001 - 0 [ 46.540735][ T88] netdevsim netdevsim421 eni421np2: renamed from eth0 [ 46.752009][ T69] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 10000 - -110 [ 46.752565][ T69] netdevsim netdevsim421 eni421np2: UDP tunnel port sync failed port 10000 type vxlan: -110 [ 46.855196][ T69] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 47.027151][ T69] netdevsim netdevsim421 eni421np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 47.027170][ T69] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 47.027173][ T69] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 69, name: kworker/u16:1 [ 47.027174][ T69] preempt_count: 1, expected: 0 [ 47.027175][ T69] RCU nest depth: 0, expected: 0 [ 47.027176][ T69] locks held by kworker/u16:1/69: 8, last CPU#1: [ 47.027178][ T69] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 47.027190][ T69] #1: ffa00000004a7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 47.027193][ T69] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 47.027199][ T69] #3: ff1100000d760f10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 47.027203][ T69] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 47.027208][ T69] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 47.027212][ T69] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 47.027215][ T69] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 47.027219][ T69] irq event stamp: 48986 [ 47.027220][ T69] hardirqs last enabled at (48985): [] __down_trylock_console_sem+0x86/0xa0 [ 47.027222][ T69] hardirqs last disabled at (48986): [] console_emit_next_record+0x3f8/0x4f0 [ 47.027223][ T69] softirqs last enabled at (48926): [] __dev_queue_xmit+0x92b/0x1a10 [ 47.027227][ T69] softirqs last disabled at (48884): [] __dev_queue_xmit+0x23b/0x1a10 [ 47.027229][ T69] Preemption disabled at: [ 47.027230][ T69] [] vprintk_emit+0x31b/0x3e0 [ 47.027235][ T69] CPU: 1 UID: 0 PID: 69 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 47.027238][ T69] Tainted: [W]=WARN [ 47.027239][ T69] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 47.027241][ T69] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 47.027245][ T69] Call Trace: [ 47.027247][ T69] [ 47.027249][ T69] dump_stack_lvl+0x6f/0xa0 [ 47.027254][ T69] ? vprintk_emit+0x31b/0x3e0 [ 47.027256][ T69] __might_resched.cold+0x1fe/0x2c1 [ 47.027261][ T69] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 47.027265][ T69] ? __kmalloc_noprof+0xdb/0x760 [ 47.027269][ T69] __kmalloc_noprof+0x443/0x760 [ 47.027271][ T69] ? alloc_buf.isra.0+0x4b/0x260 [ 47.027277][ T69] ? do_raw_spin_unlock+0x59/0x250 [ 47.027280][ T69] alloc_buf.isra.0+0x4b/0x260 [ 47.027283][ T69] put_chars+0x1e1/0x2f0 [ 47.027286][ T69] ? __send_to_port+0x420/0x420 [ 47.027289][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 47.027293][ T69] ? rcu_read_lock_any_held+0x3c/0x90 [ 47.027295][ T69] ? validate_chain+0x38b/0xc20 [ 47.027299][ T69] hvc_console_print+0x292/0x780 [ 47.027301][ T69] ? mark_usage+0x61/0x170 [ 47.027303][ T69] ? __lock_acquire+0x518/0xc20 [ 47.027305][ T69] ? __lock_acquire+0x518/0xc20 [ 47.027308][ T69] ? hvc_write+0x3a0/0x3a0 [ 47.027310][ T69] ? console_emit_next_record+0x202/0x4f0 [ 47.027313][ T69] ? rcu_is_watching+0x16/0xd0 [ 47.027316][ T69] ? lock_acquire+0x13c/0x160 [ 47.027319][ T69] console_emit_next_record+0x252/0x4f0 [ 47.027323][ T69] ? devkmsg_read+0x4e0/0x4e0 [ 47.027327][ T69] ? rcu_is_watching+0x16/0xd0 [ 47.027329][ T69] ? lock_acquire+0x13c/0x160 [ 47.027333][ T69] console_flush_one_record+0x46f/0x710 [ 47.027337][ T69] ? console_emit_next_record+0x4f0/0x4f0 [ 47.027339][ T69] ? __lock_acquire+0x518/0xc20 [ 47.027344][ T69] console_unlock+0xee/0x1f0 [ 47.027346][ T69] ? console_flush_one_record+0x710/0x710 [ 47.027348][ T69] ? rcu_is_watching+0x16/0xd0 [ 47.027350][ T69] ? lock_acquire+0x60/0x160 [ 47.027353][ T69] ? __down_trylock_console_sem+0x5e/0xa0 [ 47.027355][ T69] ? vprintk_emit+0x320/0x3e0 [ 47.027358][ T69] vprintk_emit+0x37c/0x3e0 [ 47.027361][ T69] ? wake_up_klogd_work_func+0x90/0x90 [ 47.027364][ T69] ? __lock_release.isra.0+0x69/0x1a0 [ 47.027369][ T69] dev_vprintk_emit+0x27f/0x2c0 [ 47.027374][ T69] ? device_rename.cold+0xa/0xa [ 47.027382][ T69] dev_printk_emit+0xb9/0xee [ 47.027385][ T69] ? dev_vprintk_emit+0x2c0/0x2c0 [ 47.027389][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 47.027391][ T69] ? rcu_read_lock_any_held+0x3c/0x90 [ 47.027393][ T69] ? validate_chain+0x38b/0xc20 [ 47.027396][ T69] __netdev_printk+0x160/0x1d0 [ 47.027402][ T69] netdev_info+0xe2/0x116 [ 47.027404][ T69] ? netdev_notice+0x120/0x120 [ 47.027408][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 47.027409][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 47.027413][ T69] ? rcu_is_watching+0x16/0xd0 [ 47.027417][ T69] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 47.027423][ T69] ? __mutex_lock+0x9a3/0x1ea0 [ 47.027427][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 47.027429][ T69] ? __asan_memset+0x27/0x50 [ 47.027433][ T69] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 47.027437][ T69] ? rcu_tasks_need_gpcb+0x837/0x880 [ 47.027443][ T69] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 47.027449][ T69] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 47.027452][ T69] ? rcu_is_watching+0x16/0xd0 [ 47.027453][ T69] ? lock_acquire+0x13c/0x160 [ 47.027455][ T69] ? rcu_is_watching+0x16/0xd0 [ 47.027458][ T69] ? process_one_work+0xe16/0x1560 [ 47.027460][ T69] ? process_one_work+0xdfc/0x1560 [ 47.027461][ T69] process_one_work+0xe3e/0x1560 [ 47.027467][ T69] ? __queue_delayed_work+0x470/0x470 [ 47.027470][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 47.027478][ T69] worker_thread+0x4f1/0xd60 [ 47.027484][ T69] ? rescuer_thread+0x1340/0x1340 [ 47.027486][ T69] kthread+0x367/0x460 [ 47.027488][ T69] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 47.027492][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 47.027494][ T69] ret_from_fork+0x474/0x6b0 [ 47.027499][ T69] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 47.027503][ T69] ? __switch_to+0x5a3/0xe00 [ 47.027505][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 47.027508][ T69] ret_from_fork_asm+0x11/0x20 [ 47.027516][ T69] [ 47.142842][ T69] netdevsim netdevsim421 eni421np2: set [1, 0] type 2 family 0 port 20000 - 0 [ 47.217629][ T12] netdevsim netdevsim421 eni421np2: unset [1, 0] type 2 family 0 port 20000 - -2 [ 47.218052][ T12] netdevsim netdevsim421 eni421np2: UDP tunnel port sync failed port 20000 type geneve: -2 [ 47.352151][ T12] netdevsim netdevsim421 eni421np2: unset [1, 0] type 2 family 0 port 20000 - 0 [ 47.352563][ T12] netdevsim netdevsim421 eni421np2: set [1, 1] type 2 family 0 port 20001 - 0 [ 47.405906][ T165] netdevsim netdevsim421 eni421np2: unset [1, 1] type 2 family 0 port 20001 - 0 [ 47.748329][ T88] netdevsim netdevsim421 eni421np1: renamed from eth0 [ 47.975476][ T12] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 48.135258][ T12] netdevsim netdevsim421 eni421np1: unset [0, 0] type 1 family 0 port 10000 - 0 [ 48.135277][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 48.135279][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 48.135281][ T12] preempt_count: 1, expected: 0 [ 48.135282][ T12] RCU nest depth: 0, expected: 0 [ 48.135283][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 48.135285][ T12] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 48.135297][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 48.135301][ T12] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 48.135307][ T12] #3: ff1100000d6a5d10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 48.135310][ T12] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 48.135316][ T12] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 48.135319][ T12] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 48.135323][ T12] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 48.135326][ T12] irq event stamp: 50012 [ 48.135327][ T12] hardirqs last enabled at (50011): [] __down_trylock_console_sem+0x86/0xa0 [ 48.135329][ T12] hardirqs last disabled at (50012): [] console_emit_next_record+0x3f8/0x4f0 [ 48.135331][ T12] softirqs last enabled at (49992): [] addrconf_dad_begin+0x37f/0x540 [ 48.135335][ T12] softirqs last disabled at (49984): [] addrconf_dad_begin+0x154/0x540 [ 48.135337][ T12] Preemption disabled at: [ 48.135338][ T12] [] vprintk_emit+0x31b/0x3e0 [ 48.135343][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 48.135346][ T12] Tainted: [W]=WARN [ 48.135347][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 48.135349][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 48.135353][ T12] Call Trace: [ 48.135355][ T12] [ 48.135357][ T12] dump_stack_lvl+0x6f/0xa0 [ 48.135362][ T12] ? vprintk_emit+0x31b/0x3e0 [ 48.135364][ T12] __might_resched.cold+0x1fe/0x2c1 [ 48.135369][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 48.135372][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 48.135377][ T12] __kmalloc_noprof+0x443/0x760 [ 48.135379][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 48.135385][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 48.135387][ T12] alloc_buf.isra.0+0x4b/0x260 [ 48.135391][ T12] put_chars+0x1e1/0x2f0 [ 48.135393][ T12] ? __send_to_port+0x420/0x420 [ 48.135396][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 48.135400][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 48.135403][ T12] ? validate_chain+0x38b/0xc20 [ 48.135406][ T12] hvc_console_print+0x292/0x780 [ 48.135409][ T12] ? mark_usage+0x61/0x170 [ 48.135411][ T12] ? __lock_acquire+0x518/0xc20 [ 48.135412][ T12] ? __lock_acquire+0x518/0xc20 [ 48.135416][ T12] ? hvc_write+0x3a0/0x3a0 [ 48.135418][ T12] ? console_emit_next_record+0x202/0x4f0 [ 48.135421][ T12] ? rcu_is_watching+0x16/0xd0 [ 48.135423][ T12] ? lock_acquire+0x13c/0x160 [ 48.135427][ T12] console_emit_next_record+0x252/0x4f0 [ 48.135430][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 48.135435][ T12] ? rcu_is_watching+0x16/0xd0 [ 48.135437][ T12] ? lock_acquire+0x13c/0x160 [ 48.135440][ T12] console_flush_one_record+0x46f/0x710 [ 48.135444][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 48.135446][ T12] ? __lock_acquire+0x518/0xc20 [ 48.135451][ T12] console_unlock+0xee/0x1f0 [ 48.135454][ T12] ? console_flush_one_record+0x710/0x710 [ 48.135455][ T12] ? rcu_is_watching+0x16/0xd0 [ 48.135457][ T12] ? lock_acquire+0x60/0x160 [ 48.135461][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 48.135462][ T12] ? vprintk_emit+0x320/0x3e0 [ 48.135465][ T12] vprintk_emit+0x37c/0x3e0 [ 48.135469][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 48.135472][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 48.135476][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 48.135481][ T12] ? device_rename.cold+0xa/0xa [ 48.135483][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 48.135491][ T12] dev_printk_emit+0xb9/0xee [ 48.135494][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 48.135498][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 48.135500][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 48.135502][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 48.135503][ T12] ? validate_chain+0x38b/0xc20 [ 48.135506][ T12] __netdev_printk+0x160/0x1d0 [ 48.135512][ T12] netdev_info+0xe2/0x116 [ 48.135514][ T12] ? netdev_notice+0x120/0x120 [ 48.135518][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 48.135519][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 48.135523][ T12] ? rcu_is_watching+0x16/0xd0 [ 48.135527][ T12] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 48.135533][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 48.135537][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 48.135538][ T12] ? __asan_memset+0x27/0x50 [ 48.135542][ T12] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 48.135546][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 48.135552][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 48.135558][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 48.135560][ T12] ? rcu_is_watching+0x16/0xd0 [ 48.135562][ T12] ? lock_acquire+0x13c/0x160 [ 48.135564][ T12] ? rcu_is_watching+0x16/0xd0 [ 48.135567][ T12] ? process_one_work+0xe16/0x1560 [ 48.135568][ T12] ? process_one_work+0xdfc/0x1560 [ 48.135570][ T12] process_one_work+0xe3e/0x1560 [ 48.135576][ T12] ? __queue_delayed_work+0x470/0x470 [ 48.135578][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 48.135586][ T12] worker_thread+0x4f1/0xd60 [ 48.135593][ T12] ? rescuer_thread+0x1340/0x1340 [ 48.135595][ T12] kthread+0x367/0x460 [ 48.135597][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 48.135600][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 48.135603][ T12] ret_from_fork+0x474/0x6b0 [ 48.135607][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 48.135611][ T12] ? __switch_to+0x5a3/0xe00 [ 48.135614][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 48.135616][ T12] ret_from_fork_asm+0x11/0x20 [ 48.135625][ T12] [ 48.192150][ T12] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 48.349158][ T12] netdevsim netdevsim421 eni421np1: unset [0, 0] type 1 family 0 port 10000 - 0 [ 48.498149][ T12] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 48.555270][ T165] netdevsim netdevsim421 eni421np1 (unregistering): unset [0, 0] type 1 family 0 port 10000 - 0 [ 48.634823][ T88] netdevsim netdevsim421 eni421np2: renamed from eth0 [ 48.867161][ T12] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 49.039154][ T12] netdevsim netdevsim421 eni421np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 49.062210][ T12] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 49.191145][ T12] netdevsim netdevsim421 eni421np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 49.191165][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 49.191167][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 49.191169][ T12] preempt_count: 1, expected: 0 [ 49.191170][ T12] RCU nest depth: 0, expected: 0 [ 49.191171][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 49.191173][ T12] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 49.191185][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 49.191189][ T12] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 49.191195][ T12] #3: ff1100000dafef10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 49.191199][ T12] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 49.191205][ T12] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 49.191208][ T12] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 49.191212][ T12] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 49.191216][ T12] irq event stamp: 52502 [ 49.191217][ T12] hardirqs last enabled at (52501): [] __down_trylock_console_sem+0x86/0xa0 [ 49.191220][ T12] hardirqs last disabled at (52502): [] console_emit_next_record+0x3f8/0x4f0 [ 49.191221][ T12] softirqs last enabled at (52422): [] addrconf_dad_begin+0x37f/0x540 [ 49.191225][ T12] softirqs last disabled at (52414): [] addrconf_dad_begin+0x154/0x540 [ 49.191228][ T12] Preemption disabled at: [ 49.191228][ T12] [] vprintk_emit+0x31b/0x3e0 [ 49.191234][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 49.191238][ T12] Tainted: [W]=WARN [ 49.191239][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 49.191241][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 49.191244][ T12] Call Trace: [ 49.191246][ T12] [ 49.191249][ T12] dump_stack_lvl+0x6f/0xa0 [ 49.191254][ T12] ? vprintk_emit+0x31b/0x3e0 [ 49.191256][ T12] __might_resched.cold+0x1fe/0x2c1 [ 49.191261][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 49.191265][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 49.191270][ T12] __kmalloc_noprof+0x443/0x760 [ 49.191272][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 49.191278][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 49.191281][ T12] alloc_buf.isra.0+0x4b/0x260 [ 49.191284][ T12] put_chars+0x1e1/0x2f0 [ 49.191287][ T12] ? __send_to_port+0x420/0x420 [ 49.191291][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 49.191295][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 49.191297][ T12] ? validate_chain+0x38b/0xc20 [ 49.191302][ T12] hvc_console_print+0x292/0x780 [ 49.191305][ T12] ? mark_usage+0x61/0x170 [ 49.191306][ T12] ? __lock_acquire+0x518/0xc20 [ 49.191308][ T12] ? __lock_acquire+0x518/0xc20 [ 49.191312][ T12] ? hvc_write+0x3a0/0x3a0 [ 49.191314][ T12] ? console_emit_next_record+0x202/0x4f0 [ 49.191318][ T12] ? rcu_is_watching+0x16/0xd0 [ 49.191320][ T12] ? lock_acquire+0x13c/0x160 [ 49.191324][ T12] console_emit_next_record+0x252/0x4f0 [ 49.191328][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 49.191333][ T12] ? rcu_is_watching+0x16/0xd0 [ 49.191336][ T12] ? lock_acquire+0x13c/0x160 [ 49.191340][ T12] console_flush_one_record+0x46f/0x710 [ 49.191344][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 49.191346][ T12] ? __lock_acquire+0x518/0xc20 [ 49.191352][ T12] console_unlock+0xee/0x1f0 [ 49.191354][ T12] ? console_flush_one_record+0x710/0x710 [ 49.191356][ T12] ? rcu_is_watching+0x16/0xd0 [ 49.191358][ T12] ? lock_acquire+0x60/0x160 [ 49.191362][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 49.191363][ T12] ? vprintk_emit+0x320/0x3e0 [ 49.191367][ T12] vprintk_emit+0x37c/0x3e0 [ 49.191370][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 49.191374][ T12] ? __lock_acquire+0x518/0xc20 [ 49.191378][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 49.191384][ T12] ? device_rename.cold+0xa/0xa [ 49.191386][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 49.191394][ T12] dev_printk_emit+0xb9/0xee [ 49.191396][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 49.191401][ T12] ? find_held_lock+0x2b/0x80 [ 49.191405][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 49.191409][ T12] __netdev_printk+0x160/0x1d0 [ 49.191415][ T12] netdev_info+0xe2/0x116 [ 49.191417][ T12] ? netdev_notice+0x120/0x120 [ 49.191421][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 49.191423][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 49.191427][ T12] ? rcu_is_watching+0x16/0xd0 [ 49.191431][ T12] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 49.191438][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 49.191442][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 49.191443][ T12] ? __asan_memset+0x27/0x50 [ 49.191448][ T12] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 49.191452][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 49.191458][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 49.191465][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 49.191468][ T12] ? rcu_is_watching+0x16/0xd0 [ 49.191470][ T12] ? lock_acquire+0x13c/0x160 [ 49.191472][ T12] ? rcu_is_watching+0x16/0xd0 [ 49.191475][ T12] ? process_one_work+0xe16/0x1560 [ 49.191477][ T12] ? process_one_work+0xdfc/0x1560 [ 49.191478][ T12] process_one_work+0xe3e/0x1560 [ 49.191484][ T12] ? __queue_delayed_work+0x470/0x470 [ 49.191487][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 49.191496][ T12] worker_thread+0x4f1/0xd60 [ 49.191504][ T12] ? rescuer_thread+0x1340/0x1340 [ 49.191506][ T12] kthread+0x367/0x460 [ 49.191508][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 49.191512][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 49.191514][ T12] ret_from_fork+0x474/0x6b0 [ 49.191519][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 49.191523][ T12] ? __switch_to+0x5a3/0xe00 [ 49.191526][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 49.191529][ T12] ret_from_fork_asm+0x11/0x20 [ 49.191538][ T12] [ 49.359150][ T12] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 49.385746][ T165] netdevsim netdevsim421 eni421np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 49.728070][ T88] netdevsim netdevsim421 eni421np1: renamed from eth0 [ 50.074168][ T12] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 50.231389][ T165] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 50.231518][ T165] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 50.231521][ T165] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 165, name: udp_tunnel_nic. [ 50.231522][ T165] preempt_count: 1, expected: 0 [ 50.231523][ T165] RCU nest depth: 0, expected: 0 [ 50.231524][ T165] locks held by udp_tunnel_nic./165: 6, last CPU#3: [ 50.231526][ T165] #0: ff11000002034430 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 50.231539][ T165] #1: ff1100000a93dd10 (&utn->lock){+.+.}-{4:4}, at: __udp_tunnel_nic_reset_ntf+0xa0/0x700 [udp_tunnel] [ 50.231545][ T165] #2: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 50.231551][ T165] #3: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 50.231555][ T165] #4: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 50.231558][ T165] #5: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 50.231561][ T165] irq event stamp: 5072588 [ 50.231562][ T165] hardirqs last enabled at (5072587): [] __down_trylock_console_sem+0x86/0xa0 [ 50.231564][ T165] hardirqs last disabled at (5072588): [] console_emit_next_record+0x3f8/0x4f0 [ 50.231566][ T165] softirqs last enabled at (5072414): [] handle_softirqs+0x67c/0x900 [ 50.231570][ T165] softirqs last disabled at (5072377): [] __irq_exit_rcu+0x145/0x1c0 [ 50.231573][ T165] Preemption disabled at: [ 50.231573][ T165] [] vprintk_emit+0x31b/0x3e0 [ 50.231579][ T165] CPU: 3 UID: 0 PID: 165 Comm: udp_tunnel_nic. Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 50.231583][ T165] Tainted: [W]=WARN [ 50.231583][ T165] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 50.231585][ T165] Call Trace: [ 50.231587][ T165] [ 50.231588][ T165] dump_stack_lvl+0x6f/0xa0 [ 50.231594][ T165] ? vprintk_emit+0x31b/0x3e0 [ 50.231596][ T165] __might_resched.cold+0x1fe/0x2c1 [ 50.231600][ T165] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 50.231604][ T165] ? __kmalloc_noprof+0xdb/0x760 [ 50.231609][ T165] __kmalloc_noprof+0x443/0x760 [ 50.231611][ T165] ? alloc_buf.isra.0+0x4b/0x260 [ 50.231617][ T165] ? do_raw_spin_unlock+0x59/0x250 [ 50.231619][ T165] alloc_buf.isra.0+0x4b/0x260 [ 50.231622][ T165] put_chars+0x1e1/0x2f0 [ 50.231625][ T165] ? __send_to_port+0x420/0x420 [ 50.231629][ T165] ? validate_chain+0x34a/0xc20 [ 50.231634][ T165] hvc_console_print+0x292/0x780 [ 50.231636][ T165] ? __lock_acquire+0x518/0xc20 [ 50.231641][ T165] ? hvc_write+0x3a0/0x3a0 [ 50.231644][ T165] ? rcu_is_watching+0x16/0xd0 [ 50.231650][ T165] console_emit_next_record+0x252/0x4f0 [ 50.231654][ T165] ? devkmsg_read+0x4e0/0x4e0 [ 50.231659][ T165] ? rcu_is_watching+0x16/0xd0 [ 50.231661][ T165] ? lock_acquire+0x13c/0x160 [ 50.231665][ T165] console_flush_one_record+0x46f/0x710 [ 50.231669][ T165] ? console_emit_next_record+0x4f0/0x4f0 [ 50.231670][ T165] ? __lock_acquire+0x518/0xc20 [ 50.231676][ T165] console_unlock+0xee/0x1f0 [ 50.231678][ T165] ? console_flush_one_record+0x710/0x710 [ 50.231680][ T165] ? rcu_is_watching+0x16/0xd0 [ 50.231682][ T165] ? lock_acquire+0x60/0x160 [ 50.231686][ T165] ? __down_trylock_console_sem+0x5e/0xa0 [ 50.231687][ T165] ? vprintk_emit+0x320/0x3e0 [ 50.231690][ T165] vprintk_emit+0x37c/0x3e0 [ 50.231694][ T165] ? wake_up_klogd_work_func+0x90/0x90 [ 50.231697][ T165] ? __kernel_text_address+0x12/0x30 [ 50.231700][ T165] ? write_profile+0xf0/0xf0 [ 50.231706][ T165] dev_vprintk_emit+0x27f/0x2c0 [ 50.231711][ T165] ? device_rename.cold+0xa/0xa [ 50.231716][ T165] ? stack_trace_save+0x93/0xc0 [ 50.231718][ T165] ? filter_irq_stacks+0xd0/0xd0 [ 50.231723][ T165] dev_printk_emit+0xb9/0xee [ 50.231726][ T165] ? dev_vprintk_emit+0x2c0/0x2c0 [ 50.231727][ T165] ? save_trace+0x68/0x280 [ 50.231731][ T165] ? add_lock_to_list+0x2c/0x1a0 [ 50.231738][ T165] __netdev_printk+0x160/0x1d0 [ 50.231743][ T165] netdev_info+0xe2/0x116 [ 50.231745][ T165] ? netdev_notice+0x120/0x120 [ 50.231749][ T165] ? lock_acquire.part.0+0xd4/0x280 [ 50.231751][ T165] ? __udp_tunnel_nic_reset_ntf+0xa0/0x700 [udp_tunnel] [ 50.231754][ T165] ? rcu_is_watching+0x16/0xd0 [ 50.231758][ T165] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 50.231764][ T165] ? __mutex_lock+0x9a3/0x1ea0 [ 50.231768][ T165] ? __udp_tunnel_nic_reset_ntf+0xa0/0x700 [udp_tunnel] [ 50.231770][ T165] ? __asan_memset+0x27/0x50 [ 50.231774][ T165] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 50.231778][ T165] ? rcu_tasks_need_gpcb+0x837/0x880 [ 50.231784][ T165] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 50.231787][ T165] ? validate_chain+0x38b/0xc20 [ 50.231791][ T165] __udp_tunnel_nic_reset_ntf+0x35a/0x700 [udp_tunnel] [ 50.231796][ T165] ? debugfs_file_put+0x80/0x80 [ 50.231803][ T165] nsim_udp_tunnels_info_reset_write+0x100/0x1a0 [netdevsim] [ 50.231808][ T165] full_proxy_write+0x108/0x1c0 [ 50.231812][ T165] vfs_write+0x1a4/0xbd0 [ 50.231816][ T165] ksys_write+0x116/0x250 [ 50.231819][ T165] ? __ia32_sys_read+0xc0/0xc0 [ 50.231821][ T165] ? do_raw_spin_unlock+0x59/0x250 [ 50.231823][ T165] ? rcu_is_watching+0x16/0xd0 [ 50.231827][ T165] do_syscall_64+0xff/0x530 [ 50.231829][ T165] ? exc_page_fault+0xee/0x100 [ 50.231832][ T165] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 50.231834][ T165] RIP: 0033:0x7f08d5e1a54e [ 50.231838][ T165] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 50.231840][ T165] RSP: 002b:00007ffdfc07dcf0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 50.231842][ T165] RAX: ffffffffffffffda RBX: 00007f08d5f9b580 RCX: 00007f08d5e1a54e [ 50.231844][ T165] RDX: 0000000000000002 RSI: 0000560625df2270 RDI: 0000000000000001 [ 50.231845][ T165] RBP: 00007ffdfc07dd00 R08: 0000000000000000 R09: 0000000000000000 [ 50.231845][ T165] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000002 [ 50.231846][ T165] R13: 0000000000000002 R14: 0000560625df2270 R15: 0000000000000000 [ 50.231853][ T165] [ 50.356014][ T165] netdevsim netdevsim421 eni421np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 50.544165][ T12] netdevsim netdevsim421 eni421np1: unset [0, 0] type 1 family 0 port 10000 - 0 [ 50.614749][ T89] netdevsim netdevsim421 eni421np2: renamed from eth0 [ 50.802402][ T12] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 50.935012][ T165] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 50.988052][ T2754] netdevsim netdevsim421 eni421np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 51.027161][ T12] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 51.168171][ T12] netdevsim netdevsim421 eni421np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 51.405763][ T88] netdevsim netdevsim421 eni421np2: renamed from eth0 [ 51.405781][ T88] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 51.405784][ T88] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 88, name: (udev-worker) [ 51.405785][ T88] preempt_count: 1, expected: 0 [ 51.405786][ T88] RCU nest depth: 0, expected: 0 [ 51.405787][ T88] locks held by (udev-worker)/88: 6, last CPU#3: [ 51.405790][ T88] #0: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 51.405803][ T88] #1: ff11000012012dd8 (&dev_instance_lock_key#5){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 51.405807][ T88] #2: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 51.405813][ T88] #3: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 51.405817][ T88] #4: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 51.405821][ T88] #5: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 51.405824][ T88] irq event stamp: 5876656 [ 51.405825][ T88] hardirqs last enabled at (5876655): [] __down_trylock_console_sem+0x86/0xa0 [ 51.405828][ T88] hardirqs last disabled at (5876656): [] console_emit_next_record+0x3f8/0x4f0 [ 51.405829][ T88] softirqs last enabled at (5876650): [] netif_change_name+0x216/0x8c0 [ 51.405832][ T88] softirqs last disabled at (5876648): [] netif_change_name+0x1ad/0x8c0 [ 51.405834][ T88] Preemption disabled at: [ 51.405835][ T88] [] vprintk_emit+0x31b/0x3e0 [ 51.405841][ T88] CPU: 3 UID: 0 PID: 88 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 51.405844][ T88] Tainted: [W]=WARN [ 51.405845][ T88] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 51.405847][ T88] Call Trace: [ 51.405849][ T88] [ 51.405851][ T88] dump_stack_lvl+0x6f/0xa0 [ 51.405857][ T88] ? vprintk_emit+0x31b/0x3e0 [ 51.405859][ T88] __might_resched.cold+0x1fe/0x2c1 [ 51.405864][ T88] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 51.405868][ T88] ? __kmalloc_noprof+0xdb/0x760 [ 51.405873][ T88] __kmalloc_noprof+0x443/0x760 [ 51.405875][ T88] ? alloc_buf.isra.0+0x4b/0x260 [ 51.405881][ T88] ? do_raw_spin_unlock+0x59/0x250 [ 51.405884][ T88] alloc_buf.isra.0+0x4b/0x260 [ 51.405887][ T88] put_chars+0x1e1/0x2f0 [ 51.405890][ T88] ? __send_to_port+0x420/0x420 [ 51.405892][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 51.405896][ T88] ? rcu_read_lock_any_held+0x3c/0x90 [ 51.405899][ T88] ? validate_chain+0x38b/0xc20 [ 51.405903][ T88] hvc_console_print+0x292/0x780 [ 51.405906][ T88] ? __lock_acquire+0x518/0xc20 [ 51.405911][ T88] ? hvc_write+0x3a0/0x3a0 [ 51.405914][ T88] ? rcu_is_watching+0x16/0xd0 [ 51.405919][ T88] console_emit_next_record+0x252/0x4f0 [ 51.405923][ T88] ? devkmsg_read+0x4e0/0x4e0 [ 51.405927][ T88] ? rcu_is_watching+0x16/0xd0 [ 51.405929][ T88] ? lock_acquire+0x13c/0x160 [ 51.405933][ T88] console_flush_one_record+0x46f/0x710 [ 51.405937][ T88] ? console_emit_next_record+0x4f0/0x4f0 [ 51.405939][ T88] ? __lock_acquire+0x518/0xc20 [ 51.405944][ T88] console_unlock+0xee/0x1f0 [ 51.405947][ T88] ? console_flush_one_record+0x710/0x710 [ 51.405948][ T88] ? rcu_is_watching+0x16/0xd0 [ 51.405950][ T88] ? lock_acquire+0x60/0x160 [ 51.405954][ T88] ? __down_trylock_console_sem+0x5e/0xa0 [ 51.405955][ T88] ? vprintk_emit+0x320/0x3e0 [ 51.405959][ T88] vprintk_emit+0x37c/0x3e0 [ 51.405962][ T88] ? wake_up_klogd_work_func+0x90/0x90 [ 51.405965][ T88] ? __lock_acquire+0x518/0xc20 [ 51.405966][ T88] ? rwsem_optimistic_spin+0x3c7/0x480 [ 51.405973][ T88] dev_vprintk_emit+0x27f/0x2c0 [ 51.405978][ T88] ? device_rename.cold+0xa/0xa [ 51.405983][ T88] ? mark_usage+0x61/0x170 [ 51.405988][ T88] dev_printk_emit+0xb9/0xee [ 51.405990][ T88] ? dev_vprintk_emit+0x2c0/0x2c0 [ 51.405992][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 51.405995][ T88] ? validate_chain+0x38b/0xc20 [ 51.405997][ T88] ? __lock_acquire+0x518/0xc20 [ 51.405998][ T88] ? __lock_acquire+0x518/0xc20 [ 51.406000][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 51.406002][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 51.406006][ T88] __netdev_printk+0x160/0x1d0 [ 51.406011][ T88] netdev_info+0xe2/0x116 [ 51.406014][ T88] ? netdev_notice+0x120/0x120 [ 51.406016][ T88] ? find_held_lock+0x2b/0x80 [ 51.406020][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 51.406022][ T88] ? mark_held_locks+0x40/0x70 [ 51.406025][ T88] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 51.406028][ T88] netif_change_name.cold+0x4f/0x89 [ 51.406031][ T88] ? __lock_acquire+0x518/0xc20 [ 51.406033][ T88] ? rwsem_optimistic_spin+0x3c7/0x480 [ 51.406035][ T88] ? find_held_lock+0x2/0x80 [ 51.406038][ T88] ? netdev_adjacent_rename_links+0x470/0x470 [ 51.406040][ T88] ? find_held_lock+0x2b/0x80 [ 51.406044][ T88] ? __asan_memset+0x27/0x50 [ 51.406050][ T88] do_setlink.isra.0+0x1f7d/0x2a60 [ 51.406053][ T88] ? __lock_acquire+0x518/0xc20 [ 51.406056][ T88] ? rtnl_link_get_size+0x350/0x350 [ 51.406057][ T88] ? mark_usage+0x61/0x170 [ 51.406059][ T88] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 51.406061][ T88] ? rcu_read_lock_any_held+0x3c/0x90 [ 51.406063][ T88] ? validate_chain+0x38b/0xc20 [ 51.406067][ T88] ? __lock_acquire+0x518/0xc20 [ 51.406071][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 51.406073][ T88] ? rtnl_setlink+0x29d/0x920 [ 51.406076][ T88] ? rcu_is_watching+0x16/0xd0 [ 51.406085][ T88] ? lock_acquire+0x13c/0x160 [ 51.406086][ T88] ? rcu_is_watching+0x16/0xd0 [ 51.406088][ T88] ? rcu_is_watching+0x16/0xd0 [ 51.406090][ T88] ? trace_contention_end+0xb3/0x180 [ 51.406093][ T88] ? __mutex_lock+0x1db/0x1ea0 [ 51.406096][ T88] ? __mutex_lock+0x9a3/0x1ea0 [ 51.406097][ T88] ? __lock_acquire+0x518/0xc20 [ 51.406099][ T88] ? rtnl_setlink+0x29d/0x920 [ 51.406101][ T88] ? mark_usage+0x61/0x170 [ 51.406104][ T88] ? ww_mutex_lock+0x160/0x160 [ 51.406106][ T88] ? nla_get_range_signed+0x3d0/0x3d0 [ 51.406112][ T88] ? mark_usage+0x61/0x170 [ 51.406115][ T88] ? cap_capable+0x1d7/0x3d0 [ 51.406122][ T88] rtnl_setlink+0x527/0x920 [ 51.406126][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 51.406130][ T88] ? __lock_acquire+0x518/0xc20 [ 51.406160][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 51.406162][ T88] ? find_held_lock+0x2b/0x80 [ 51.406165][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 51.406167][ T88] ? mark_usage+0x61/0x170 [ 51.406169][ T88] ? __lock_acquire+0x518/0xc20 [ 51.406173][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 51.406175][ T88] ? find_held_lock+0x2b/0x80 [ 51.406177][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 51.406179][ T88] ? __lock_release.isra.0+0x69/0x1a0 [ 51.406183][ T88] ? __rtnl_newlink+0xa50/0xa50 [ 51.406185][ T88] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 51.406189][ T88] ? rtnl_link_fill+0x900/0x900 [ 51.406190][ T88] ? __lock_acquire+0x518/0xc20 [ 51.406195][ T88] ? lock_acquire.part.0+0xd4/0x280 [ 51.406196][ T88] ? find_held_lock+0x2b/0x80 [ 51.406200][ T88] netlink_rcv_skb+0x14e/0x3a0 [ 51.406203][ T88] ? rtnl_link_fill+0x900/0x900 [ 51.406207][ T88] ? netlink_ack+0xcd0/0xcd0 [ 51.406213][ T88] ? netlink_deliver_tap+0xc5/0x330 [ 51.406215][ T88] ? netlink_deliver_tap+0x13c/0x330 [ 51.406220][ T88] netlink_unicast+0x486/0x750 [ 51.406224][ T88] ? netlink_attachskb+0x810/0x810 [ 51.406227][ T88] ? __lock_acquire+0x518/0xc20 [ 51.406231][ T88] netlink_sendmsg+0x735/0xc60 [ 51.406235][ T88] ? netlink_unicast+0x750/0x750 [ 51.406239][ T88] ? __might_fault+0x97/0x140 [ 51.406242][ T88] ? __might_fault+0x97/0x140 [ 51.406246][ T88] __sys_sendto+0x2aa/0x400 [ 51.406250][ T88] ? __ia32_sys_getpeername+0xd0/0xd0 [ 51.406260][ T88] ? exc_page_fault+0x87/0x100 [ 51.406266][ T88] __x64_sys_sendto+0xe4/0x1f0 [ 51.406268][ T88] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 51.406272][ T88] ? lockdep_hardirqs_on+0x91/0x130 [ 51.406273][ T88] ? do_syscall_64+0xa6/0x530 [ 51.406275][ T88] do_syscall_64+0xff/0x530 [ 51.406276][ T88] ? exc_page_fault+0xee/0x100 [ 51.406279][ T88] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 51.406281][ T88] RIP: 0033:0x7fdc8254f54e [ 51.406285][ T88] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 51.406287][ T88] RSP: 002b:00007ffcb8cc5e00 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 51.406290][ T88] RAX: ffffffffffffffda RBX: 0000561f7271ef40 RCX: 00007fdc8254f54e [ 51.406291][ T88] RDX: 0000000000000030 RSI: 0000561f728b5ec0 RDI: 0000000000000020 [ 51.406292][ T88] RBP: 00007ffcb8cc5e10 R08: 00007ffcb8cc5e60 R09: 0000000000000080 [ 51.406293][ T88] R10: 0000000000000000 R11: 0000000000000202 R12: 0000561f728ce1e0 [ 51.406293][ T88] R13: 00007ffcb8cc5f44 R14: 0000000000000000 R15: 0000000000000000 [ 51.406300][ T88] [ 51.604930][ T88] netdevsim netdevsim421 eni421np3: renamed from eth0 [ 51.767497][ T12] netdevsim netdevsim421 eni421np3: set [0, 0] type 1 family 0 port 4789 - 0 [ 51.959154][ T12] netdevsim netdevsim421 eni421np3: unset [0, 0] type 1 family 0 port 4789 - 0 [ 51.999147][ T12] netdevsim netdevsim421 eni421np3: set [0, 0] type 1 family 0 port 4789 - 0 [ 52.091151][ T12] netdevsim netdevsim421 eni421np3: set [0, 1] type 1 family 0 port 4790 - 0 [ 52.221159][ T12] netdevsim netdevsim421 eni421np3: set [1, 0] type 2 family 0 port 6081 - 0 [ 52.659149][ T12] netdevsim netdevsim421 eni421np3: unset [0, 0] type 1 family 0 port 4789 - 0 [ 52.659169][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 52.659171][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 52.659173][ T12] preempt_count: 1, expected: 0 [ 52.659174][ T12] RCU nest depth: 0, expected: 0 [ 52.659175][ T12] locks held by kworker/u16:0/12: 8, last CPU#2: [ 52.659177][ T12] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 52.659189][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 52.659193][ T12] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 52.659200][ T12] #3: ff1100000d517b10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 52.659203][ T12] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 52.659208][ T12] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 52.659212][ T12] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 52.659216][ T12] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 52.659219][ T12] irq event stamp: 55134 [ 52.659220][ T12] hardirqs last enabled at (55133): [] __down_trylock_console_sem+0x86/0xa0 [ 52.659222][ T12] hardirqs last disabled at (55134): [] console_emit_next_record+0x3f8/0x4f0 [ 52.659224][ T12] softirqs last enabled at (55110): [] addrconf_dad_begin+0x37f/0x540 [ 52.659228][ T12] softirqs last disabled at (55102): [] addrconf_dad_begin+0x154/0x540 [ 52.659230][ T12] Preemption disabled at: [ 52.659231][ T12] [] vprintk_emit+0x31b/0x3e0 [ 52.659237][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 52.659240][ T12] Tainted: [W]=WARN [ 52.659241][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 52.659243][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 52.659247][ T12] Call Trace: [ 52.659248][ T12] [ 52.659250][ T12] dump_stack_lvl+0x6f/0xa0 [ 52.659256][ T12] ? vprintk_emit+0x31b/0x3e0 [ 52.659258][ T12] __might_resched.cold+0x1fe/0x2c1 [ 52.659262][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 52.659266][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 52.659271][ T12] __kmalloc_noprof+0x443/0x760 [ 52.659273][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 52.659279][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 52.659282][ T12] alloc_buf.isra.0+0x4b/0x260 [ 52.659285][ T12] put_chars+0x1e1/0x2f0 [ 52.659287][ T12] ? __send_to_port+0x420/0x420 [ 52.659291][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 52.659295][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 52.659297][ T12] ? validate_chain+0x38b/0xc20 [ 52.659301][ T12] hvc_console_print+0x292/0x780 [ 52.659303][ T12] ? mark_usage+0x61/0x170 [ 52.659305][ T12] ? __lock_acquire+0x518/0xc20 [ 52.659307][ T12] ? __lock_acquire+0x518/0xc20 [ 52.659310][ T12] ? hvc_write+0x3a0/0x3a0 [ 52.659313][ T12] ? console_emit_next_record+0x202/0x4f0 [ 52.659316][ T12] ? rcu_is_watching+0x16/0xd0 [ 52.659318][ T12] ? lock_acquire+0x13c/0x160 [ 52.659322][ T12] console_emit_next_record+0x252/0x4f0 [ 52.659326][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 52.659330][ T12] ? rcu_is_watching+0x16/0xd0 [ 52.659332][ T12] ? lock_acquire+0x13c/0x160 [ 52.659336][ T12] console_flush_one_record+0x46f/0x710 [ 52.659341][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 52.659342][ T12] ? __lock_acquire+0x518/0xc20 [ 52.659347][ T12] console_unlock+0xee/0x1f0 [ 52.659350][ T12] ? console_flush_one_record+0x710/0x710 [ 52.659352][ T12] ? rcu_is_watching+0x16/0xd0 [ 52.659354][ T12] ? lock_acquire+0x60/0x160 [ 52.659358][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 52.659359][ T12] ? vprintk_emit+0x320/0x3e0 [ 52.659362][ T12] vprintk_emit+0x37c/0x3e0 [ 52.659366][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 52.659369][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 52.659374][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 52.659379][ T12] ? device_rename.cold+0xa/0xa [ 52.659384][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 52.659386][ T12] ? try_to_wake_up+0xc6/0x1130 [ 52.659388][ T12] ? find_held_lock+0x2b/0x80 [ 52.659394][ T12] dev_printk_emit+0xb9/0xee [ 52.659396][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 52.659399][ T12] ? _raw_spin_unlock_irq_enable+0x5b/0x90 [ 52.659403][ T12] ? try_to_wake_up+0x153/0x1130 [ 52.659405][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 52.659408][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 52.659409][ T12] ? validate_chain+0x38b/0xc20 [ 52.659413][ T12] __netdev_printk+0x160/0x1d0 [ 52.659418][ T12] netdev_info+0xe2/0x116 [ 52.659421][ T12] ? netdev_notice+0x120/0x120 [ 52.659425][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 52.659427][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 52.659430][ T12] ? rcu_is_watching+0x16/0xd0 [ 52.659434][ T12] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 52.659441][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 52.659444][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 52.659446][ T12] ? __asan_memset+0x27/0x50 [ 52.659450][ T12] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 52.659454][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 52.659460][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 52.659466][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 52.659469][ T12] ? rcu_is_watching+0x16/0xd0 [ 52.659471][ T12] ? lock_acquire+0x13c/0x160 [ 52.659473][ T12] ? rcu_is_watching+0x16/0xd0 [ 52.659476][ T12] ? process_one_work+0xe16/0x1560 [ 52.659478][ T12] ? process_one_work+0xdfc/0x1560 [ 52.659479][ T12] process_one_work+0xe3e/0x1560 [ 52.659485][ T12] ? __queue_delayed_work+0x470/0x470 [ 52.659488][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 52.659496][ T12] worker_thread+0x4f1/0xd60 [ 52.659503][ T12] ? rescuer_thread+0x1340/0x1340 [ 52.659505][ T12] kthread+0x367/0x460 [ 52.659508][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 52.659511][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 52.659514][ T12] ret_from_fork+0x474/0x6b0 [ 52.659519][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 52.659523][ T12] ? __switch_to+0x5a3/0xe00 [ 52.659525][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 52.659528][ T12] ret_from_fork_asm+0x11/0x20 [ 52.659537][ T12] [ 52.691368][ T12] netdevsim netdevsim421 eni421np3: unset [0, 1] type 1 family 0 port 4790 - 0 [ 52.691771][ T12] netdevsim netdevsim421 eni421np3: unset [1, 0] type 2 family 0 port 6081 - 0 [ 52.733148][ T69] netdevsim netdevsim421 eni421np3: set [0, 0] type 1 family 0 port 4789 - 0 [ 52.738937][ T69] netdevsim netdevsim421 eni421np3: set [0, 1] type 1 family 0 port 4790 - 0 [ 52.739578][ T69] netdevsim netdevsim421 eni421np3: set [1, 0] type 2 family 0 port 6081 - 0 [ 53.080150][ T69] netdevsim netdevsim421 eni421np3: unset [0, 0] type 1 family 0 port 4789 - 0 [ 53.080583][ T69] netdevsim netdevsim421 eni421np3: unset [0, 1] type 1 family 0 port 4790 - 0 [ 53.080945][ T69] netdevsim netdevsim421 eni421np3: unset [1, 0] type 2 family 0 port 6081 - 0 [ 53.115149][ T69] netdevsim netdevsim421 eni421np3: set [0, 0] type 1 family 0 port 4789 - 0 [ 53.115559][ T69] netdevsim netdevsim421 eni421np3: set [0, 1] type 1 family 0 port 4790 - 0 [ 53.115926][ T69] netdevsim netdevsim421 eni421np3: set [1, 0] type 2 family 0 port 6081 - 0 [ 53.365669][ T2919] ip (2919) used greatest stack depth: 24000 bytes left [ 53.404146][ T69] netdevsim netdevsim421 eni421np3: unset [0, 0] type 1 family 0 port 4789 - 0 [ 53.465254][ T69] netdevsim netdevsim421 eni421np3: unset [0, 1] type 1 family 0 port 4790 - 0 [ 53.510211][ T69] netdevsim netdevsim421 eni421np3: unset [1, 0] type 2 family 0 port 6081 - 0 [ 53.600205][ T69] netdevsim netdevsim421 eni421np3: set [0, 0] type 1 family 0 port 10000 - 0 [ 53.721153][ T69] netdevsim netdevsim421 eni421np3: set [0, 1] type 1 family 0 port 10001 - 0 [ 53.721172][ T69] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 53.721175][ T69] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 69, name: kworker/u16:1 [ 53.721176][ T69] preempt_count: 1, expected: 0 [ 53.721177][ T69] RCU nest depth: 0, expected: 0 [ 53.721178][ T69] locks held by kworker/u16:1/69: 8, last CPU#3: [ 53.721181][ T69] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 53.721193][ T69] #1: ffa00000004a7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 53.721197][ T69] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 53.721204][ T69] #3: ff1100000d517b10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 53.721207][ T69] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 53.721212][ T69] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 53.721216][ T69] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 53.721220][ T69] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 53.721223][ T69] irq event stamp: 52050 [ 53.721224][ T69] hardirqs last enabled at (52049): [] __down_trylock_console_sem+0x86/0xa0 [ 53.721226][ T69] hardirqs last disabled at (52050): [] console_emit_next_record+0x3f8/0x4f0 [ 53.721228][ T69] softirqs last enabled at (52038): [] addrconf_dad_begin+0x37f/0x540 [ 53.721232][ T69] softirqs last disabled at (52030): [] addrconf_dad_begin+0x154/0x540 [ 53.721234][ T69] Preemption disabled at: [ 53.721235][ T69] [] vprintk_emit+0x31b/0x3e0 [ 53.721241][ T69] CPU: 3 UID: 0 PID: 69 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 53.721244][ T69] Tainted: [W]=WARN [ 53.721245][ T69] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 53.721248][ T69] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 53.721251][ T69] Call Trace: [ 53.721253][ T69] [ 53.721255][ T69] dump_stack_lvl+0x6f/0xa0 [ 53.721260][ T69] ? vprintk_emit+0x31b/0x3e0 [ 53.721263][ T69] __might_resched.cold+0x1fe/0x2c1 [ 53.721267][ T69] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 53.721271][ T69] ? __kmalloc_noprof+0xdb/0x760 [ 53.721276][ T69] __kmalloc_noprof+0x443/0x760 [ 53.721278][ T69] ? alloc_buf.isra.0+0x4b/0x260 [ 53.721284][ T69] ? do_raw_spin_unlock+0x59/0x250 [ 53.721287][ T69] alloc_buf.isra.0+0x4b/0x260 [ 53.721290][ T69] put_chars+0x1e1/0x2f0 [ 53.721293][ T69] ? __send_to_port+0x420/0x420 [ 53.721296][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 53.721300][ T69] ? rcu_read_lock_any_held+0x3c/0x90 [ 53.721302][ T69] ? validate_chain+0x38b/0xc20 [ 53.721306][ T69] hvc_console_print+0x292/0x780 [ 53.721309][ T69] ? mark_usage+0x61/0x170 [ 53.721311][ T69] ? __lock_acquire+0x518/0xc20 [ 53.721312][ T69] ? __lock_acquire+0x518/0xc20 [ 53.721316][ T69] ? hvc_write+0x3a0/0x3a0 [ 53.721318][ T69] ? console_emit_next_record+0x202/0x4f0 [ 53.721321][ T69] ? rcu_is_watching+0x16/0xd0 [ 53.721324][ T69] ? lock_acquire+0x13c/0x160 [ 53.721328][ T69] console_emit_next_record+0x252/0x4f0 [ 53.721331][ T69] ? devkmsg_read+0x4e0/0x4e0 [ 53.721336][ T69] ? rcu_is_watching+0x16/0xd0 [ 53.721338][ T69] ? lock_acquire+0x13c/0x160 [ 53.721342][ T69] console_flush_one_record+0x46f/0x710 [ 53.721346][ T69] ? console_emit_next_record+0x4f0/0x4f0 [ 53.721348][ T69] ? __lock_acquire+0x518/0xc20 [ 53.721353][ T69] console_unlock+0xee/0x1f0 [ 53.721356][ T69] ? console_flush_one_record+0x710/0x710 [ 53.721357][ T69] ? rcu_is_watching+0x16/0xd0 [ 53.721359][ T69] ? lock_acquire+0x60/0x160 [ 53.721363][ T69] ? __down_trylock_console_sem+0x5e/0xa0 [ 53.721365][ T69] ? vprintk_emit+0x320/0x3e0 [ 53.721368][ T69] vprintk_emit+0x37c/0x3e0 [ 53.721372][ T69] ? wake_up_klogd_work_func+0x90/0x90 [ 53.721375][ T69] ? __lock_release.isra.0+0x69/0x1a0 [ 53.721379][ T69] dev_vprintk_emit+0x27f/0x2c0 [ 53.721385][ T69] ? device_rename.cold+0xa/0xa [ 53.721386][ T69] ? debug_object_activate+0x345/0x4a0 [ 53.721394][ T69] ? __lock_release.isra.0+0x69/0x1a0 [ 53.721398][ T69] dev_printk_emit+0xb9/0xee [ 53.721400][ T69] ? dev_vprintk_emit+0x2c0/0x2c0 [ 53.721402][ T69] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 53.721411][ T69] __netdev_printk+0x160/0x1d0 [ 53.721417][ T69] netdev_info+0xe2/0x116 [ 53.721419][ T69] ? netdev_notice+0x120/0x120 [ 53.721423][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 53.721425][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 53.721428][ T69] ? rcu_is_watching+0x16/0xd0 [ 53.721433][ T69] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 53.721439][ T69] ? __mutex_lock+0x9a3/0x1ea0 [ 53.721442][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 53.721444][ T69] ? __asan_memset+0x27/0x50 [ 53.721448][ T69] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 53.721452][ T69] ? rcu_tasks_need_gpcb+0x837/0x880 [ 53.721458][ T69] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 53.721464][ T69] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 53.721467][ T69] ? rcu_is_watching+0x16/0xd0 [ 53.721469][ T69] ? lock_acquire+0x13c/0x160 [ 53.721470][ T69] ? rcu_is_watching+0x16/0xd0 [ 53.721474][ T69] ? process_one_work+0xe16/0x1560 [ 53.721475][ T69] ? process_one_work+0xdfc/0x1560 [ 53.721477][ T69] process_one_work+0xe3e/0x1560 [ 53.721483][ T69] ? __queue_delayed_work+0x470/0x470 [ 53.721486][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 53.721494][ T69] worker_thread+0x4f1/0xd60 [ 53.721501][ T69] ? rescuer_thread+0x1340/0x1340 [ 53.721503][ T69] kthread+0x367/0x460 [ 53.721505][ T69] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 53.721509][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 53.721512][ T69] ret_from_fork+0x474/0x6b0 [ 53.721517][ T69] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 53.721520][ T69] ? __switch_to+0x5a3/0xe00 [ 53.721523][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 53.721526][ T69] ret_from_fork_asm+0x11/0x20 [ 53.721534][ T69] [ 53.892736][ T69] netdevsim netdevsim421 eni421np3: set [0, 2] type 1 family 0 port 10002 - 0 [ 54.084225][ T69] netdevsim netdevsim421 eni421np3: set [0, 3] type 1 family 0 port 10003 - 0 [ 54.248836][ T2975] ip (2975) used greatest stack depth: 23856 bytes left [ 54.449530][ T89] netdevsim netdevsim421 eni421np3: renamed from eth0 [ 54.767164][ T69] netdevsim netdevsim421 eni421np3: unset [0, 1] type 1 family 0 port 10001 - 0 [ 54.767183][ T69] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 54.767185][ T69] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 69, name: kworker/u16:1 [ 54.767187][ T69] preempt_count: 1, expected: 0 [ 54.767188][ T69] RCU nest depth: 0, expected: 0 [ 54.767189][ T69] locks held by kworker/u16:1/69: 8, last CPU#3: [ 54.767191][ T69] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 54.767203][ T69] #1: ffa00000004a7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 54.767207][ T69] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 54.767213][ T69] #3: ff1100000d517b10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 54.767216][ T69] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 54.767221][ T69] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 54.767225][ T69] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 54.767229][ T69] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 54.767232][ T69] irq event stamp: 53814 [ 54.767233][ T69] hardirqs last enabled at (53813): [] __down_trylock_console_sem+0x86/0xa0 [ 54.767236][ T69] hardirqs last disabled at (53814): [] console_emit_next_record+0x3f8/0x4f0 [ 54.767237][ T69] softirqs last enabled at (53782): [] __dev_queue_xmit+0x92b/0x1a10 [ 54.767241][ T69] softirqs last disabled at (53724): [] __dev_queue_xmit+0x23b/0x1a10 [ 54.767243][ T69] Preemption disabled at: [ 54.767244][ T69] [] vprintk_emit+0x31b/0x3e0 [ 54.767249][ T69] CPU: 3 UID: 0 PID: 69 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 54.767253][ T69] Tainted: [W]=WARN [ 54.767254][ T69] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 54.767256][ T69] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 54.767259][ T69] Call Trace: [ 54.767261][ T69] [ 54.767263][ T69] dump_stack_lvl+0x6f/0xa0 [ 54.767268][ T69] ? vprintk_emit+0x31b/0x3e0 [ 54.767270][ T69] __might_resched.cold+0x1fe/0x2c1 [ 54.767275][ T69] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 54.767279][ T69] ? __kmalloc_noprof+0xdb/0x760 [ 54.767284][ T69] __kmalloc_noprof+0x443/0x760 [ 54.767286][ T69] ? alloc_buf.isra.0+0x4b/0x260 [ 54.767292][ T69] ? do_raw_spin_unlock+0x59/0x250 [ 54.767295][ T69] alloc_buf.isra.0+0x4b/0x260 [ 54.767298][ T69] put_chars+0x1e1/0x2f0 [ 54.767301][ T69] ? __send_to_port+0x420/0x420 [ 54.767304][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 54.767308][ T69] ? rcu_read_lock_any_held+0x3c/0x90 [ 54.767310][ T69] ? validate_chain+0x38b/0xc20 [ 54.767314][ T69] hvc_console_print+0x292/0x780 [ 54.767317][ T69] ? mark_usage+0x61/0x170 [ 54.767319][ T69] ? __lock_acquire+0x518/0xc20 [ 54.767320][ T69] ? __lock_acquire+0x518/0xc20 [ 54.767324][ T69] ? hvc_write+0x3a0/0x3a0 [ 54.767326][ T69] ? console_emit_next_record+0x202/0x4f0 [ 54.767329][ T69] ? rcu_is_watching+0x16/0xd0 [ 54.767331][ T69] ? lock_acquire+0x13c/0x160 [ 54.767335][ T69] console_emit_next_record+0x252/0x4f0 [ 54.767339][ T69] ? devkmsg_read+0x4e0/0x4e0 [ 54.767343][ T69] ? rcu_is_watching+0x16/0xd0 [ 54.767346][ T69] ? lock_acquire+0x13c/0x160 [ 54.767349][ T69] console_flush_one_record+0x46f/0x710 [ 54.767354][ T69] ? console_emit_next_record+0x4f0/0x4f0 [ 54.767355][ T69] ? __lock_acquire+0x518/0xc20 [ 54.767360][ T69] console_unlock+0xee/0x1f0 [ 54.767363][ T69] ? console_flush_one_record+0x710/0x710 [ 54.767365][ T69] ? rcu_is_watching+0x16/0xd0 [ 54.767367][ T69] ? lock_acquire+0x60/0x160 [ 54.767370][ T69] ? __down_trylock_console_sem+0x5e/0xa0 [ 54.767372][ T69] ? vprintk_emit+0x320/0x3e0 [ 54.767375][ T69] vprintk_emit+0x37c/0x3e0 [ 54.767379][ T69] ? wake_up_klogd_work_func+0x90/0x90 [ 54.767382][ T69] ? __lock_release.isra.0+0x69/0x1a0 [ 54.767387][ T69] dev_vprintk_emit+0x27f/0x2c0 [ 54.767392][ T69] ? device_rename.cold+0xa/0xa [ 54.767400][ T69] dev_printk_emit+0xb9/0xee [ 54.767403][ T69] ? dev_vprintk_emit+0x2c0/0x2c0 [ 54.767406][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 54.767409][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 54.767411][ T69] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 54.767413][ T69] ? rcu_read_lock_any_held+0x3c/0x90 [ 54.767415][ T69] ? validate_chain+0x38b/0xc20 [ 54.767418][ T69] __netdev_printk+0x160/0x1d0 [ 54.767423][ T69] netdev_info+0xe2/0x116 [ 54.767425][ T69] ? netdev_notice+0x120/0x120 [ 54.767429][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 54.767431][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 54.767435][ T69] ? rcu_is_watching+0x16/0xd0 [ 54.767439][ T69] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 54.767445][ T69] ? __mutex_lock+0x9a3/0x1ea0 [ 54.767450][ T69] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 54.767451][ T69] ? __asan_memset+0x27/0x50 [ 54.767456][ T69] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 54.767460][ T69] ? rcu_tasks_need_gpcb+0x837/0x880 [ 54.767466][ T69] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 54.767472][ T69] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 54.767474][ T69] ? rcu_is_watching+0x16/0xd0 [ 54.767476][ T69] ? lock_acquire+0x13c/0x160 [ 54.767478][ T69] ? rcu_is_watching+0x16/0xd0 [ 54.767481][ T69] ? process_one_work+0xe16/0x1560 [ 54.767483][ T69] ? process_one_work+0xdfc/0x1560 [ 54.767484][ T69] process_one_work+0xe3e/0x1560 [ 54.767491][ T69] ? __queue_delayed_work+0x470/0x470 [ 54.767494][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 54.767501][ T69] worker_thread+0x4f1/0xd60 [ 54.767508][ T69] ? rescuer_thread+0x1340/0x1340 [ 54.767510][ T69] kthread+0x367/0x460 [ 54.767513][ T69] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 54.767516][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 54.767519][ T69] ret_from_fork+0x474/0x6b0 [ 54.767524][ T69] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 54.767528][ T69] ? __switch_to+0x5a3/0xe00 [ 54.767531][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 54.767533][ T69] ret_from_fork_asm+0x11/0x20 [ 54.767542][ T69] [ 54.802599][ T69] netdevsim netdevsim421 eni421np3: set [0, 1] type 1 family 0 port 10004 - 0 [ 54.995167][ T12] netdevsim netdevsim421 eni421np3: unset [0, 2] type 1 family 0 port 10002 - 0 [ 55.099937][ T165] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 55.100634][ T165] netdevsim netdevsim421 eni421np2: set [0, 1] type 1 family 0 port 10004 - 0 [ 55.101256][ T165] netdevsim netdevsim421 eni421np2: set [0, 3] type 1 family 0 port 10003 - 0 [ 55.219150][ T12] netdevsim netdevsim421 eni421np3: unset [0, 0] type 1 family 0 port 10000 - 0 [ 55.262105][ T12] netdevsim netdevsim421 eni421np3: unset [0, 3] type 1 family 0 port 10003 - 0 [ 55.305140][ T12] netdevsim netdevsim421 eni421np3: unset [0, 1] type 1 family 0 port 10004 - 0 [ 55.649439][ T88] netdevsim netdevsim421 eni421np2: renamed from eth0 [ 56.123160][ T12] netdevsim netdevsim421 eni421np2: set [0, 0] type 1 family 0 port 4790 - 0 [ 56.123180][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 56.123183][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 56.123185][ T12] preempt_count: 1, expected: 0 [ 56.123186][ T12] RCU nest depth: 0, expected: 0 [ 56.123186][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 56.123189][ T12] #0: ff1100000d778540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 56.123201][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 56.123205][ T12] #2: ffffffffa10fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 56.123211][ T12] #3: ff1100000a93d110 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 56.123215][ T12] #4: ffffffffa0999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 56.123220][ T12] #5: ffffffffa0999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 56.123223][ T12] #6: ffffffffa0889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 56.123227][ T12] #7: ffffffffa0889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 56.123231][ T12] irq event stamp: 56838 [ 56.123232][ T12] hardirqs last enabled at (56837): [] __down_trylock_console_sem+0x86/0xa0 [ 56.123234][ T12] hardirqs last disabled at (56838): [] console_emit_next_record+0x3f8/0x4f0 [ 56.123236][ T12] softirqs last enabled at (56826): [] addrconf_dad_begin+0x37f/0x540 [ 56.123240][ T12] softirqs last disabled at (56818): [] addrconf_dad_begin+0x154/0x540 [ 56.123242][ T12] Preemption disabled at: [ 56.123243][ T12] [] vprintk_emit+0x31b/0x3e0 [ 56.123248][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 56.123252][ T12] Tainted: [W]=WARN [ 56.123253][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 56.123255][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 56.123259][ T12] Call Trace: [ 56.123261][ T12] [ 56.123263][ T12] dump_stack_lvl+0x6f/0xa0 [ 56.123269][ T12] ? vprintk_emit+0x31b/0x3e0 [ 56.123271][ T12] __might_resched.cold+0x1fe/0x2c1 [ 56.123275][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 56.123279][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 56.123284][ T12] __kmalloc_noprof+0x443/0x760 [ 56.123286][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 56.123292][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 56.123294][ T12] alloc_buf.isra.0+0x4b/0x260 [ 56.123297][ T12] put_chars+0x1e1/0x2f0 [ 56.123300][ T12] ? __send_to_port+0x420/0x420 [ 56.123303][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 56.123308][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 56.123310][ T12] ? validate_chain+0x38b/0xc20 [ 56.123314][ T12] hvc_console_print+0x292/0x780 [ 56.123317][ T12] ? mark_usage+0x61/0x170 [ 56.123318][ T12] ? __lock_acquire+0x518/0xc20 [ 56.123320][ T12] ? __lock_acquire+0x518/0xc20 [ 56.123324][ T12] ? hvc_write+0x3a0/0x3a0 [ 56.123326][ T12] ? console_emit_next_record+0x202/0x4f0 [ 56.123329][ T12] ? rcu_is_watching+0x16/0xd0 [ 56.123331][ T12] ? lock_acquire+0x13c/0x160 [ 56.123335][ T12] console_emit_next_record+0x252/0x4f0 [ 56.123339][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 56.123343][ T12] ? rcu_is_watching+0x16/0xd0 [ 56.123346][ T12] ? lock_acquire+0x13c/0x160 [ 56.123350][ T12] console_flush_one_record+0x46f/0x710 [ 56.123354][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 56.123355][ T12] ? __lock_acquire+0x518/0xc20 [ 56.123361][ T12] console_unlock+0xee/0x1f0 [ 56.123363][ T12] ? console_flush_one_record+0x710/0x710 [ 56.123365][ T12] ? rcu_is_watching+0x16/0xd0 [ 56.123367][ T12] ? lock_acquire+0x60/0x160 [ 56.123371][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 56.123372][ T12] ? vprintk_emit+0x320/0x3e0 [ 56.123376][ T12] vprintk_emit+0x37c/0x3e0 [ 56.123379][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 56.123382][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 56.123387][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 56.123392][ T12] ? device_rename.cold+0xa/0xa [ 56.123394][ T12] ? debug_object_activate+0x345/0x4a0 [ 56.123402][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 56.123406][ T12] dev_printk_emit+0xb9/0xee [ 56.123408][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 56.123410][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 56.123416][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 56.123419][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 56.123420][ T12] ? validate_chain+0x38b/0xc20 [ 56.123423][ T12] __netdev_printk+0x160/0x1d0 [ 56.123429][ T12] netdev_info+0xe2/0x116 [ 56.123431][ T12] ? netdev_notice+0x120/0x120 [ 56.123435][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 56.123437][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 56.123440][ T12] ? rcu_is_watching+0x16/0xd0 [ 56.123444][ T12] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 56.123451][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 56.123454][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 56.123456][ T12] ? __asan_memset+0x27/0x50 [ 56.123461][ T12] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 56.123464][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 56.123470][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 56.123477][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 56.123480][ T12] ? rcu_is_watching+0x16/0xd0 [ 56.123482][ T12] ? lock_acquire+0x13c/0x160 [ 56.123483][ T12] ? rcu_is_watching+0x16/0xd0 [ 56.123487][ T12] ? process_one_work+0xe16/0x1560 [ 56.123488][ T12] ? process_one_work+0xdfc/0x1560 [ 56.123490][ T12] process_one_work+0xe3e/0x1560 [ 56.123496][ T12] ? __queue_delayed_work+0x470/0x470 [ 56.123499][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 56.123507][ T12] worker_thread+0x4f1/0xd60 [ 56.123514][ T12] ? rescuer_thread+0x1340/0x1340 [ 56.123516][ T12] kthread+0x367/0x460 [ 56.123518][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 56.123522][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 56.123525][ T12] ret_from_fork+0x474/0x6b0 [ 56.123529][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 56.123533][ T12] ? __switch_to+0x5a3/0xe00 [ 56.123536][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 56.123538][ T12] ret_from_fork_asm+0x11/0x20 [ 56.123547][ T12] [ 56.427144][ T69] netdevsim netdevsim421 eni421np2: unset [0, 0] type 1 family 0 port 4790 - 0 [ 56.551984][ T3097] netdevsim netdevsim421 eni421np2: device assumes port 4789 will be used by vxlan tunnels [ 56.871517][ T165] udp_tunnel_nic. (165) used greatest stack depth: 23784 bytes left