[ 9.656827][ T167] ethtool (167) used greatest stack depth: 24528 bytes left [ 9.656848][ T167] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.656852][ T167] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 167, name: ethtool [ 9.656854][ T167] preempt_count: 2, expected: 0 [ 9.656855][ T167] RCU nest depth: 0, expected: 0 [ 9.656857][ T167] locks held by ethtool/167: 5, last CPU#1: [ 9.656860][ T167] #0: ffffffff9fe027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.656876][ T167] #1: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.656883][ T167] #2: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.656889][ T167] #3: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.656895][ T167] #4: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.656901][ T167] irq event stamp: 22922 [ 9.656902][ T167] hardirqs last enabled at (22921): [] __down_trylock_console_sem+0x86/0xa0 [ 9.656906][ T167] hardirqs last disabled at (22922): [] console_emit_next_record+0x3f8/0x4f0 [ 9.656909][ T167] softirqs last enabled at (22826): [] handle_softirqs+0x67c/0x900 [ 9.656913][ T167] softirqs last disabled at (22821): [] __irq_exit_rcu+0x145/0x1c0 [ 9.656916][ T167] Preemption disabled at: [ 9.656917][ T167] [<0000000000000000>] 0x0 [ 9.656926][ T167] CPU: 1 UID: 0 PID: 167 Comm: ethtool Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.656932][ T167] Tainted: [W]=WARN [ 9.656934][ T167] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.656936][ T167] Call Trace: [ 9.656938][ T167] [ 9.656941][ T167] dump_stack_lvl+0x6f/0xa0 [ 9.656949][ T167] __might_resched.cold+0x1fe/0x2c1 [ 9.656955][ T167] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.656961][ T167] ? __kmalloc_noprof+0xdb/0x760 [ 9.656968][ T167] __kmalloc_noprof+0x443/0x760 [ 9.656972][ T167] ? alloc_buf.isra.0+0x4b/0x260 [ 9.656980][ T167] ? do_raw_spin_unlock+0x59/0x250 [ 9.656984][ T167] alloc_buf.isra.0+0x4b/0x260 [ 9.656989][ T167] put_chars+0x1e1/0x2f0 [ 9.656993][ T167] ? __send_to_port+0x420/0x420 [ 9.656996][ T167] ? printk_get_next_message+0x2fe/0x7d0 [ 9.657001][ T167] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.657005][ T167] ? validate_chain+0x38b/0xc20 [ 9.657013][ T167] hvc_console_print+0x292/0x780 [ 9.657017][ T167] ? __lock_acquire+0x518/0xc20 [ 9.657019][ T167] ? __lock_acquire+0x518/0xc20 [ 9.657027][ T167] ? hvc_write+0x3a0/0x3a0 [ 9.657032][ T167] ? rcu_is_watching+0x16/0xd0 [ 9.657037][ T167] ? lock_acquire+0x13c/0x160 [ 9.657043][ T167] console_emit_next_record+0x252/0x4f0 [ 9.657050][ T167] ? devkmsg_read+0x4e0/0x4e0 [ 9.657057][ T167] ? rcu_is_watching+0x16/0xd0 [ 9.657061][ T167] ? lock_acquire+0x13c/0x160 [ 9.657067][ T167] console_flush_one_record+0x46f/0x710 [ 9.657074][ T167] ? console_emit_next_record+0x4f0/0x4f0 [ 9.657077][ T167] ? __lock_acquire+0x518/0xc20 [ 9.657086][ T167] console_unlock+0xee/0x1f0 [ 9.657090][ T167] ? console_flush_one_record+0x710/0x710 [ 9.657092][ T167] ? rcu_is_watching+0x16/0xd0 [ 9.657096][ T167] ? lock_acquire+0x60/0x160 [ 9.657102][ T167] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.657105][ T167] ? vprintk_emit+0x320/0x3e0 [ 9.657110][ T167] vprintk_emit+0x37c/0x3e0 [ 9.657116][ T167] ? wake_up_klogd_work_func+0x90/0x90 [ 9.657122][ T167] ? __lock_acquire+0x518/0xc20 [ 9.657128][ T167] _printk+0xc7/0x100 [ 9.657133][ T167] ? snapshot_read.cold+0x21/0x21 [ 9.657138][ T167] ? do_raw_spin_lock+0x131/0x280 [ 9.657142][ T167] ? __rwlock_init+0x150/0x150 [ 9.657148][ T167] ? do_raw_spin_lock+0x131/0x280 [ 9.657152][ T167] do_exit.cold+0x82/0x9c [ 9.657158][ T167] ? exit_notify+0x890/0x890 [ 9.657161][ T167] ? __lock_release.isra.0+0x69/0x1a0 [ 9.657165][ T167] ? rcu_is_watching+0x16/0xd0 [ 9.657172][ T167] do_group_exit+0xb8/0x370 [ 9.657177][ T167] __x64_sys_exit_group+0x3c/0x50 [ 9.657181][ T167] x64_sys_call+0x1567/0x1570 [ 9.657184][ T167] do_syscall_64+0xff/0x530 [ 9.657189][ T167] ? exc_page_fault+0xee/0x100 [ 9.657194][ T167] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.657198][ T167] RIP: 0033:0x7fd565a031b8 [ 9.657201][ T167] Code: Unable to access opcode bytes at 0x7fd565a0318e. [ 9.657203][ T167] RSP: 002b:00007fffc5098338 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.657206][ T167] RAX: ffffffffffffffda RBX: 00007fd565b33f88 RCX: 00007fd565a031b8 [ 9.657208][ T167] RDX: 00007fd565942408 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 9.657210][ T167] RBP: 00007fffc5098390 R08: 0000000000000000 R09: 000000000000006b [ 9.657211][ T167] R10: 00007fffc50981b0 R11: 0000000000000246 R12: 0000000000000001 [ 9.657213][ T167] R13: 0000000000000000 R14: 00007fd565b32680 R15: 00007fd565b33fa0 [ 9.657226][ T167] [ 10.100564][ T177] netdevsim netdevsim638 eni638np1: renamed from eth0 [ 10.445456][ T12] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 4789 - 0 [ 10.659777][ T12] netdevsim netdevsim638 eni638np1: unset [0, 0] type 1 family 0 port 4789 - 0 [ 10.659797][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.659800][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 10.659802][ T12] preempt_count: 1, expected: 0 [ 10.659803][ T12] RCU nest depth: 0, expected: 0 [ 10.659804][ T12] locks held by kworker/u16:0/12: 8, last CPU#2: [ 10.659806][ T12] #0: ff1100000c97e540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 10.659818][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 10.659822][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 10.659828][ T12] #3: ff110000097d3310 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 10.659831][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.659837][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.659840][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.659844][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.659848][ T12] irq event stamp: 748 [ 10.659849][ T12] hardirqs last enabled at (747): [] __down_trylock_console_sem+0x86/0xa0 [ 10.659851][ T12] hardirqs last disabled at (748): [] console_emit_next_record+0x3f8/0x4f0 [ 10.659853][ T12] softirqs last enabled at (728): [] __dev_queue_xmit+0x92b/0x1a10 [ 10.659856][ T12] softirqs last disabled at (682): [] __dev_queue_xmit+0x23b/0x1a10 [ 10.659859][ T12] Preemption disabled at: [ 10.659859][ T12] [] vprintk_emit+0x31b/0x3e0 [ 10.659865][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.659868][ T12] Tainted: [W]=WARN [ 10.659869][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.659871][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 10.659875][ T12] Call Trace: [ 10.659876][ T12] [ 10.659878][ T12] dump_stack_lvl+0x6f/0xa0 [ 10.659884][ T12] ? vprintk_emit+0x31b/0x3e0 [ 10.659886][ T12] __might_resched.cold+0x1fe/0x2c1 [ 10.659891][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.659895][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 10.659900][ T12] __kmalloc_noprof+0x443/0x760 [ 10.659902][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 10.659908][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 10.659911][ T12] alloc_buf.isra.0+0x4b/0x260 [ 10.659914][ T12] put_chars+0x1e1/0x2f0 [ 10.659917][ T12] ? __send_to_port+0x420/0x420 [ 10.659920][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.659925][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.659927][ T12] ? validate_chain+0x38b/0xc20 [ 10.659932][ T12] hvc_console_print+0x292/0x780 [ 10.659935][ T12] ? mark_usage+0x61/0x170 [ 10.659936][ T12] ? __lock_acquire+0x518/0xc20 [ 10.659938][ T12] ? __lock_acquire+0x518/0xc20 [ 10.659942][ T12] ? hvc_write+0x3a0/0x3a0 [ 10.659944][ T12] ? console_emit_next_record+0x202/0x4f0 [ 10.659947][ T12] ? rcu_is_watching+0x16/0xd0 [ 10.659949][ T12] ? lock_acquire+0x13c/0x160 [ 10.659953][ T12] console_emit_next_record+0x252/0x4f0 [ 10.659957][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 10.659961][ T12] ? rcu_is_watching+0x16/0xd0 [ 10.659964][ T12] ? lock_acquire+0x13c/0x160 [ 10.659967][ T12] console_flush_one_record+0x46f/0x710 [ 10.659972][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 10.659973][ T12] ? __lock_acquire+0x518/0xc20 [ 10.659979][ T12] console_unlock+0xee/0x1f0 [ 10.659981][ T12] ? console_flush_one_record+0x710/0x710 [ 10.659983][ T12] ? rcu_is_watching+0x16/0xd0 [ 10.659985][ T12] ? lock_acquire+0x60/0x160 [ 10.659989][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.659990][ T12] ? vprintk_emit+0x320/0x3e0 [ 10.659994][ T12] vprintk_emit+0x37c/0x3e0 [ 10.659997][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 10.660000][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 10.660005][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 10.660010][ T12] ? device_rename.cold+0xa/0xa [ 10.660015][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 10.660017][ T12] ? netdev_core_pick_tx+0x2d0/0x2d0 [ 10.660021][ T12] dev_printk_emit+0xb9/0xee [ 10.660023][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 10.660026][ T12] ? neigh_resolve_output.part.0+0x344/0x740 [ 10.660030][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.660032][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.660034][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.660036][ T12] ? validate_chain+0x38b/0xc20 [ 10.660039][ T12] __netdev_printk+0x160/0x1d0 [ 10.660045][ T12] netdev_info+0xe2/0x116 [ 10.660047][ T12] ? netdev_notice+0x120/0x120 [ 10.660051][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 10.660053][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 10.660056][ T12] ? rcu_is_watching+0x16/0xd0 [ 10.660060][ T12] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 10.660069][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 10.660074][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 10.660075][ T12] ? __asan_memset+0x27/0x50 [ 10.660079][ T12] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 10.660083][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 10.660089][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 10.660095][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 10.660098][ T12] ? rcu_is_watching+0x16/0xd0 [ 10.660100][ T12] ? lock_acquire+0x13c/0x160 [ 10.660102][ T12] ? rcu_is_watching+0x16/0xd0 [ 10.660105][ T12] ? process_one_work+0xe16/0x1560 [ 10.660107][ T12] ? process_one_work+0xdfc/0x1560 [ 10.660108][ T12] process_one_work+0xe3e/0x1560 [ 10.660114][ T12] ? __queue_delayed_work+0x470/0x470 [ 10.660117][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 10.660125][ T12] worker_thread+0x4f1/0xd60 [ 10.660132][ T12] ? rescuer_thread+0x1340/0x1340 [ 10.660134][ T12] kthread+0x367/0x460 [ 10.660136][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.660140][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 10.660143][ T12] ret_from_fork+0x474/0x6b0 [ 10.660148][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 10.660151][ T12] ? __switch_to+0x5a3/0xe00 [ 10.660154][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 10.660157][ T12] ret_from_fork_asm+0x11/0x20 [ 10.660165][ T12] [ 10.745405][ T12] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 4789 - 0 [ 11.075446][ T12] netdevsim netdevsim638 eni638np1: set [0, 1] type 1 family 0 port 4790 - 0 [ 11.306438][ T12] netdevsim netdevsim638 eni638np1: set [1, 0] type 2 family 0 port 6081 - 0 [ 11.845393][ T12] netdevsim netdevsim638 eni638np1: unset [0, 0] type 1 family 0 port 4789 - 0 [ 11.845411][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.845414][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 11.845416][ T12] preempt_count: 1, expected: 0 [ 11.845416][ T12] RCU nest depth: 0, expected: 0 [ 11.845417][ T12] locks held by kworker/u16:0/12: 8, last CPU#2: [ 11.845420][ T12] #0: ff1100000c97e540 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 11.845432][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 11.845436][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 11.845442][ T12] #3: ff110000097d3310 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 11.845446][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.845451][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.845455][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.845458][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.845462][ T12] irq event stamp: 7206 [ 11.845463][ T12] hardirqs last enabled at (7205): [] __down_trylock_console_sem+0x86/0xa0 [ 11.845466][ T12] hardirqs last disabled at (7206): [] console_emit_next_record+0x3f8/0x4f0 [ 11.845467][ T12] softirqs last enabled at (7178): [] __dev_queue_xmit+0x92b/0x1a10 [ 11.845471][ T12] softirqs last disabled at (7132): [] __dev_queue_xmit+0x23b/0x1a10 [ 11.845473][ T12] Preemption disabled at: [ 11.845473][ T12] [] vprintk_emit+0x31b/0x3e0 [ 11.845480][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.845483][ T12] Tainted: [W]=WARN [ 11.845484][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.845486][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 11.845490][ T12] Call Trace: [ 11.845492][ T12] [ 11.845493][ T12] dump_stack_lvl+0x6f/0xa0 [ 11.845498][ T12] ? vprintk_emit+0x31b/0x3e0 [ 11.845501][ T12] __might_resched.cold+0x1fe/0x2c1 [ 11.845505][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.845509][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 11.845514][ T12] __kmalloc_noprof+0x443/0x760 [ 11.845516][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 11.845522][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 11.845524][ T12] alloc_buf.isra.0+0x4b/0x260 [ 11.845528][ T12] put_chars+0x1e1/0x2f0 [ 11.845531][ T12] ? __send_to_port+0x420/0x420 [ 11.845534][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.845538][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.845540][ T12] ? validate_chain+0x38b/0xc20 [ 11.845544][ T12] hvc_console_print+0x292/0x780 [ 11.845547][ T12] ? mark_usage+0x61/0x170 [ 11.845549][ T12] ? __lock_acquire+0x518/0xc20 [ 11.845550][ T12] ? __lock_acquire+0x518/0xc20 [ 11.845554][ T12] ? hvc_write+0x3a0/0x3a0 [ 11.845556][ T12] ? console_emit_next_record+0x202/0x4f0 [ 11.845559][ T12] ? rcu_is_watching+0x16/0xd0 [ 11.845562][ T12] ? lock_acquire+0x13c/0x160 [ 11.845566][ T12] console_emit_next_record+0x252/0x4f0 [ 11.845570][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 11.845574][ T12] ? rcu_is_watching+0x16/0xd0 [ 11.845577][ T12] ? lock_acquire+0x13c/0x160 [ 11.845581][ T12] console_flush_one_record+0x46f/0x710 [ 11.845585][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 11.845586][ T12] ? __lock_acquire+0x518/0xc20 [ 11.845592][ T12] console_unlock+0xee/0x1f0 [ 11.845595][ T12] ? console_flush_one_record+0x710/0x710 [ 11.845596][ T12] ? rcu_is_watching+0x16/0xd0 [ 11.845598][ T12] ? lock_acquire+0x60/0x160 [ 11.845602][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.845604][ T12] ? vprintk_emit+0x320/0x3e0 [ 11.845607][ T12] vprintk_emit+0x37c/0x3e0 [ 11.845611][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 11.845614][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 11.845618][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 11.845624][ T12] ? device_rename.cold+0xa/0xa [ 11.845626][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.845634][ T12] dev_printk_emit+0xb9/0xee [ 11.845637][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 11.845641][ T12] ? find_held_lock+0x2b/0x80 [ 11.845645][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 11.845648][ T12] __netdev_printk+0x160/0x1d0 [ 11.845654][ T12] netdev_info+0xe2/0x116 [ 11.845656][ T12] ? netdev_notice+0x120/0x120 [ 11.845661][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 11.845662][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 11.845666][ T12] ? rcu_is_watching+0x16/0xd0 [ 11.845670][ T12] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 11.845676][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 11.845680][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 11.845682][ T12] ? __asan_memset+0x27/0x50 [ 11.845686][ T12] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 11.845690][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 11.845696][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 11.845703][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 11.845706][ T12] ? rcu_is_watching+0x16/0xd0 [ 11.845708][ T12] ? lock_acquire+0x13c/0x160 [ 11.845710][ T12] ? rcu_is_watching+0x16/0xd0 [ 11.845713][ T12] ? process_one_work+0xe16/0x1560 [ 11.845715][ T12] ? process_one_work+0xdfc/0x1560 [ 11.845716][ T12] process_one_work+0xe3e/0x1560 [ 11.845723][ T12] ? __queue_delayed_work+0x470/0x470 [ 11.845726][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 11.845733][ T12] worker_thread+0x4f1/0xd60 [ 11.845741][ T12] ? rescuer_thread+0x1340/0x1340 [ 11.845743][ T12] kthread+0x367/0x460 [ 11.845745][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.845749][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 11.845751][ T12] ret_from_fork+0x474/0x6b0 [ 11.845756][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 11.845760][ T12] ? __switch_to+0x5a3/0xe00 [ 11.845763][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 11.845766][ T12] ret_from_fork_asm+0x11/0x20 [ 11.845775][ T12] [ 11.949430][ T12] netdevsim netdevsim638 eni638np1: unset [0, 1] type 1 family 0 port 4790 - 0 [ 12.042430][ T12] netdevsim netdevsim638 eni638np1: unset [1, 0] type 2 family 0 port 6081 - 0 [ 12.919557][ T175] netdevsim netdevsim638 eni638np2: renamed from eth0 [ 12.919575][ T175] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.919578][ T175] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 175, name: (udev-worker) [ 12.919580][ T175] preempt_count: 1, expected: 0 [ 12.919581][ T175] RCU nest depth: 0, expected: 0 [ 12.919582][ T175] locks held by (udev-worker)/175: 6, last CPU#1: [ 12.919585][ T175] #0: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 12.919597][ T175] #1: ff1100000cb9add8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 12.919602][ T175] #2: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.919607][ T175] #3: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.919611][ T175] #4: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.919614][ T175] #5: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.919618][ T175] irq event stamp: 107486 [ 12.919619][ T175] hardirqs last enabled at (107485): [] __down_trylock_console_sem+0x86/0xa0 [ 12.919621][ T175] hardirqs last disabled at (107486): [] console_emit_next_record+0x3f8/0x4f0 [ 12.919623][ T175] softirqs last enabled at (107480): [] netif_change_name+0x216/0x8c0 [ 12.919626][ T175] softirqs last disabled at (107478): [] netif_change_name+0x1ad/0x8c0 [ 12.919628][ T175] Preemption disabled at: [ 12.919629][ T175] [] vprintk_emit+0x31b/0x3e0 [ 12.919635][ T175] CPU: 1 UID: 0 PID: 175 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.919639][ T175] Tainted: [W]=WARN [ 12.919640][ T175] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.919642][ T175] Call Trace: [ 12.919643][ T175] [ 12.919645][ T175] dump_stack_lvl+0x6f/0xa0 [ 12.919650][ T175] ? vprintk_emit+0x31b/0x3e0 [ 12.919652][ T175] __might_resched.cold+0x1fe/0x2c1 [ 12.919657][ T175] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.919661][ T175] ? __kmalloc_noprof+0xdb/0x760 [ 12.919666][ T175] __kmalloc_noprof+0x443/0x760 [ 12.919668][ T175] ? alloc_buf.isra.0+0x4b/0x260 [ 12.919674][ T175] ? do_raw_spin_unlock+0x59/0x250 [ 12.919676][ T175] alloc_buf.isra.0+0x4b/0x260 [ 12.919680][ T175] put_chars+0x1e1/0x2f0 [ 12.919683][ T175] ? __send_to_port+0x420/0x420 [ 12.919684][ T175] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.919689][ T175] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.919691][ T175] ? validate_chain+0x38b/0xc20 [ 12.919696][ T175] hvc_console_print+0x292/0x780 [ 12.919699][ T175] ? __lock_acquire+0x518/0xc20 [ 12.919704][ T175] ? hvc_write+0x3a0/0x3a0 [ 12.919707][ T175] ? rcu_is_watching+0x16/0xd0 [ 12.919712][ T175] console_emit_next_record+0x252/0x4f0 [ 12.919716][ T175] ? devkmsg_read+0x4e0/0x4e0 [ 12.919720][ T175] ? rcu_is_watching+0x16/0xd0 [ 12.919722][ T175] ? lock_acquire+0x13c/0x160 [ 12.919726][ T175] console_flush_one_record+0x46f/0x710 [ 12.919730][ T175] ? console_emit_next_record+0x4f0/0x4f0 [ 12.919732][ T175] ? __lock_acquire+0x518/0xc20 [ 12.919737][ T175] console_unlock+0xee/0x1f0 [ 12.919740][ T175] ? console_flush_one_record+0x710/0x710 [ 12.919741][ T175] ? rcu_is_watching+0x16/0xd0 [ 12.919744][ T175] ? lock_acquire+0x60/0x160 [ 12.919747][ T175] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.919749][ T175] ? vprintk_emit+0x320/0x3e0 [ 12.919752][ T175] vprintk_emit+0x37c/0x3e0 [ 12.919756][ T175] ? wake_up_klogd_work_func+0x90/0x90 [ 12.919758][ T175] ? __lock_acquire+0x518/0xc20 [ 12.919759][ T175] ? rwsem_optimistic_spin+0x3c7/0x480 [ 12.919765][ T175] dev_vprintk_emit+0x27f/0x2c0 [ 12.919771][ T175] ? device_rename.cold+0xa/0xa [ 12.919776][ T175] ? mark_usage+0x61/0x170 [ 12.919781][ T175] dev_printk_emit+0xb9/0xee [ 12.919783][ T175] ? dev_vprintk_emit+0x2c0/0x2c0 [ 12.919792][ T175] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.919795][ T175] ? validate_chain+0x38b/0xc20 [ 12.919797][ T175] ? __lock_acquire+0x518/0xc20 [ 12.919798][ T175] ? __lock_acquire+0x518/0xc20 [ 12.919800][ T175] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.919802][ T175] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.919806][ T175] __netdev_printk+0x160/0x1d0 [ 12.919812][ T175] netdev_info+0xe2/0x116 [ 12.919814][ T175] ? netdev_notice+0x120/0x120 [ 12.919817][ T175] ? find_held_lock+0x2b/0x80 [ 12.919820][ T175] ? __lock_release.isra.0+0x69/0x1a0 [ 12.919822][ T175] ? mark_held_locks+0x40/0x70 [ 12.919826][ T175] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 12.919828][ T175] netif_change_name.cold+0x4f/0x89 [ 12.919831][ T175] ? __lock_acquire+0x518/0xc20 [ 12.919833][ T175] ? rwsem_optimistic_spin+0x3c7/0x480 [ 12.919835][ T175] ? find_held_lock+0x2/0x80 [ 12.919839][ T175] ? netdev_adjacent_rename_links+0x470/0x470 [ 12.919841][ T175] ? find_held_lock+0x2b/0x80 [ 12.919844][ T175] ? __asan_memset+0x27/0x50 [ 12.919850][ T175] do_setlink.isra.0+0x1f7d/0x2a60 [ 12.919853][ T175] ? __lock_acquire+0x518/0xc20 [ 12.919856][ T175] ? rtnl_link_get_size+0x350/0x350 [ 12.919858][ T175] ? mark_usage+0x61/0x170 [ 12.919859][ T175] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.919861][ T175] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.919863][ T175] ? validate_chain+0x38b/0xc20 [ 12.919867][ T175] ? __lock_acquire+0x518/0xc20 [ 12.919872][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 12.919873][ T175] ? rtnl_setlink+0x29d/0x920 [ 12.919876][ T175] ? rcu_is_watching+0x16/0xd0 [ 12.919879][ T175] ? lock_acquire+0x13c/0x160 [ 12.919880][ T175] ? rcu_is_watching+0x16/0xd0 [ 12.919882][ T175] ? rcu_is_watching+0x16/0xd0 [ 12.919884][ T175] ? trace_contention_end+0xb3/0x180 [ 12.919886][ T175] ? __mutex_lock+0x1db/0x1ea0 [ 12.919890][ T175] ? __mutex_lock+0x9a3/0x1ea0 [ 12.919891][ T175] ? __lock_acquire+0x518/0xc20 [ 12.919893][ T175] ? rtnl_setlink+0x29d/0x920 [ 12.919895][ T175] ? mark_usage+0x61/0x170 [ 12.919898][ T175] ? ww_mutex_lock+0x160/0x160 [ 12.919899][ T175] ? nla_get_range_signed+0x3d0/0x3d0 [ 12.919905][ T175] ? mark_usage+0x61/0x170 [ 12.919908][ T175] ? cap_capable+0x1d7/0x3d0 [ 12.919917][ T175] rtnl_setlink+0x527/0x920 [ 12.919921][ T175] ? __rtnl_newlink+0xa50/0xa50 [ 12.919922][ T175] ? __lock_acquire+0x518/0xc20 [ 12.919946][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 12.919948][ T175] ? find_held_lock+0x2b/0x80 [ 12.919951][ T175] ? __lock_release.isra.0+0x69/0x1a0 [ 12.919953][ T175] ? mark_usage+0x61/0x170 [ 12.919955][ T175] ? __lock_acquire+0x518/0xc20 [ 12.919959][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 12.919961][ T175] ? find_held_lock+0x2b/0x80 [ 12.919963][ T175] ? __rtnl_newlink+0xa50/0xa50 [ 12.919965][ T175] ? __lock_release.isra.0+0x69/0x1a0 [ 12.919969][ T175] ? __rtnl_newlink+0xa50/0xa50 [ 12.919971][ T175] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 12.919975][ T175] ? rtnl_link_fill+0x900/0x900 [ 12.919976][ T175] ? __lock_acquire+0x518/0xc20 [ 12.919981][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 12.919982][ T175] ? find_held_lock+0x2b/0x80 [ 12.919986][ T175] netlink_rcv_skb+0x14e/0x3a0 [ 12.919990][ T175] ? rtnl_link_fill+0x900/0x900 [ 12.919993][ T175] ? netlink_ack+0xcd0/0xcd0 [ 12.920000][ T175] ? netlink_deliver_tap+0xc5/0x330 [ 12.920002][ T175] ? netlink_deliver_tap+0x13c/0x330 [ 12.920007][ T175] netlink_unicast+0x486/0x750 [ 12.920011][ T175] ? netlink_attachskb+0x810/0x810 [ 12.920014][ T175] ? __lock_acquire+0x518/0xc20 [ 12.920018][ T175] netlink_sendmsg+0x735/0xc60 [ 12.920022][ T175] ? netlink_unicast+0x750/0x750 [ 12.920026][ T175] ? __might_fault+0x97/0x140 [ 12.920030][ T175] ? __might_fault+0x97/0x140 [ 12.920033][ T175] __sys_sendto+0x2aa/0x400 [ 12.920037][ T175] ? __ia32_sys_getpeername+0xd0/0xd0 [ 12.920047][ T175] ? exc_page_fault+0x87/0x100 [ 12.920053][ T175] __x64_sys_sendto+0xe4/0x1f0 [ 12.920055][ T175] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.920059][ T175] ? lockdep_hardirqs_on+0x91/0x130 [ 12.920061][ T175] ? do_syscall_64+0xa6/0x530 [ 12.920062][ T175] do_syscall_64+0xff/0x530 [ 12.920064][ T175] ? exc_page_fault+0xee/0x100 [ 12.920066][ T175] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.920069][ T175] RIP: 0033:0x7fdd86fd654e [ 12.920072][ T175] 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.920075][ T175] RSP: 002b:00007ffcf6233ba0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 12.920077][ T175] RAX: ffffffffffffffda RBX: 0000563bd67024f0 RCX: 00007fdd86fd654e [ 12.920079][ T175] RDX: 0000000000000030 RSI: 0000563bd66e9550 RDI: 0000000000000012 [ 12.920080][ T175] RBP: 00007ffcf6233bb0 R08: 00007ffcf6233c00 R09: 0000000000000080 [ 12.920080][ T175] R10: 0000000000000000 R11: 0000000000000202 R12: 0000563bd685ae30 [ 12.920081][ T175] R13: 00007ffcf6233ce4 R14: 0000000000000000 R15: 0000000000000000 [ 12.920088][ T175] [ 13.248981][ T12] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 4789 - 0 [ 13.250383][ T12] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 4789 - 0 [ 13.508384][ T12] netdevsim netdevsim638 eni638np2: unset [0, 0] type 1 family 0 port 4789 - 0 [ 13.508814][ T12] netdevsim netdevsim638 eni638np1: unset [0, 0] type 1 family 0 port 4789 - 0 [ 13.591400][ T12] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 4789 - 0 [ 13.591826][ T12] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 4789 - 0 [ 13.841383][ T12] netdevsim netdevsim638 eni638np2: set [0, 1] type 1 family 0 port 4790 - 0 [ 13.841806][ T12] netdevsim netdevsim638 eni638np1: set [0, 1] type 1 family 0 port 4790 - 0 [ 14.016452][ T12] netdevsim netdevsim638 eni638np2: set [1, 0] type 2 family 0 port 6081 - 0 [ 14.016471][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.016473][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 14.016475][ T12] preempt_count: 1, expected: 0 [ 14.016476][ T12] RCU nest depth: 0, expected: 0 [ 14.016477][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 14.016479][ T12] #0: ff1100000c88d940 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 14.016491][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 14.016495][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 14.016502][ T12] #3: ff1100000c9e0910 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 14.016505][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.016510][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.016514][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.016517][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 14.016521][ T12] irq event stamp: 10174 [ 14.016522][ T12] hardirqs last enabled at (10173): [] __down_trylock_console_sem+0x86/0xa0 [ 14.016524][ T12] hardirqs last disabled at (10174): [] console_emit_next_record+0x3f8/0x4f0 [ 14.016526][ T12] softirqs last enabled at (10162): [] addrconf_dad_begin+0x37f/0x540 [ 14.016530][ T12] softirqs last disabled at (10154): [] addrconf_dad_begin+0x154/0x540 [ 14.016533][ T12] Preemption disabled at: [ 14.016533][ T12] [] vprintk_emit+0x31b/0x3e0 [ 14.016539][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.016543][ T12] Tainted: [W]=WARN [ 14.016543][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.016545][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 14.016549][ T12] Call Trace: [ 14.016551][ T12] [ 14.016553][ T12] dump_stack_lvl+0x6f/0xa0 [ 14.016558][ T12] ? vprintk_emit+0x31b/0x3e0 [ 14.016560][ T12] __might_resched.cold+0x1fe/0x2c1 [ 14.016565][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.016568][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 14.016573][ T12] __kmalloc_noprof+0x443/0x760 [ 14.016576][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 14.016582][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 14.016584][ T12] alloc_buf.isra.0+0x4b/0x260 [ 14.016587][ T12] put_chars+0x1e1/0x2f0 [ 14.016590][ T12] ? __send_to_port+0x420/0x420 [ 14.016594][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.016598][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.016600][ T12] ? validate_chain+0x38b/0xc20 [ 14.016604][ T12] hvc_console_print+0x292/0x780 [ 14.016607][ T12] ? mark_usage+0x61/0x170 [ 14.016609][ T12] ? __lock_acquire+0x518/0xc20 [ 14.016610][ T12] ? __lock_acquire+0x518/0xc20 [ 14.016614][ T12] ? hvc_write+0x3a0/0x3a0 [ 14.016616][ T12] ? console_emit_next_record+0x202/0x4f0 [ 14.016619][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.016621][ T12] ? lock_acquire+0x13c/0x160 [ 14.016625][ T12] console_emit_next_record+0x252/0x4f0 [ 14.016629][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 14.016634][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.016636][ T12] ? lock_acquire+0x13c/0x160 [ 14.016640][ T12] console_flush_one_record+0x46f/0x710 [ 14.016644][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 14.016646][ T12] ? __lock_acquire+0x518/0xc20 [ 14.016651][ T12] console_unlock+0xee/0x1f0 [ 14.016654][ T12] ? console_flush_one_record+0x710/0x710 [ 14.016655][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.016657][ T12] ? lock_acquire+0x60/0x160 [ 14.016661][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.016663][ T12] ? vprintk_emit+0x320/0x3e0 [ 14.016666][ T12] vprintk_emit+0x37c/0x3e0 [ 14.016670][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 14.016673][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 14.016677][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 14.016683][ T12] ? device_rename.cold+0xa/0xa [ 14.016685][ T12] ? debug_object_activate+0x345/0x4a0 [ 14.016692][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 14.016696][ T12] dev_printk_emit+0xb9/0xee [ 14.016699][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 14.016701][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 14.016710][ T12] __netdev_printk+0x160/0x1d0 [ 14.016716][ T12] netdev_info+0xe2/0x116 [ 14.016718][ T12] ? netdev_notice+0x120/0x120 [ 14.016722][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 14.016724][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 14.016727][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.016731][ T12] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 14.016739][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 14.016741][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 14.016743][ T12] ? __asan_memset+0x27/0x50 [ 14.016747][ T12] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 14.016752][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 14.016758][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 14.016764][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 14.016767][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.016769][ T12] ? lock_acquire+0x13c/0x160 [ 14.016770][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.016774][ T12] ? process_one_work+0xe16/0x1560 [ 14.016775][ T12] ? process_one_work+0xdfc/0x1560 [ 14.016777][ T12] process_one_work+0xe3e/0x1560 [ 14.016784][ T12] ? __queue_delayed_work+0x470/0x470 [ 14.016786][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 14.016798][ T12] worker_thread+0x4f1/0xd60 [ 14.016805][ T12] ? rescuer_thread+0x1340/0x1340 [ 14.016807][ T12] kthread+0x367/0x460 [ 14.016810][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.016814][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 14.016816][ T12] ret_from_fork+0x474/0x6b0 [ 14.016821][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 14.016825][ T12] ? __switch_to+0x5a3/0xe00 [ 14.016828][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 14.016830][ T12] ret_from_fork_asm+0x11/0x20 [ 14.016840][ T12] [ 14.059900][ T12] netdevsim netdevsim638 eni638np1: set [1, 0] type 2 family 0 port 6081 - 0 [ 14.140849][ T340] netdevsim netdevsim638 eni638np2: unset [0, 0] type 1 family 0 port 4789 - 0 [ 14.142203][ T340] netdevsim netdevsim638 eni638np2: unset [0, 1] type 1 family 0 port 4790 - 0 [ 14.142750][ T340] netdevsim netdevsim638 eni638np2: unset [1, 0] type 2 family 0 port 6081 - 0 [ 14.150644][ T340] ip (340) used greatest stack depth: 24024 bytes left [ 14.179086][ T12] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 4789 - 0 [ 14.179510][ T12] netdevsim netdevsim638 eni638np2: set [0, 1] type 1 family 0 port 4790 - 0 [ 14.179884][ T12] netdevsim netdevsim638 eni638np2: set [1, 0] type 2 family 0 port 6081 - 0 [ 14.485390][ T12] netdevsim netdevsim638 eni638np1: unset [0, 0] type 1 family 0 port 4789 - 0 [ 14.485821][ T12] netdevsim netdevsim638 eni638np2: unset [0, 0] type 1 family 0 port 4789 - 0 [ 14.546383][ T12] netdevsim netdevsim638 eni638np1: unset [0, 1] type 1 family 0 port 4790 - 0 [ 14.546816][ T12] netdevsim netdevsim638 eni638np2: unset [0, 1] type 1 family 0 port 4790 - 0 [ 14.617440][ T12] netdevsim netdevsim638 eni638np2: unset [1, 0] type 2 family 0 port 6081 - 0 [ 14.617891][ T12] netdevsim netdevsim638 eni638np1: unset [1, 0] type 2 family 0 port 6081 - 0 [ 15.765250][ T177] netdevsim netdevsim638 eni638np1: renamed from eth0 [ 15.765371][ T177] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.765374][ T177] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 177, name: (udev-worker) [ 15.765376][ T177] preempt_count: 1, expected: 0 [ 15.765377][ T177] RCU nest depth: 0, expected: 0 [ 15.765378][ T177] locks held by (udev-worker)/177: 6, last CPU#0: [ 15.765380][ T177] #0: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 15.765392][ T177] #1: ff1100000d282dd8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 15.765397][ T177] #2: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.765403][ T177] #3: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.765406][ T177] #4: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.765410][ T177] #5: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 15.765414][ T177] irq event stamp: 669732 [ 15.765415][ T177] hardirqs last enabled at (669731): [] __down_trylock_console_sem+0x86/0xa0 [ 15.765417][ T177] hardirqs last disabled at (669732): [] console_emit_next_record+0x3f8/0x4f0 [ 15.765419][ T177] softirqs last enabled at (669726): [] netif_change_name+0x216/0x8c0 [ 15.765421][ T177] softirqs last disabled at (669724): [] netif_change_name+0x1ad/0x8c0 [ 15.765424][ T177] Preemption disabled at: [ 15.765424][ T177] [] vprintk_emit+0x31b/0x3e0 [ 15.765430][ T177] CPU: 0 UID: 0 PID: 177 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.765434][ T177] Tainted: [W]=WARN [ 15.765435][ T177] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.765436][ T177] Call Trace: [ 15.765438][ T177] [ 15.765440][ T177] dump_stack_lvl+0x6f/0xa0 [ 15.765445][ T177] ? vprintk_emit+0x31b/0x3e0 [ 15.765447][ T177] __might_resched.cold+0x1fe/0x2c1 [ 15.765452][ T177] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.765456][ T177] ? __kmalloc_noprof+0xdb/0x760 [ 15.765460][ T177] __kmalloc_noprof+0x443/0x760 [ 15.765463][ T177] ? alloc_buf.isra.0+0x4b/0x260 [ 15.765468][ T177] ? do_raw_spin_unlock+0x59/0x250 [ 15.765471][ T177] alloc_buf.isra.0+0x4b/0x260 [ 15.765474][ T177] put_chars+0x1e1/0x2f0 [ 15.765477][ T177] ? __send_to_port+0x420/0x420 [ 15.765480][ T177] ? validate_chain+0x34a/0xc20 [ 15.765485][ T177] hvc_console_print+0x292/0x780 [ 15.765488][ T177] ? __lock_acquire+0x518/0xc20 [ 15.765493][ T177] ? hvc_write+0x3a0/0x3a0 [ 15.765495][ T177] ? rcu_is_watching+0x16/0xd0 [ 15.765502][ T177] console_emit_next_record+0x252/0x4f0 [ 15.765505][ T177] ? devkmsg_read+0x4e0/0x4e0 [ 15.765509][ T177] ? rcu_is_watching+0x16/0xd0 [ 15.765512][ T177] ? lock_acquire+0x13c/0x160 [ 15.765515][ T177] console_flush_one_record+0x46f/0x710 [ 15.765519][ T177] ? console_emit_next_record+0x4f0/0x4f0 [ 15.765521][ T177] ? __lock_acquire+0x518/0xc20 [ 15.765526][ T177] console_unlock+0xee/0x1f0 [ 15.765529][ T177] ? console_flush_one_record+0x710/0x710 [ 15.765530][ T177] ? rcu_is_watching+0x16/0xd0 [ 15.765532][ T177] ? lock_acquire+0x60/0x160 [ 15.765536][ T177] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.765537][ T177] ? vprintk_emit+0x320/0x3e0 [ 15.765540][ T177] vprintk_emit+0x37c/0x3e0 [ 15.765544][ T177] ? wake_up_klogd_work_func+0x90/0x90 [ 15.765546][ T177] ? write_profile+0xf0/0xf0 [ 15.765550][ T177] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.765552][ T177] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.765557][ T177] dev_vprintk_emit+0x27f/0x2c0 [ 15.765562][ T177] ? device_rename.cold+0xa/0xa [ 15.765564][ T177] ? check_irq_usage+0x143/0x570 [ 15.765572][ T177] dev_printk_emit+0xb9/0xee [ 15.765575][ T177] ? dev_vprintk_emit+0x2c0/0x2c0 [ 15.765578][ T177] ? check_prev_add+0xef/0xe90 [ 15.765580][ T177] ? check_prev_add+0xef/0xe90 [ 15.765585][ T177] __netdev_printk+0x160/0x1d0 [ 15.765590][ T177] netdev_info+0xe2/0x116 [ 15.765592][ T177] ? netdev_notice+0x120/0x120 [ 15.765594][ T177] ? find_held_lock+0x2b/0x80 [ 15.765598][ T177] ? __lock_release.isra.0+0x69/0x1a0 [ 15.765601][ T177] ? mark_held_locks+0x40/0x70 [ 15.765604][ T177] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 15.765607][ T177] netif_change_name.cold+0x4f/0x89 [ 15.765610][ T177] ? __lock_acquire+0x518/0xc20 [ 15.765611][ T177] ? rwsem_optimistic_spin+0x3c7/0x480 [ 15.765614][ T177] ? find_held_lock+0x2/0x80 [ 15.765617][ T177] ? netdev_adjacent_rename_links+0x470/0x470 [ 15.765619][ T177] ? find_held_lock+0x2b/0x80 [ 15.765623][ T177] ? __asan_memset+0x27/0x50 [ 15.765628][ T177] do_setlink.isra.0+0x1f7d/0x2a60 [ 15.765631][ T177] ? __lock_acquire+0x518/0xc20 [ 15.765634][ T177] ? rtnl_link_get_size+0x350/0x350 [ 15.765636][ T177] ? mark_usage+0x61/0x170 [ 15.765637][ T177] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.765639][ T177] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.765641][ T177] ? validate_chain+0x38b/0xc20 [ 15.765645][ T177] ? __lock_acquire+0x518/0xc20 [ 15.765650][ T177] ? lock_acquire.part.0+0xd4/0x280 [ 15.765651][ T177] ? rtnl_setlink+0x29d/0x920 [ 15.765654][ T177] ? rcu_is_watching+0x16/0xd0 [ 15.765657][ T177] ? lock_acquire+0x13c/0x160 [ 15.765658][ T177] ? rcu_is_watching+0x16/0xd0 [ 15.765659][ T177] ? rcu_is_watching+0x16/0xd0 [ 15.765662][ T177] ? trace_contention_end+0xb3/0x180 [ 15.765664][ T177] ? __mutex_lock+0x1db/0x1ea0 [ 15.765668][ T177] ? __mutex_lock+0x9a3/0x1ea0 [ 15.765669][ T177] ? __lock_acquire+0x518/0xc20 [ 15.765671][ T177] ? rtnl_setlink+0x29d/0x920 [ 15.765673][ T177] ? mark_usage+0x61/0x170 [ 15.765676][ T177] ? ww_mutex_lock+0x160/0x160 [ 15.765677][ T177] ? nla_get_range_signed+0x3d0/0x3d0 [ 15.765684][ T177] ? mark_usage+0x61/0x170 [ 15.765687][ T177] ? cap_capable+0x1d7/0x3d0 [ 15.765695][ T177] rtnl_setlink+0x527/0x920 [ 15.765698][ T177] ? __rtnl_newlink+0xa50/0xa50 [ 15.765700][ T177] ? __lock_acquire+0x518/0xc20 [ 15.765723][ T177] ? lock_acquire.part.0+0xd4/0x280 [ 15.765725][ T177] ? find_held_lock+0x2b/0x80 [ 15.765728][ T177] ? __lock_release.isra.0+0x69/0x1a0 [ 15.765730][ T177] ? mark_usage+0x61/0x170 [ 15.765731][ T177] ? __lock_acquire+0x518/0xc20 [ 15.765736][ T177] ? lock_acquire.part.0+0xd4/0x280 [ 15.765737][ T177] ? find_held_lock+0x2b/0x80 [ 15.765740][ T177] ? __rtnl_newlink+0xa50/0xa50 [ 15.765742][ T177] ? __lock_release.isra.0+0x69/0x1a0 [ 15.765745][ T177] ? __rtnl_newlink+0xa50/0xa50 [ 15.765748][ T177] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 15.765751][ T177] ? rtnl_link_fill+0x900/0x900 [ 15.765753][ T177] ? __lock_acquire+0x518/0xc20 [ 15.765757][ T177] ? lock_acquire.part.0+0xd4/0x280 [ 15.765759][ T177] ? find_held_lock+0x2b/0x80 [ 15.765763][ T177] netlink_rcv_skb+0x14e/0x3a0 [ 15.765766][ T177] ? rtnl_link_fill+0x900/0x900 [ 15.765770][ T177] ? netlink_ack+0xcd0/0xcd0 [ 15.765776][ T177] ? netlink_deliver_tap+0xc5/0x330 [ 15.765778][ T177] ? netlink_deliver_tap+0x13c/0x330 [ 15.765783][ T177] netlink_unicast+0x486/0x750 [ 15.765788][ T177] ? netlink_attachskb+0x810/0x810 [ 15.765790][ T177] ? __lock_acquire+0x518/0xc20 [ 15.765795][ T177] netlink_sendmsg+0x735/0xc60 [ 15.765799][ T177] ? netlink_unicast+0x750/0x750 [ 15.765809][ T177] ? __might_fault+0x97/0x140 [ 15.765814][ T177] ? __might_fault+0x97/0x140 [ 15.765817][ T177] __sys_sendto+0x2aa/0x400 [ 15.765821][ T177] ? __ia32_sys_getpeername+0xd0/0xd0 [ 15.765835][ T177] __x64_sys_sendto+0xe4/0x1f0 [ 15.765837][ T177] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.765841][ T177] ? lockdep_hardirqs_on+0x91/0x130 [ 15.765844][ T177] ? do_syscall_64+0xa6/0x530 [ 15.765845][ T177] do_syscall_64+0xff/0x530 [ 15.765846][ T177] ? exc_page_fault+0xee/0x100 [ 15.765849][ T177] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.765851][ T177] RIP: 0033:0x7fdd86fd654e [ 15.765855][ T177] 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.765857][ T177] RSP: 002b:00007ffcf6233ba0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 15.765860][ T177] RAX: ffffffffffffffda RBX: 0000563bd67024f0 RCX: 00007fdd86fd654e [ 15.765861][ T177] RDX: 0000000000000030 RSI: 0000563bd66ecd90 RDI: 0000000000000016 [ 15.765862][ T177] RBP: 00007ffcf6233bb0 R08: 00007ffcf6233c00 R09: 0000000000000080 [ 15.765863][ T177] R10: 0000000000000000 R11: 0000000000000202 R12: 0000563bd687ca70 [ 15.765864][ T177] R13: 00007ffcf6233ce4 R14: 0000000000000000 R15: 0000000000000000 [ 15.765871][ T177] [ 16.120614][ T12] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 16.211923][ T385] netdevsim netdevsim638 eni638np1 (unregistering): unset [0, 0] type 1 family 0 port 10000 - 0 [ 16.450761][ T177] netdevsim netdevsim638 eni638np1: renamed from eth0 [ 16.875395][ T12] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 16.875419][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.875422][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 16.875425][ T12] preempt_count: 1, expected: 0 [ 16.875426][ T12] RCU nest depth: 0, expected: 0 [ 16.875428][ T12] locks held by kworker/u16:0/12: 8, last CPU#0: [ 16.875431][ T12] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 16.875446][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 16.875452][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 16.875461][ T12] #3: ff1100000d29ef10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 16.875468][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.875475][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.875481][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.875487][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 16.875493][ T12] irq event stamp: 17992 [ 16.875495][ T12] hardirqs last enabled at (17991): [] __down_trylock_console_sem+0x86/0xa0 [ 16.875498][ T12] hardirqs last disabled at (17992): [] console_emit_next_record+0x3f8/0x4f0 [ 16.875501][ T12] softirqs last enabled at (17980): [] addrconf_dad_begin+0x37f/0x540 [ 16.875506][ T12] softirqs last disabled at (17972): [] addrconf_dad_begin+0x154/0x540 [ 16.875509][ T12] Preemption disabled at: [ 16.875510][ T12] [] vprintk_emit+0x31b/0x3e0 [ 16.875517][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.875522][ T12] Tainted: [W]=WARN [ 16.875524][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.875526][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 16.875531][ T12] Call Trace: [ 16.875534][ T12] [ 16.875536][ T12] dump_stack_lvl+0x6f/0xa0 [ 16.875543][ T12] ? vprintk_emit+0x31b/0x3e0 [ 16.875547][ T12] __might_resched.cold+0x1fe/0x2c1 [ 16.875554][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.875560][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 16.875567][ T12] __kmalloc_noprof+0x443/0x760 [ 16.875571][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 16.875580][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 16.875583][ T12] alloc_buf.isra.0+0x4b/0x260 [ 16.875589][ T12] put_chars+0x1e1/0x2f0 [ 16.875594][ T12] ? __send_to_port+0x420/0x420 [ 16.875599][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.875605][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.875608][ T12] ? validate_chain+0x38b/0xc20 [ 16.875615][ T12] hvc_console_print+0x292/0x780 [ 16.875620][ T12] ? mark_usage+0x61/0x170 [ 16.875622][ T12] ? __lock_acquire+0x518/0xc20 [ 16.875625][ T12] ? __lock_acquire+0x518/0xc20 [ 16.875632][ T12] ? hvc_write+0x3a0/0x3a0 [ 16.875636][ T12] ? console_emit_next_record+0x202/0x4f0 [ 16.875641][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.875645][ T12] ? lock_acquire+0x13c/0x160 [ 16.875652][ T12] console_emit_next_record+0x252/0x4f0 [ 16.875659][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 16.875667][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.875671][ T12] ? lock_acquire+0x13c/0x160 [ 16.875678][ T12] console_flush_one_record+0x46f/0x710 [ 16.875685][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 16.875688][ T12] ? __lock_acquire+0x518/0xc20 [ 16.875698][ T12] console_unlock+0xee/0x1f0 [ 16.875702][ T12] ? console_flush_one_record+0x710/0x710 [ 16.875705][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.875708][ T12] ? lock_acquire+0x60/0x160 [ 16.875715][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.875717][ T12] ? vprintk_emit+0x320/0x3e0 [ 16.875723][ T12] vprintk_emit+0x37c/0x3e0 [ 16.875729][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 16.875735][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 16.875743][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 16.875750][ T12] ? device_rename.cold+0xa/0xa [ 16.875753][ T12] ? debug_object_activate+0x345/0x4a0 [ 16.875770][ T12] dev_printk_emit+0xb9/0xee [ 16.875774][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 16.875785][ T12] ? should_we_balance+0x117/0x8f0 [ 16.875792][ T12] __netdev_printk+0x160/0x1d0 [ 16.875802][ T12] netdev_info+0xe2/0x116 [ 16.875806][ T12] ? netdev_notice+0x120/0x120 [ 16.875817][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 16.875820][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 16.875826][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.875833][ T12] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 16.875844][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 16.875850][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 16.875853][ T12] ? __asan_memset+0x27/0x50 [ 16.875859][ T12] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 16.875866][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 16.875877][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 16.875889][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 16.875893][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.875896][ T12] ? lock_acquire+0x13c/0x160 [ 16.875899][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.875905][ T12] ? process_one_work+0xe16/0x1560 [ 16.875908][ T12] ? process_one_work+0xdfc/0x1560 [ 16.875910][ T12] process_one_work+0xe3e/0x1560 [ 16.875922][ T12] ? __queue_delayed_work+0x470/0x470 [ 16.875927][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 16.875943][ T12] worker_thread+0x4f1/0xd60 [ 16.875957][ T12] ? rescuer_thread+0x1340/0x1340 [ 16.875960][ T12] kthread+0x367/0x460 [ 16.875963][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.875968][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 16.875973][ T12] ret_from_fork+0x474/0x6b0 [ 16.875980][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 16.875986][ T12] ? __switch_to+0x5a3/0xe00 [ 16.875991][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 16.875996][ T12] ret_from_fork_asm+0x11/0x20 [ 16.876012][ T12] [ 17.031381][ T12] netdevsim netdevsim638 eni638np1: set [0, 1] type 1 family 0 port 10001 - 0 [ 17.173471][ T12] netdevsim netdevsim638 eni638np1: set [0, 2] type 1 family 0 port 10002 - 0 [ 17.404793][ T12] netdevsim netdevsim638 eni638np1: set [0, 3] type 1 family 0 port 10003 - 0 [ 17.881643][ T12] netdevsim netdevsim638 eni638np1: set [1, 0] type 2 family 0 port 20000 - 0 [ 17.881666][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.881670][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 17.881672][ T12] preempt_count: 1, expected: 0 [ 17.881673][ T12] RCU nest depth: 0, expected: 0 [ 17.881675][ T12] locks held by kworker/u16:0/12: 8, last CPU#0: [ 17.881678][ T12] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 17.881694][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 17.881700][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 17.881709][ T12] #3: ff1100000d29ef10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 17.881716][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.881724][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.881730][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.881735][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 17.881742][ T12] irq event stamp: 19530 [ 17.881743][ T12] hardirqs last enabled at (19529): [] __down_trylock_console_sem+0x86/0xa0 [ 17.881746][ T12] hardirqs last disabled at (19530): [] console_emit_next_record+0x3f8/0x4f0 [ 17.881749][ T12] softirqs last enabled at (19514): [] addrconf_dad_begin+0x37f/0x540 [ 17.881754][ T12] softirqs last disabled at (19506): [] addrconf_dad_begin+0x154/0x540 [ 17.881758][ T12] Preemption disabled at: [ 17.881759][ T12] [] vprintk_emit+0x31b/0x3e0 [ 17.881766][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.881771][ T12] Tainted: [W]=WARN [ 17.881773][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.881775][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 17.881780][ T12] Call Trace: [ 17.881782][ T12] [ 17.881785][ T12] dump_stack_lvl+0x6f/0xa0 [ 17.881792][ T12] ? vprintk_emit+0x31b/0x3e0 [ 17.881795][ T12] __might_resched.cold+0x1fe/0x2c1 [ 17.881802][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.881807][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 17.881815][ T12] __kmalloc_noprof+0x443/0x760 [ 17.881823][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 17.881833][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 17.881836][ T12] alloc_buf.isra.0+0x4b/0x260 [ 17.881842][ T12] put_chars+0x1e1/0x2f0 [ 17.881846][ T12] ? __send_to_port+0x420/0x420 [ 17.881852][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.881858][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.881861][ T12] ? validate_chain+0x38b/0xc20 [ 17.881868][ T12] hvc_console_print+0x292/0x780 [ 17.881872][ T12] ? mark_usage+0x61/0x170 [ 17.881875][ T12] ? __lock_acquire+0x518/0xc20 [ 17.881877][ T12] ? __lock_acquire+0x518/0xc20 [ 17.881884][ T12] ? hvc_write+0x3a0/0x3a0 [ 17.881888][ T12] ? console_emit_next_record+0x202/0x4f0 [ 17.881893][ T12] ? rcu_is_watching+0x16/0xd0 [ 17.881897][ T12] ? lock_acquire+0x13c/0x160 [ 17.881904][ T12] console_emit_next_record+0x252/0x4f0 [ 17.881911][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 17.881919][ T12] ? rcu_is_watching+0x16/0xd0 [ 17.881923][ T12] ? lock_acquire+0x13c/0x160 [ 17.881931][ T12] console_flush_one_record+0x46f/0x710 [ 17.881939][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 17.881941][ T12] ? __lock_acquire+0x518/0xc20 [ 17.881951][ T12] console_unlock+0xee/0x1f0 [ 17.881956][ T12] ? console_flush_one_record+0x710/0x710 [ 17.881958][ T12] ? rcu_is_watching+0x16/0xd0 [ 17.881962][ T12] ? lock_acquire+0x60/0x160 [ 17.881969][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.881971][ T12] ? vprintk_emit+0x320/0x3e0 [ 17.881977][ T12] vprintk_emit+0x37c/0x3e0 [ 17.881983][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 17.881988][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.881997][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 17.882004][ T12] ? device_rename.cold+0xa/0xa [ 17.882011][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 17.882015][ T12] ? try_to_wake_up+0xc6/0x1130 [ 17.882018][ T12] ? find_held_lock+0x2b/0x80 [ 17.882027][ T12] dev_printk_emit+0xb9/0xee [ 17.882031][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 17.882036][ T12] ? _raw_spin_unlock_irq_enable+0x5b/0x90 [ 17.882041][ T12] ? try_to_wake_up+0x153/0x1130 [ 17.882045][ T12] ? __lock_acquire+0x518/0xc20 [ 17.882054][ T12] __netdev_printk+0x160/0x1d0 [ 17.882063][ T12] netdev_info+0xe2/0x116 [ 17.882067][ T12] ? netdev_notice+0x120/0x120 [ 17.882074][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 17.882078][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 17.882084][ T12] ? rcu_is_watching+0x16/0xd0 [ 17.882091][ T12] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 17.882102][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 17.882106][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 17.882110][ T12] ? __asan_memset+0x27/0x50 [ 17.882116][ T12] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 17.882122][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 17.882133][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 17.882145][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 17.882150][ T12] ? rcu_is_watching+0x16/0xd0 [ 17.882153][ T12] ? lock_acquire+0x13c/0x160 [ 17.882156][ T12] ? rcu_is_watching+0x16/0xd0 [ 17.882162][ T12] ? process_one_work+0xe16/0x1560 [ 17.882165][ T12] ? process_one_work+0xdfc/0x1560 [ 17.882167][ T12] process_one_work+0xe3e/0x1560 [ 17.882179][ T12] ? __queue_delayed_work+0x470/0x470 [ 17.882183][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 17.882197][ T12] worker_thread+0x4f1/0xd60 [ 17.882210][ T12] ? rescuer_thread+0x1340/0x1340 [ 17.882213][ T12] kthread+0x367/0x460 [ 17.882216][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.882221][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 17.882225][ T12] ret_from_fork+0x474/0x6b0 [ 17.882232][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 17.882239][ T12] ? __switch_to+0x5a3/0xe00 [ 17.882243][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 17.882247][ T12] ret_from_fork_asm+0x11/0x20 [ 17.882263][ T12] [ 18.172419][ T288] netdevsim netdevsim638 eni638np1: set [1, 1] type 2 family 0 port 20001 - 0 [ 18.469395][ T288] netdevsim netdevsim638 eni638np1: set [1, 2] type 2 family 0 port 20002 - 0 [ 18.806401][ T288] netdevsim netdevsim638 eni638np1: set [1, 3] type 2 family 0 port 20003 - 0 [ 19.506376][ T288] netdevsim netdevsim638 eni638np1: unset [0, 1] type 1 family 0 port 10001 - 0 [ 19.506397][ T288] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.506399][ T288] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 288, name: kworker/u16:2 [ 19.506401][ T288] preempt_count: 1, expected: 0 [ 19.506402][ T288] RCU nest depth: 0, expected: 0 [ 19.506403][ T288] locks held by kworker/u16:2/288: 8, last CPU#1: [ 19.506405][ T288] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 19.506418][ T288] #1: ffa0000001827d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 19.506422][ T288] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 19.506428][ T288] #3: ff1100000d29ef10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 19.506432][ T288] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.506437][ T288] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.506441][ T288] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.506445][ T288] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 19.506449][ T288] irq event stamp: 6580 [ 19.506449][ T288] hardirqs last enabled at (6579): [] __down_trylock_console_sem+0x86/0xa0 [ 19.506452][ T288] hardirqs last disabled at (6580): [] console_emit_next_record+0x3f8/0x4f0 [ 19.506454][ T288] softirqs last enabled at (6520): [] __dev_queue_xmit+0x92b/0x1a10 [ 19.506457][ T288] softirqs last disabled at (6484): [] __dev_queue_xmit+0x23b/0x1a10 [ 19.506459][ T288] Preemption disabled at: [ 19.506460][ T288] [] vprintk_emit+0x31b/0x3e0 [ 19.506466][ T288] CPU: 1 UID: 0 PID: 288 Comm: kworker/u16:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.506470][ T288] Tainted: [W]=WARN [ 19.506471][ T288] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.506473][ T288] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 19.506477][ T288] Call Trace: [ 19.506478][ T288] [ 19.506481][ T288] dump_stack_lvl+0x6f/0xa0 [ 19.506486][ T288] ? vprintk_emit+0x31b/0x3e0 [ 19.506489][ T288] __might_resched.cold+0x1fe/0x2c1 [ 19.506493][ T288] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.506497][ T288] ? __kmalloc_noprof+0xdb/0x760 [ 19.506502][ T288] __kmalloc_noprof+0x443/0x760 [ 19.506504][ T288] ? alloc_buf.isra.0+0x4b/0x260 [ 19.506510][ T288] ? do_raw_spin_unlock+0x59/0x250 [ 19.506512][ T288] alloc_buf.isra.0+0x4b/0x260 [ 19.506516][ T288] put_chars+0x1e1/0x2f0 [ 19.506519][ T288] ? __send_to_port+0x420/0x420 [ 19.506522][ T288] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 19.506526][ T288] ? rcu_read_lock_any_held+0x3c/0x90 [ 19.506528][ T288] ? validate_chain+0x38b/0xc20 [ 19.506532][ T288] hvc_console_print+0x292/0x780 [ 19.506535][ T288] ? mark_usage+0x61/0x170 [ 19.506537][ T288] ? __lock_acquire+0x518/0xc20 [ 19.506538][ T288] ? __lock_acquire+0x518/0xc20 [ 19.506542][ T288] ? hvc_write+0x3a0/0x3a0 [ 19.506544][ T288] ? console_emit_next_record+0x202/0x4f0 [ 19.506547][ T288] ? rcu_is_watching+0x16/0xd0 [ 19.506549][ T288] ? lock_acquire+0x13c/0x160 [ 19.506553][ T288] console_emit_next_record+0x252/0x4f0 [ 19.506557][ T288] ? devkmsg_read+0x4e0/0x4e0 [ 19.506562][ T288] ? rcu_is_watching+0x16/0xd0 [ 19.506564][ T288] ? lock_acquire+0x13c/0x160 [ 19.506568][ T288] console_flush_one_record+0x46f/0x710 [ 19.506572][ T288] ? console_emit_next_record+0x4f0/0x4f0 [ 19.506574][ T288] ? __lock_acquire+0x518/0xc20 [ 19.506579][ T288] console_unlock+0xee/0x1f0 [ 19.506582][ T288] ? console_flush_one_record+0x710/0x710 [ 19.506584][ T288] ? rcu_is_watching+0x16/0xd0 [ 19.506586][ T288] ? lock_acquire+0x60/0x160 [ 19.506589][ T288] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.506591][ T288] ? vprintk_emit+0x320/0x3e0 [ 19.506594][ T288] vprintk_emit+0x37c/0x3e0 [ 19.506598][ T288] ? wake_up_klogd_work_func+0x90/0x90 [ 19.506601][ T288] ? __lock_release.isra.0+0x69/0x1a0 [ 19.506606][ T288] dev_vprintk_emit+0x27f/0x2c0 [ 19.506612][ T288] ? device_rename.cold+0xa/0xa [ 19.506620][ T288] dev_printk_emit+0xb9/0xee [ 19.506623][ T288] ? dev_vprintk_emit+0x2c0/0x2c0 [ 19.506627][ T288] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 19.506630][ T288] ? rcu_read_lock_any_held+0x3c/0x90 [ 19.506631][ T288] ? validate_chain+0x38b/0xc20 [ 19.506635][ T288] __netdev_printk+0x160/0x1d0 [ 19.506641][ T288] netdev_info+0xe2/0x116 [ 19.506643][ T288] ? netdev_notice+0x120/0x120 [ 19.506647][ T288] ? lock_acquire.part.0+0xd4/0x280 [ 19.506649][ T288] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 19.506653][ T288] ? rcu_is_watching+0x16/0xd0 [ 19.506657][ T288] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 19.506664][ T288] ? __mutex_lock+0x9a3/0x1ea0 [ 19.506669][ T288] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 19.506671][ T288] ? __asan_memset+0x27/0x50 [ 19.506675][ T288] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 19.506679][ T288] ? rcu_tasks_need_gpcb+0x837/0x880 [ 19.506685][ T288] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 19.506691][ T288] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 19.506694][ T288] ? rcu_is_watching+0x16/0xd0 [ 19.506696][ T288] ? lock_acquire+0x13c/0x160 [ 19.506698][ T288] ? rcu_is_watching+0x16/0xd0 [ 19.506701][ T288] ? process_one_work+0xe16/0x1560 [ 19.506703][ T288] ? process_one_work+0xdfc/0x1560 [ 19.506704][ T288] process_one_work+0xe3e/0x1560 [ 19.506711][ T288] ? __queue_delayed_work+0x470/0x470 [ 19.506714][ T288] ? lock_acquire.part.0+0xd4/0x280 [ 19.506722][ T288] worker_thread+0x4f1/0xd60 [ 19.506726][ T288] ? rescuer_thread+0x1340/0x1340 [ 19.506728][ T288] ? __kthread_parkme+0xbd/0x210 [ 19.506731][ T288] ? rescuer_thread+0x1340/0x1340 [ 19.506734][ T288] ? rescuer_thread+0x1340/0x1340 [ 19.506735][ T288] kthread+0x367/0x460 [ 19.506737][ T288] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 19.506741][ T288] ? kthread_affine_preferred+0x4c0/0x4c0 [ 19.506743][ T288] ret_from_fork+0x474/0x6b0 [ 19.506748][ T288] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 19.506752][ T288] ? __switch_to+0x5a3/0xe00 [ 19.506755][ T288] ? kthread_affine_preferred+0x4c0/0x4c0 [ 19.506758][ T288] ret_from_fork_asm+0x11/0x20 [ 19.506767][ T288] [ 19.536233][ T288] netdevsim netdevsim638 eni638np1: set [0, 1] type 1 family 0 port 10004 - 0 [ 19.836885][ T12] netdevsim netdevsim638 eni638np1: unset [0, 2] type 1 family 0 port 10002 - 0 [ 20.115377][ T12] netdevsim netdevsim638 eni638np1: unset [1, 1] type 2 family 0 port 20001 - 0 [ 20.115919][ T12] netdevsim netdevsim638 eni638np1: set [1, 1] type 2 family 0 port 20004 - 0 [ 20.378376][ T12] netdevsim netdevsim638 eni638np1: unset [1, 2] type 2 family 0 port 20002 - 0 [ 20.710408][ T12] netdevsim netdevsim638 eni638np1: set [1, 2] type 4 family 0 port 30001 - 0 [ 20.710426][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.710428][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 20.710430][ T12] preempt_count: 1, expected: 0 [ 20.710431][ T12] RCU nest depth: 0, expected: 0 [ 20.710432][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 20.710435][ T12] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 20.710448][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 20.710451][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 20.710457][ T12] #3: ff1100000d29ef10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 20.710460][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.710466][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.710469][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.710473][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 20.710476][ T12] irq event stamp: 26046 [ 20.710477][ T12] hardirqs last enabled at (26045): [] __down_trylock_console_sem+0x86/0xa0 [ 20.710479][ T12] hardirqs last disabled at (26046): [] console_emit_next_record+0x3f8/0x4f0 [ 20.710481][ T12] softirqs last enabled at (26034): [] __fib6_clean_all+0xf3/0x270 [ 20.710485][ T12] softirqs last disabled at (26028): [] __fib6_clean_all+0xd0/0x270 [ 20.710487][ T12] Preemption disabled at: [ 20.710488][ T12] [] vprintk_emit+0x31b/0x3e0 [ 20.710493][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.710497][ T12] Tainted: [W]=WARN [ 20.710498][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.710499][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 20.710503][ T12] Call Trace: [ 20.710505][ T12] [ 20.710506][ T12] dump_stack_lvl+0x6f/0xa0 [ 20.710511][ T12] ? vprintk_emit+0x31b/0x3e0 [ 20.710513][ T12] __might_resched.cold+0x1fe/0x2c1 [ 20.710518][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.710521][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 20.710526][ T12] __kmalloc_noprof+0x443/0x760 [ 20.710528][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 20.710534][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 20.710537][ T12] alloc_buf.isra.0+0x4b/0x260 [ 20.710540][ T12] put_chars+0x1e1/0x2f0 [ 20.710543][ T12] ? __send_to_port+0x420/0x420 [ 20.710546][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.710550][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 20.710552][ T12] ? validate_chain+0x38b/0xc20 [ 20.710556][ T12] hvc_console_print+0x292/0x780 [ 20.710559][ T12] ? mark_usage+0x61/0x170 [ 20.710561][ T12] ? __lock_acquire+0x518/0xc20 [ 20.710562][ T12] ? __lock_acquire+0x518/0xc20 [ 20.710566][ T12] ? hvc_write+0x3a0/0x3a0 [ 20.710568][ T12] ? console_emit_next_record+0x202/0x4f0 [ 20.710571][ T12] ? rcu_is_watching+0x16/0xd0 [ 20.710574][ T12] ? lock_acquire+0x13c/0x160 [ 20.710577][ T12] console_emit_next_record+0x252/0x4f0 [ 20.710581][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 20.710586][ T12] ? rcu_is_watching+0x16/0xd0 [ 20.710588][ T12] ? lock_acquire+0x13c/0x160 [ 20.710592][ T12] console_flush_one_record+0x46f/0x710 [ 20.710596][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 20.710598][ T12] ? __lock_acquire+0x518/0xc20 [ 20.710603][ T12] console_unlock+0xee/0x1f0 [ 20.710606][ T12] ? console_flush_one_record+0x710/0x710 [ 20.710607][ T12] ? rcu_is_watching+0x16/0xd0 [ 20.710609][ T12] ? lock_acquire+0x60/0x160 [ 20.710613][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.710614][ T12] ? vprintk_emit+0x320/0x3e0 [ 20.710618][ T12] vprintk_emit+0x37c/0x3e0 [ 20.710621][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 20.710623][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 20.710625][ T12] ? validate_chain+0x38b/0xc20 [ 20.710626][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.710631][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 20.710637][ T12] ? device_rename.cold+0xa/0xa [ 20.710642][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 20.710644][ T12] ? find_held_lock+0x2b/0x80 [ 20.710649][ T12] dev_printk_emit+0xb9/0xee [ 20.710651][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 20.710654][ T12] ? __local_bh_enable_ip+0xaa/0x150 [ 20.710658][ T12] ? fib6_clean_tree+0x20b/0x290 [ 20.710659][ T12] ? fib6_clean_tree+0x20b/0x290 [ 20.710662][ T12] ? fib6_info_destroy_rcu+0x190/0x190 [ 20.710666][ T12] __netdev_printk+0x160/0x1d0 [ 20.710672][ T12] netdev_info+0xe2/0x116 [ 20.710674][ T12] ? netdev_notice+0x120/0x120 [ 20.710678][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 20.710680][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 20.710683][ T12] ? rcu_is_watching+0x16/0xd0 [ 20.710688][ T12] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 20.710694][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 20.710698][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 20.710700][ T12] ? __asan_memset+0x27/0x50 [ 20.710704][ T12] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 20.710708][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 20.710714][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 20.710720][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 20.710723][ T12] ? rcu_is_watching+0x16/0xd0 [ 20.710725][ T12] ? lock_acquire+0x13c/0x160 [ 20.710727][ T12] ? rcu_is_watching+0x16/0xd0 [ 20.710730][ T12] ? process_one_work+0xe16/0x1560 [ 20.710732][ T12] ? process_one_work+0xdfc/0x1560 [ 20.710733][ T12] process_one_work+0xe3e/0x1560 [ 20.710740][ T12] ? __queue_delayed_work+0x470/0x470 [ 20.710742][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 20.710750][ T12] worker_thread+0x4f1/0xd60 [ 20.710757][ T12] ? rescuer_thread+0x1340/0x1340 [ 20.710759][ T12] kthread+0x367/0x460 [ 20.710762][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 20.710765][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 20.710768][ T12] ret_from_fork+0x474/0x6b0 [ 20.710773][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 20.710777][ T12] ? __switch_to+0x5a3/0xe00 [ 20.710780][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 20.710782][ T12] ret_from_fork_asm+0x11/0x20 [ 20.710791][ T12] [ 21.792390][ T12] netdevsim netdevsim638 eni638np1: unset [1, 1] type 2 family 0 port 20004 - 0 [ 21.792414][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.792417][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 21.792419][ T12] preempt_count: 1, expected: 0 [ 21.792421][ T12] RCU nest depth: 0, expected: 0 [ 21.792422][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 21.792425][ T12] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 21.792441][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 21.792447][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 21.792455][ T12] #3: ff1100000d29ef10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 21.792462][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.792469][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.792474][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.792480][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 21.792486][ T12] irq event stamp: 29628 [ 21.792487][ T12] hardirqs last enabled at (29627): [] __down_trylock_console_sem+0x86/0xa0 [ 21.792490][ T12] hardirqs last disabled at (29628): [] console_emit_next_record+0x3f8/0x4f0 [ 21.792493][ T12] softirqs last enabled at (29592): [] __fib6_clean_all+0xf3/0x270 [ 21.792498][ T12] softirqs last disabled at (29586): [] __fib6_clean_all+0xd0/0x270 [ 21.792501][ T12] Preemption disabled at: [ 21.792502][ T12] [] vprintk_emit+0x31b/0x3e0 [ 21.792510][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.792515][ T12] Tainted: [W]=WARN [ 21.792516][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.792519][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 21.792524][ T12] Call Trace: [ 21.792526][ T12] [ 21.792529][ T12] dump_stack_lvl+0x6f/0xa0 [ 21.792536][ T12] ? vprintk_emit+0x31b/0x3e0 [ 21.792539][ T12] __might_resched.cold+0x1fe/0x2c1 [ 21.792546][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.792551][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 21.792559][ T12] __kmalloc_noprof+0x443/0x760 [ 21.792562][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 21.792571][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 21.792574][ T12] alloc_buf.isra.0+0x4b/0x260 [ 21.792580][ T12] put_chars+0x1e1/0x2f0 [ 21.792584][ T12] ? __send_to_port+0x420/0x420 [ 21.792590][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.792595][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 21.792599][ T12] ? validate_chain+0x38b/0xc20 [ 21.792605][ T12] hvc_console_print+0x292/0x780 [ 21.792609][ T12] ? mark_usage+0x61/0x170 [ 21.792612][ T12] ? __lock_acquire+0x518/0xc20 [ 21.792614][ T12] ? __lock_acquire+0x518/0xc20 [ 21.792621][ T12] ? hvc_write+0x3a0/0x3a0 [ 21.792625][ T12] ? console_emit_next_record+0x202/0x4f0 [ 21.792630][ T12] ? rcu_is_watching+0x16/0xd0 [ 21.792633][ T12] ? lock_acquire+0x13c/0x160 [ 21.792640][ T12] console_emit_next_record+0x252/0x4f0 [ 21.792647][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 21.792654][ T12] ? rcu_is_watching+0x16/0xd0 [ 21.792658][ T12] ? lock_acquire+0x13c/0x160 [ 21.792665][ T12] console_flush_one_record+0x46f/0x710 [ 21.792672][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 21.792674][ T12] ? __lock_acquire+0x518/0xc20 [ 21.792684][ T12] console_unlock+0xee/0x1f0 [ 21.792689][ T12] ? console_flush_one_record+0x710/0x710 [ 21.792691][ T12] ? rcu_is_watching+0x16/0xd0 [ 21.792695][ T12] ? lock_acquire+0x60/0x160 [ 21.792701][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.792704][ T12] ? vprintk_emit+0x320/0x3e0 [ 21.792710][ T12] vprintk_emit+0x37c/0x3e0 [ 21.792716][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 21.792719][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 21.792721][ T12] ? validate_chain+0x38b/0xc20 [ 21.792724][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.792733][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 21.792740][ T12] ? device_rename.cold+0xa/0xa [ 21.792749][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 21.792752][ T12] ? find_held_lock+0x2b/0x80 [ 21.792761][ T12] dev_printk_emit+0xb9/0xee [ 21.792765][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 21.792770][ T12] ? __local_bh_enable_ip+0xaa/0x150 [ 21.792774][ T12] ? fib6_clean_tree+0x20b/0x290 [ 21.792777][ T12] ? fib6_clean_tree+0x20b/0x290 [ 21.792779][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.792783][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 21.792786][ T12] ? validate_chain+0x38b/0xc20 [ 21.792792][ T12] __netdev_printk+0x160/0x1d0 [ 21.792801][ T12] netdev_info+0xe2/0x116 [ 21.792805][ T12] ? netdev_notice+0x120/0x120 [ 21.792812][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 21.792815][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 21.792821][ T12] ? rcu_is_watching+0x16/0xd0 [ 21.792828][ T12] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 21.792839][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 21.792850][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 21.792853][ T12] ? __asan_memset+0x27/0x50 [ 21.792859][ T12] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 21.792866][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 21.792876][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 21.792888][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 21.792893][ T12] ? rcu_is_watching+0x16/0xd0 [ 21.792896][ T12] ? lock_acquire+0x13c/0x160 [ 21.792899][ T12] ? rcu_is_watching+0x16/0xd0 [ 21.792904][ T12] ? process_one_work+0xe16/0x1560 [ 21.792907][ T12] ? process_one_work+0xdfc/0x1560 [ 21.792910][ T12] process_one_work+0xe3e/0x1560 [ 21.792921][ T12] ? __queue_delayed_work+0x470/0x470 [ 21.792927][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 21.792943][ T12] worker_thread+0x4f1/0xd60 [ 21.792956][ T12] ? rescuer_thread+0x1340/0x1340 [ 21.792960][ T12] kthread+0x367/0x460 [ 21.792963][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 21.792968][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 21.792973][ T12] ret_from_fork+0x474/0x6b0 [ 21.792980][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 21.792986][ T12] ? __switch_to+0x5a3/0xe00 [ 21.792991][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 21.792995][ T12] ret_from_fork_asm+0x11/0x20 [ 21.793011][ T12] [ 21.842815][ T12] netdevsim netdevsim638 eni638np1: set [1, 1] type 4 family 0 port 30002 - 0 [ 22.114204][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [0, 0] type 1 family 0 port 10000 - 0 [ 22.115014][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [0, 1] type 1 family 0 port 10004 - 0 [ 22.115581][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [0, 3] type 1 family 0 port 10003 - 0 [ 22.116145][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [1, 0] type 2 family 0 port 20000 - 0 [ 22.116758][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [1, 1] type 4 family 0 port 30002 - 0 [ 22.117341][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [1, 2] type 4 family 0 port 30001 - 0 [ 22.118166][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [1, 3] type 2 family 0 port 20003 - 0 [ 22.356311][ T177] netdevsim netdevsim638 eni638np2: renamed from eth0 [ 22.596383][ T12] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 22.730639][ T12] netdevsim netdevsim638 eni638np2: set [0, 1] type 1 family 0 port 10001 - 0 [ 22.893384][ T12] netdevsim netdevsim638 eni638np2: set [0, 2] type 1 family 0 port 10002 - 0 [ 22.893405][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.893407][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 22.893409][ T12] preempt_count: 1, expected: 0 [ 22.893410][ T12] RCU nest depth: 0, expected: 0 [ 22.893411][ T12] locks held by kworker/u16:0/12: 8, last CPU#2: [ 22.893414][ T12] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 22.893426][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 22.893430][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 22.893436][ T12] #3: ff110000029b8910 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 22.893440][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.893445][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.893449][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.893453][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 22.893456][ T12] irq event stamp: 30602 [ 22.893457][ T12] hardirqs last enabled at (30601): [] __down_trylock_console_sem+0x86/0xa0 [ 22.893460][ T12] hardirqs last disabled at (30602): [] console_emit_next_record+0x3f8/0x4f0 [ 22.893462][ T12] softirqs last enabled at (30590): [] addrconf_dad_begin+0x37f/0x540 [ 22.893466][ T12] softirqs last disabled at (30582): [] addrconf_dad_begin+0x154/0x540 [ 22.893468][ T12] Preemption disabled at: [ 22.893469][ T12] [] vprintk_emit+0x31b/0x3e0 [ 22.893475][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.893479][ T12] Tainted: [W]=WARN [ 22.893479][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.893481][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 22.893485][ T12] Call Trace: [ 22.893487][ T12] [ 22.893489][ T12] dump_stack_lvl+0x6f/0xa0 [ 22.893494][ T12] ? vprintk_emit+0x31b/0x3e0 [ 22.893496][ T12] __might_resched.cold+0x1fe/0x2c1 [ 22.893501][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.893505][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 22.893510][ T12] __kmalloc_noprof+0x443/0x760 [ 22.893512][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 22.893518][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 22.893521][ T12] alloc_buf.isra.0+0x4b/0x260 [ 22.893524][ T12] put_chars+0x1e1/0x2f0 [ 22.893527][ T12] ? __send_to_port+0x420/0x420 [ 22.893531][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 22.893535][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 22.893537][ T12] ? validate_chain+0x38b/0xc20 [ 22.893541][ T12] hvc_console_print+0x292/0x780 [ 22.893544][ T12] ? mark_usage+0x61/0x170 [ 22.893546][ T12] ? __lock_acquire+0x518/0xc20 [ 22.893547][ T12] ? __lock_acquire+0x518/0xc20 [ 22.893551][ T12] ? hvc_write+0x3a0/0x3a0 [ 22.893553][ T12] ? console_emit_next_record+0x202/0x4f0 [ 22.893557][ T12] ? rcu_is_watching+0x16/0xd0 [ 22.893559][ T12] ? lock_acquire+0x13c/0x160 [ 22.893563][ T12] console_emit_next_record+0x252/0x4f0 [ 22.893567][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 22.893572][ T12] ? rcu_is_watching+0x16/0xd0 [ 22.893574][ T12] ? lock_acquire+0x13c/0x160 [ 22.893578][ T12] console_flush_one_record+0x46f/0x710 [ 22.893583][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 22.893584][ T12] ? __lock_acquire+0x518/0xc20 [ 22.893590][ T12] console_unlock+0xee/0x1f0 [ 22.893593][ T12] ? console_flush_one_record+0x710/0x710 [ 22.893594][ T12] ? rcu_is_watching+0x16/0xd0 [ 22.893596][ T12] ? lock_acquire+0x60/0x160 [ 22.893600][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.893602][ T12] ? vprintk_emit+0x320/0x3e0 [ 22.893605][ T12] vprintk_emit+0x37c/0x3e0 [ 22.893609][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 22.893613][ T12] ? update_cfs_rq_load_avg+0x4b/0x660 [ 22.893618][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 22.893623][ T12] ? device_rename.cold+0xa/0xa [ 22.893625][ T12] ? update_cfs_rq_load_avg+0x4b/0x660 [ 22.893633][ T12] dev_printk_emit+0xb9/0xee [ 22.893636][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 22.893638][ T12] ? __resched_curr+0x3de/0x530 [ 22.893641][ T12] ? __trace_set_current_state+0x160/0x160 [ 22.893643][ T12] ? wakeup_preempt_fair+0x572/0x15d0 [ 22.893646][ T12] ? find_held_lock+0x2b/0x80 [ 22.893650][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 22.893653][ T12] __netdev_printk+0x160/0x1d0 [ 22.893659][ T12] netdev_info+0xe2/0x116 [ 22.893662][ T12] ? netdev_notice+0x120/0x120 [ 22.893666][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 22.893668][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 22.893671][ T12] ? rcu_is_watching+0x16/0xd0 [ 22.893675][ T12] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 22.893683][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 22.893686][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 22.893688][ T12] ? __asan_memset+0x27/0x50 [ 22.893692][ T12] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 22.893696][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 22.893703][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 22.893709][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 22.893712][ T12] ? rcu_is_watching+0x16/0xd0 [ 22.893714][ T12] ? lock_acquire+0x13c/0x160 [ 22.893716][ T12] ? rcu_is_watching+0x16/0xd0 [ 22.893719][ T12] ? process_one_work+0xe16/0x1560 [ 22.893721][ T12] ? process_one_work+0xdfc/0x1560 [ 22.893722][ T12] process_one_work+0xe3e/0x1560 [ 22.893729][ T12] ? __queue_delayed_work+0x470/0x470 [ 22.893732][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 22.893740][ T12] worker_thread+0x4f1/0xd60 [ 22.893748][ T12] ? rescuer_thread+0x1340/0x1340 [ 22.893750][ T12] kthread+0x367/0x460 [ 22.893753][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 22.893756][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 22.893759][ T12] ret_from_fork+0x474/0x6b0 [ 22.893764][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 22.893768][ T12] ? __switch_to+0x5a3/0xe00 [ 22.893771][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 22.893774][ T12] ret_from_fork_asm+0x11/0x20 [ 22.893783][ T12] [ 23.123398][ T288] netdevsim netdevsim638 eni638np2: set [0, 3] type 1 family 0 port 10003 - 0 [ 23.599385][ T288] netdevsim netdevsim638 eni638np2: set [1, 0] type 2 family 0 port 20000 - 0 [ 23.850391][ T288] netdevsim netdevsim638 eni638np2: set [1, 1] type 2 family 0 port 20001 - 0 [ 24.136393][ T288] netdevsim netdevsim638 eni638np2: set [1, 2] type 2 family 0 port 20002 - 0 [ 24.136416][ T288] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 24.136419][ T288] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 288, name: kworker/u16:2 [ 24.136421][ T288] preempt_count: 1, expected: 0 [ 24.136422][ T288] RCU nest depth: 0, expected: 0 [ 24.136424][ T288] locks held by kworker/u16:2/288: 8, last CPU#3: [ 24.136427][ T288] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 24.136442][ T288] #1: ffa0000001827d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 24.136448][ T288] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 24.136457][ T288] #3: ff110000029b8910 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 24.136463][ T288] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 24.136470][ T288] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 24.136476][ T288] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 24.136481][ T288] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 24.136487][ T288] irq event stamp: 9278 [ 24.136488][ T288] hardirqs last enabled at (9277): [] __down_trylock_console_sem+0x86/0xa0 [ 24.136492][ T288] hardirqs last disabled at (9278): [] console_emit_next_record+0x3f8/0x4f0 [ 24.136494][ T288] softirqs last enabled at (9264): [] __fib6_clean_all+0xf3/0x270 [ 24.136499][ T288] softirqs last disabled at (9258): [] __fib6_clean_all+0xd0/0x270 [ 24.136502][ T288] Preemption disabled at: [ 24.136503][ T288] [] vprintk_emit+0x31b/0x3e0 [ 24.136511][ T288] CPU: 3 UID: 0 PID: 288 Comm: kworker/u16:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.136516][ T288] Tainted: [W]=WARN [ 24.136517][ T288] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.136520][ T288] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 24.136524][ T288] Call Trace: [ 24.136527][ T288] [ 24.136529][ T288] dump_stack_lvl+0x6f/0xa0 [ 24.136536][ T288] ? vprintk_emit+0x31b/0x3e0 [ 24.136539][ T288] __might_resched.cold+0x1fe/0x2c1 [ 24.136545][ T288] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 24.136550][ T288] ? __kmalloc_noprof+0xdb/0x760 [ 24.136557][ T288] __kmalloc_noprof+0x443/0x760 [ 24.136561][ T288] ? alloc_buf.isra.0+0x4b/0x260 [ 24.136570][ T288] ? do_raw_spin_unlock+0x59/0x250 [ 24.136573][ T288] alloc_buf.isra.0+0x4b/0x260 [ 24.136578][ T288] put_chars+0x1e1/0x2f0 [ 24.136583][ T288] ? __send_to_port+0x420/0x420 [ 24.136588][ T288] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 24.136594][ T288] ? rcu_read_lock_any_held+0x3c/0x90 [ 24.136597][ T288] ? validate_chain+0x38b/0xc20 [ 24.136603][ T288] hvc_console_print+0x292/0x780 [ 24.136607][ T288] ? mark_usage+0x61/0x170 [ 24.136610][ T288] ? __lock_acquire+0x518/0xc20 [ 24.136612][ T288] ? __lock_acquire+0x518/0xc20 [ 24.136619][ T288] ? hvc_write+0x3a0/0x3a0 [ 24.136623][ T288] ? console_emit_next_record+0x202/0x4f0 [ 24.136628][ T288] ? rcu_is_watching+0x16/0xd0 [ 24.136631][ T288] ? lock_acquire+0x13c/0x160 [ 24.136638][ T288] console_emit_next_record+0x252/0x4f0 [ 24.136645][ T288] ? devkmsg_read+0x4e0/0x4e0 [ 24.136652][ T288] ? rcu_is_watching+0x16/0xd0 [ 24.136656][ T288] ? lock_acquire+0x13c/0x160 [ 24.136663][ T288] console_flush_one_record+0x46f/0x710 [ 24.136670][ T288] ? console_emit_next_record+0x4f0/0x4f0 [ 24.136672][ T288] ? __lock_acquire+0x518/0xc20 [ 24.136682][ T288] console_unlock+0xee/0x1f0 [ 24.136686][ T288] ? console_flush_one_record+0x710/0x710 [ 24.136689][ T288] ? rcu_is_watching+0x16/0xd0 [ 24.136692][ T288] ? lock_acquire+0x60/0x160 [ 24.136699][ T288] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.136701][ T288] ? vprintk_emit+0x320/0x3e0 [ 24.136707][ T288] vprintk_emit+0x37c/0x3e0 [ 24.136713][ T288] ? wake_up_klogd_work_func+0x90/0x90 [ 24.136715][ T288] ? mark_held_locks+0x40/0x70 [ 24.136719][ T288] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 24.136723][ T288] ? rcu_read_lock_any_held+0x3c/0x90 [ 24.136729][ T288] dev_vprintk_emit+0x27f/0x2c0 [ 24.136737][ T288] ? device_rename.cold+0xa/0xa [ 24.136739][ T288] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 24.136746][ T288] ? rcu_read_lock_any_held+0x3c/0x90 [ 24.136749][ T288] ? validate_chain+0x38b/0xc20 [ 24.136757][ T288] dev_printk_emit+0xb9/0xee [ 24.136761][ T288] ? dev_vprintk_emit+0x2c0/0x2c0 [ 24.136768][ T288] ? lock_acquire.part.0+0xd4/0x280 [ 24.136771][ T288] ? find_held_lock+0x2b/0x80 [ 24.136780][ T288] __netdev_printk+0x160/0x1d0 [ 24.136789][ T288] netdev_info+0xe2/0x116 [ 24.136793][ T288] ? netdev_notice+0x120/0x120 [ 24.136800][ T288] ? lock_acquire.part.0+0xd4/0x280 [ 24.136803][ T288] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 24.136809][ T288] ? rcu_is_watching+0x16/0xd0 [ 24.136816][ T288] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 24.136826][ T288] ? __mutex_lock+0x9a3/0x1ea0 [ 24.136831][ T288] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 24.136834][ T288] ? __asan_memset+0x27/0x50 [ 24.136840][ T288] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 24.136846][ T288] ? rcu_tasks_need_gpcb+0x837/0x880 [ 24.136861][ T288] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 24.136872][ T288] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 24.136877][ T288] ? rcu_is_watching+0x16/0xd0 [ 24.136880][ T288] ? lock_acquire+0x13c/0x160 [ 24.136883][ T288] ? rcu_is_watching+0x16/0xd0 [ 24.136888][ T288] ? process_one_work+0xe16/0x1560 [ 24.136890][ T288] ? process_one_work+0xdfc/0x1560 [ 24.136892][ T288] process_one_work+0xe3e/0x1560 [ 24.136903][ T288] ? __queue_delayed_work+0x470/0x470 [ 24.136908][ T288] ? lock_acquire.part.0+0xd4/0x280 [ 24.136922][ T288] worker_thread+0x4f1/0xd60 [ 24.136929][ T288] ? rescuer_thread+0x1340/0x1340 [ 24.136932][ T288] ? __kthread_parkme+0xbd/0x210 [ 24.136937][ T288] ? rescuer_thread+0x1340/0x1340 [ 24.136941][ T288] ? rescuer_thread+0x1340/0x1340 [ 24.136944][ T288] kthread+0x367/0x460 [ 24.136946][ T288] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 24.136951][ T288] ? kthread_affine_preferred+0x4c0/0x4c0 [ 24.136956][ T288] ret_from_fork+0x474/0x6b0 [ 24.136962][ T288] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 24.136968][ T288] ? __switch_to+0x5a3/0xe00 [ 24.136973][ T288] ? kthread_affine_preferred+0x4c0/0x4c0 [ 24.136977][ T288] ret_from_fork_asm+0x11/0x20 [ 24.136992][ T288] [ 24.499394][ T12] netdevsim netdevsim638 eni638np2: set [1, 3] type 2 family 0 port 20003 - 0 [ 25.048580][ T12] netdevsim netdevsim638 eni638np2: unset [0, 1] type 1 family 0 port 10001 - 0 [ 25.049059][ T12] netdevsim netdevsim638 eni638np2: set [0, 1] type 1 family 0 port 10004 - 0 [ 25.340473][ T12] netdevsim netdevsim638 eni638np2: unset [0, 2] type 1 family 0 port 10002 - 0 [ 25.340493][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 25.340496][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 25.340498][ T12] preempt_count: 1, expected: 0 [ 25.340498][ T12] RCU nest depth: 0, expected: 0 [ 25.340499][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 25.340502][ T12] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 25.340514][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 25.340518][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 25.340524][ T12] #3: ff110000029b8910 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 25.340527][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 25.340533][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 25.340536][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 25.340540][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 25.340543][ T12] irq event stamp: 34960 [ 25.340544][ T12] hardirqs last enabled at (34959): [] __down_trylock_console_sem+0x86/0xa0 [ 25.340546][ T12] hardirqs last disabled at (34960): [] console_emit_next_record+0x3f8/0x4f0 [ 25.340548][ T12] softirqs last enabled at (34932): [] __dev_queue_xmit+0x92b/0x1a10 [ 25.340552][ T12] softirqs last disabled at (34896): [] __dev_queue_xmit+0x23b/0x1a10 [ 25.340554][ T12] Preemption disabled at: [ 25.340555][ T12] [] vprintk_emit+0x31b/0x3e0 [ 25.340561][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 25.340564][ T12] Tainted: [W]=WARN [ 25.340565][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 25.340567][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 25.340571][ T12] Call Trace: [ 25.340572][ T12] [ 25.340575][ T12] dump_stack_lvl+0x6f/0xa0 [ 25.340581][ T12] ? vprintk_emit+0x31b/0x3e0 [ 25.340583][ T12] __might_resched.cold+0x1fe/0x2c1 [ 25.340587][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 25.340591][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 25.340596][ T12] __kmalloc_noprof+0x443/0x760 [ 25.340598][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 25.340604][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 25.340606][ T12] alloc_buf.isra.0+0x4b/0x260 [ 25.340609][ T12] put_chars+0x1e1/0x2f0 [ 25.340612][ T12] ? __send_to_port+0x420/0x420 [ 25.340615][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 25.340620][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 25.340622][ T12] ? validate_chain+0x38b/0xc20 [ 25.340625][ T12] hvc_console_print+0x292/0x780 [ 25.340628][ T12] ? mark_usage+0x61/0x170 [ 25.340630][ T12] ? __lock_acquire+0x518/0xc20 [ 25.340631][ T12] ? __lock_acquire+0x518/0xc20 [ 25.340635][ T12] ? hvc_write+0x3a0/0x3a0 [ 25.340637][ T12] ? console_emit_next_record+0x202/0x4f0 [ 25.340640][ T12] ? rcu_is_watching+0x16/0xd0 [ 25.340642][ T12] ? lock_acquire+0x13c/0x160 [ 25.340646][ T12] console_emit_next_record+0x252/0x4f0 [ 25.340650][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 25.340655][ T12] ? rcu_is_watching+0x16/0xd0 [ 25.340657][ T12] ? lock_acquire+0x13c/0x160 [ 25.340661][ T12] console_flush_one_record+0x46f/0x710 [ 25.340665][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 25.340667][ T12] ? __lock_acquire+0x518/0xc20 [ 25.340672][ T12] console_unlock+0xee/0x1f0 [ 25.340675][ T12] ? console_flush_one_record+0x710/0x710 [ 25.340676][ T12] ? rcu_is_watching+0x16/0xd0 [ 25.340678][ T12] ? lock_acquire+0x60/0x160 [ 25.340682][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 25.340683][ T12] ? vprintk_emit+0x320/0x3e0 [ 25.340687][ T12] vprintk_emit+0x37c/0x3e0 [ 25.340690][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 25.340693][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 25.340698][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 25.340703][ T12] ? device_rename.cold+0xa/0xa [ 25.340705][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 25.340713][ T12] dev_printk_emit+0xb9/0xee [ 25.340716][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 25.340720][ T12] ? find_held_lock+0x2b/0x80 [ 25.340724][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 25.340727][ T12] __netdev_printk+0x160/0x1d0 [ 25.340733][ T12] netdev_info+0xe2/0x116 [ 25.340735][ T12] ? netdev_notice+0x120/0x120 [ 25.340739][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 25.340741][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 25.340744][ T12] ? rcu_is_watching+0x16/0xd0 [ 25.340748][ T12] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 25.340755][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 25.340759][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 25.340761][ T12] ? __asan_memset+0x27/0x50 [ 25.340765][ T12] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 25.340769][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 25.340775][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 25.340781][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 25.340784][ T12] ? rcu_is_watching+0x16/0xd0 [ 25.340786][ T12] ? lock_acquire+0x13c/0x160 [ 25.340787][ T12] ? rcu_is_watching+0x16/0xd0 [ 25.340791][ T12] ? process_one_work+0xe16/0x1560 [ 25.340792][ T12] ? process_one_work+0xdfc/0x1560 [ 25.340794][ T12] process_one_work+0xe3e/0x1560 [ 25.340800][ T12] ? __queue_delayed_work+0x470/0x470 [ 25.340803][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 25.340811][ T12] worker_thread+0x4f1/0xd60 [ 25.340818][ T12] ? rescuer_thread+0x1340/0x1340 [ 25.340819][ T12] kthread+0x367/0x460 [ 25.340822][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 25.340825][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 25.340828][ T12] ret_from_fork+0x474/0x6b0 [ 25.340833][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 25.340837][ T12] ? __switch_to+0x5a3/0xe00 [ 25.340840][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 25.340842][ T12] ret_from_fork_asm+0x11/0x20 [ 25.340851][ T12] [ 25.632382][ T12] netdevsim netdevsim638 eni638np2: unset [1, 1] type 2 family 0 port 20001 - 0 [ 25.632904][ T12] netdevsim netdevsim638 eni638np2: set [1, 1] type 2 family 0 port 20004 - 0 [ 25.862380][ T12] netdevsim netdevsim638 eni638np2: unset [1, 2] type 2 family 0 port 20002 - 0 [ 26.122396][ T12] netdevsim netdevsim638 eni638np2: set [1, 2] type 4 family 0 port 30001 - 0 [ 26.921376][ T12] netdevsim netdevsim638 eni638np2: unset [1, 1] type 2 family 0 port 20004 - 0 [ 26.921395][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.921398][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 26.921400][ T12] preempt_count: 1, expected: 0 [ 26.921401][ T12] RCU nest depth: 0, expected: 0 [ 26.921402][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 26.921404][ T12] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 26.921415][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 26.921419][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 26.921426][ T12] #3: ff110000029b8910 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 26.921430][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.921435][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.921439][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.921443][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 26.921446][ T12] irq event stamp: 40476 [ 26.921447][ T12] hardirqs last enabled at (40475): [] __down_trylock_console_sem+0x86/0xa0 [ 26.921449][ T12] hardirqs last disabled at (40476): [] console_emit_next_record+0x3f8/0x4f0 [ 26.921451][ T12] softirqs last enabled at (40440): [] __fib6_clean_all+0xf3/0x270 [ 26.921456][ T12] softirqs last disabled at (40434): [] __fib6_clean_all+0xd0/0x270 [ 26.921458][ T12] Preemption disabled at: [ 26.921459][ T12] [] vprintk_emit+0x31b/0x3e0 [ 26.921465][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.921468][ T12] Tainted: [W]=WARN [ 26.921469][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.921471][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 26.921475][ T12] Call Trace: [ 26.921476][ T12] [ 26.921479][ T12] dump_stack_lvl+0x6f/0xa0 [ 26.921484][ T12] ? vprintk_emit+0x31b/0x3e0 [ 26.921486][ T12] __might_resched.cold+0x1fe/0x2c1 [ 26.921491][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.921495][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 26.921499][ T12] __kmalloc_noprof+0x443/0x760 [ 26.921502][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 26.921507][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 26.921510][ T12] alloc_buf.isra.0+0x4b/0x260 [ 26.921513][ T12] put_chars+0x1e1/0x2f0 [ 26.921516][ T12] ? __send_to_port+0x420/0x420 [ 26.921519][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.921523][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.921525][ T12] ? validate_chain+0x38b/0xc20 [ 26.921529][ T12] hvc_console_print+0x292/0x780 [ 26.921532][ T12] ? mark_usage+0x61/0x170 [ 26.921534][ T12] ? __lock_acquire+0x518/0xc20 [ 26.921535][ T12] ? __lock_acquire+0x518/0xc20 [ 26.921539][ T12] ? hvc_write+0x3a0/0x3a0 [ 26.921541][ T12] ? console_emit_next_record+0x202/0x4f0 [ 26.921545][ T12] ? rcu_is_watching+0x16/0xd0 [ 26.921547][ T12] ? lock_acquire+0x13c/0x160 [ 26.921551][ T12] console_emit_next_record+0x252/0x4f0 [ 26.921555][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 26.921560][ T12] ? rcu_is_watching+0x16/0xd0 [ 26.921562][ T12] ? lock_acquire+0x13c/0x160 [ 26.921566][ T12] console_flush_one_record+0x46f/0x710 [ 26.921570][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 26.921572][ T12] ? __lock_acquire+0x518/0xc20 [ 26.921577][ T12] console_unlock+0xee/0x1f0 [ 26.921580][ T12] ? console_flush_one_record+0x710/0x710 [ 26.921582][ T12] ? rcu_is_watching+0x16/0xd0 [ 26.921584][ T12] ? lock_acquire+0x60/0x160 [ 26.921587][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.921589][ T12] ? vprintk_emit+0x320/0x3e0 [ 26.921592][ T12] vprintk_emit+0x37c/0x3e0 [ 26.921596][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 26.921598][ T12] ? mark_held_locks+0x40/0x70 [ 26.921601][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.921603][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.921607][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 26.921612][ T12] ? device_rename.cold+0xa/0xa [ 26.921614][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.921619][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.921620][ T12] ? validate_chain+0x38b/0xc20 [ 26.921625][ T12] dev_printk_emit+0xb9/0xee [ 26.921628][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 26.921632][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.921634][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.921636][ T12] ? validate_chain+0x38b/0xc20 [ 26.921640][ T12] __netdev_printk+0x160/0x1d0 [ 26.921645][ T12] netdev_info+0xe2/0x116 [ 26.921648][ T12] ? netdev_notice+0x120/0x120 [ 26.921652][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 26.921654][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 26.921657][ T12] ? rcu_is_watching+0x16/0xd0 [ 26.921662][ T12] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 26.921669][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 26.921672][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 26.921674][ T12] ? __asan_memset+0x27/0x50 [ 26.921678][ T12] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 26.921682][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 26.921688][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 26.921695][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 26.921698][ T12] ? rcu_is_watching+0x16/0xd0 [ 26.921700][ T12] ? lock_acquire+0x13c/0x160 [ 26.921701][ T12] ? rcu_is_watching+0x16/0xd0 [ 26.921705][ T12] ? process_one_work+0xe16/0x1560 [ 26.921706][ T12] ? process_one_work+0xdfc/0x1560 [ 26.921708][ T12] process_one_work+0xe3e/0x1560 [ 26.921715][ T12] ? __queue_delayed_work+0x470/0x470 [ 26.921718][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 26.921725][ T12] worker_thread+0x4f1/0xd60 [ 26.921733][ T12] ? rescuer_thread+0x1340/0x1340 [ 26.921735][ T12] kthread+0x367/0x460 [ 26.921738][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 26.921741][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 26.921744][ T12] ret_from_fork+0x474/0x6b0 [ 26.921749][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 26.921753][ T12] ? __switch_to+0x5a3/0xe00 [ 26.921755][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 26.921758][ T12] ret_from_fork_asm+0x11/0x20 [ 26.921767][ T12] [ 26.949225][ T12] netdevsim netdevsim638 eni638np2: set [1, 1] type 4 family 0 port 30002 - 0 [ 27.207928][ T166] netdevsim netdevsim638 eni638np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 27.209938][ T166] netdevsim netdevsim638 eni638np2: unset [0, 1] type 1 family 0 port 10004 - 0 [ 27.210566][ T166] netdevsim netdevsim638 eni638np2: unset [0, 3] type 1 family 0 port 10003 - 0 [ 27.211133][ T166] netdevsim netdevsim638 eni638np2: unset [1, 0] type 2 family 0 port 20000 - 0 [ 27.211701][ T166] netdevsim netdevsim638 eni638np2: unset [1, 1] type 4 family 0 port 30002 - 0 [ 27.212263][ T166] netdevsim netdevsim638 eni638np2: unset [1, 2] type 4 family 0 port 30001 - 0 [ 27.212830][ T166] netdevsim netdevsim638 eni638np2: unset [1, 3] type 2 family 0 port 20003 - 0 [ 27.730813][ T177] netdevsim netdevsim638 eni638np1: renamed from eth0 [ 33.002953][ T175] netdevsim netdevsim638 eni638np2: renamed from eth0 [ 33.002970][ T175] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 33.002973][ T175] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 175, name: (udev-worker) [ 33.002975][ T175] preempt_count: 1, expected: 0 [ 33.002976][ T175] RCU nest depth: 0, expected: 0 [ 33.002977][ T175] locks held by (udev-worker)/175: 6, last CPU#2: [ 33.002980][ T175] #0: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 33.002991][ T175] #1: ff1100000b862dd8 (&dev_instance_lock_key#5){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 33.002996][ T175] #2: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 33.003002][ T175] #3: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 33.003006][ T175] #4: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 33.003009][ T175] #5: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 33.003013][ T175] irq event stamp: 915446 [ 33.003014][ T175] hardirqs last enabled at (915445): [] __down_trylock_console_sem+0x86/0xa0 [ 33.003016][ T175] hardirqs last disabled at (915446): [] console_emit_next_record+0x3f8/0x4f0 [ 33.003018][ T175] softirqs last enabled at (915440): [] netif_change_name+0x216/0x8c0 [ 33.003021][ T175] softirqs last disabled at (915438): [] netif_change_name+0x1ad/0x8c0 [ 33.003023][ T175] Preemption disabled at: [ 33.003024][ T175] [] vprintk_emit+0x31b/0x3e0 [ 33.003029][ T175] CPU: 2 UID: 0 PID: 175 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 33.003033][ T175] Tainted: [W]=WARN [ 33.003034][ T175] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.003036][ T175] Call Trace: [ 33.003037][ T175] [ 33.003039][ T175] dump_stack_lvl+0x6f/0xa0 [ 33.003045][ T175] ? vprintk_emit+0x31b/0x3e0 [ 33.003047][ T175] __might_resched.cold+0x1fe/0x2c1 [ 33.003051][ T175] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 33.003055][ T175] ? __kmalloc_noprof+0xdb/0x760 [ 33.003060][ T175] __kmalloc_noprof+0x443/0x760 [ 33.003062][ T175] ? alloc_buf.isra.0+0x4b/0x260 [ 33.003068][ T175] ? do_raw_spin_unlock+0x59/0x250 [ 33.003071][ T175] alloc_buf.isra.0+0x4b/0x260 [ 33.003074][ T175] put_chars+0x1e1/0x2f0 [ 33.003077][ T175] ? __send_to_port+0x420/0x420 [ 33.003078][ T175] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 33.003083][ T175] ? rcu_read_lock_any_held+0x3c/0x90 [ 33.003085][ T175] ? validate_chain+0x38b/0xc20 [ 33.003090][ T175] hvc_console_print+0x292/0x780 [ 33.003093][ T175] ? __lock_acquire+0x518/0xc20 [ 33.003098][ T175] ? hvc_write+0x3a0/0x3a0 [ 33.003101][ T175] ? rcu_is_watching+0x16/0xd0 [ 33.003106][ T175] console_emit_next_record+0x252/0x4f0 [ 33.003110][ T175] ? devkmsg_read+0x4e0/0x4e0 [ 33.003114][ T175] ? rcu_is_watching+0x16/0xd0 [ 33.003116][ T175] ? lock_acquire+0x13c/0x160 [ 33.003120][ T175] console_flush_one_record+0x46f/0x710 [ 33.003125][ T175] ? console_emit_next_record+0x4f0/0x4f0 [ 33.003126][ T175] ? __lock_acquire+0x518/0xc20 [ 33.003132][ T175] console_unlock+0xee/0x1f0 [ 33.003134][ T175] ? console_flush_one_record+0x710/0x710 [ 33.003136][ T175] ? rcu_is_watching+0x16/0xd0 [ 33.003138][ T175] ? lock_acquire+0x60/0x160 [ 33.003142][ T175] ? __down_trylock_console_sem+0x5e/0xa0 [ 33.003143][ T175] ? vprintk_emit+0x320/0x3e0 [ 33.003147][ T175] vprintk_emit+0x37c/0x3e0 [ 33.003150][ T175] ? wake_up_klogd_work_func+0x90/0x90 [ 33.003152][ T175] ? __lock_acquire+0x518/0xc20 [ 33.003154][ T175] ? rwsem_optimistic_spin+0x3c7/0x480 [ 33.003161][ T175] dev_vprintk_emit+0x27f/0x2c0 [ 33.003166][ T175] ? device_rename.cold+0xa/0xa [ 33.003172][ T175] ? mark_usage+0x61/0x170 [ 33.003176][ T175] dev_printk_emit+0xb9/0xee [ 33.003179][ T175] ? dev_vprintk_emit+0x2c0/0x2c0 [ 33.003181][ T175] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 33.003184][ T175] ? validate_chain+0x38b/0xc20 [ 33.003185][ T175] ? __lock_acquire+0x518/0xc20 [ 33.003187][ T175] ? __lock_acquire+0x518/0xc20 [ 33.003188][ T175] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 33.003190][ T175] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 33.003195][ T175] __netdev_printk+0x160/0x1d0 [ 33.003200][ T175] netdev_info+0xe2/0x116 [ 33.003203][ T175] ? netdev_notice+0x120/0x120 [ 33.003205][ T175] ? find_held_lock+0x2b/0x80 [ 33.003209][ T175] ? __lock_release.isra.0+0x69/0x1a0 [ 33.003211][ T175] ? mark_held_locks+0x40/0x70 [ 33.003215][ T175] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 33.003217][ T175] netif_change_name.cold+0x4f/0x89 [ 33.003220][ T175] ? __lock_acquire+0x518/0xc20 [ 33.003222][ T175] ? rwsem_optimistic_spin+0x3c7/0x480 [ 33.003224][ T175] ? find_held_lock+0x2/0x80 [ 33.003228][ T175] ? netdev_adjacent_rename_links+0x470/0x470 [ 33.003230][ T175] ? find_held_lock+0x2b/0x80 [ 33.003233][ T175] ? __asan_memset+0x27/0x50 [ 33.003239][ T175] do_setlink.isra.0+0x1f7d/0x2a60 [ 33.003242][ T175] ? __lock_acquire+0x518/0xc20 [ 33.003245][ T175] ? rtnl_link_get_size+0x350/0x350 [ 33.003247][ T175] ? mark_usage+0x61/0x170 [ 33.003248][ T175] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 33.003250][ T175] ? rcu_read_lock_any_held+0x3c/0x90 [ 33.003252][ T175] ? validate_chain+0x38b/0xc20 [ 33.003256][ T175] ? __lock_acquire+0x518/0xc20 [ 33.003261][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 33.003263][ T175] ? rtnl_setlink+0x29d/0x920 [ 33.003266][ T175] ? rcu_is_watching+0x16/0xd0 [ 33.003268][ T175] ? lock_acquire+0x13c/0x160 [ 33.003270][ T175] ? rcu_is_watching+0x16/0xd0 [ 33.003271][ T175] ? rcu_is_watching+0x16/0xd0 [ 33.003273][ T175] ? trace_contention_end+0xb3/0x180 [ 33.003276][ T175] ? __mutex_lock+0x1db/0x1ea0 [ 33.003279][ T175] ? __mutex_lock+0x9a3/0x1ea0 [ 33.003280][ T175] ? __lock_acquire+0x518/0xc20 [ 33.003282][ T175] ? rtnl_setlink+0x29d/0x920 [ 33.003285][ T175] ? mark_usage+0x61/0x170 [ 33.003287][ T175] ? ww_mutex_lock+0x160/0x160 [ 33.003289][ T175] ? nla_get_range_signed+0x3d0/0x3d0 [ 33.003295][ T175] ? mark_usage+0x61/0x170 [ 33.003298][ T175] ? cap_capable+0x1d7/0x3d0 [ 33.003307][ T175] rtnl_setlink+0x527/0x920 [ 33.003310][ T175] ? __rtnl_newlink+0xa50/0xa50 [ 33.003312][ T175] ? __lock_acquire+0x518/0xc20 [ 33.003336][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 33.003338][ T175] ? find_held_lock+0x2b/0x80 [ 33.003341][ T175] ? __lock_release.isra.0+0x69/0x1a0 [ 33.003343][ T175] ? mark_usage+0x61/0x170 [ 33.003344][ T175] ? __lock_acquire+0x518/0xc20 [ 33.003349][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 33.003351][ T175] ? find_held_lock+0x2b/0x80 [ 33.003353][ T175] ? __rtnl_newlink+0xa50/0xa50 [ 33.003355][ T175] ? __lock_release.isra.0+0x69/0x1a0 [ 33.003361][ T175] ? __rtnl_newlink+0xa50/0xa50 [ 33.003364][ T175] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 33.003367][ T175] ? rtnl_link_fill+0x900/0x900 [ 33.003369][ T175] ? __lock_acquire+0x518/0xc20 [ 33.003373][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 33.003375][ T175] ? find_held_lock+0x2b/0x80 [ 33.003379][ T175] netlink_rcv_skb+0x14e/0x3a0 [ 33.003382][ T175] ? rtnl_link_fill+0x900/0x900 [ 33.003386][ T175] ? netlink_ack+0xcd0/0xcd0 [ 33.003393][ T175] ? netlink_deliver_tap+0xc5/0x330 [ 33.003395][ T175] ? netlink_deliver_tap+0x13c/0x330 [ 33.003399][ T175] netlink_unicast+0x486/0x750 [ 33.003404][ T175] ? netlink_attachskb+0x810/0x810 [ 33.003406][ T175] ? __lock_acquire+0x518/0xc20 [ 33.003411][ T175] netlink_sendmsg+0x735/0xc60 [ 33.003415][ T175] ? netlink_unicast+0x750/0x750 [ 33.003419][ T175] ? __might_fault+0x97/0x140 [ 33.003423][ T175] ? __might_fault+0x97/0x140 [ 33.003426][ T175] __sys_sendto+0x2aa/0x400 [ 33.003430][ T175] ? __ia32_sys_getpeername+0xd0/0xd0 [ 33.003444][ T175] __x64_sys_sendto+0xe4/0x1f0 [ 33.003446][ T175] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 33.003450][ T175] ? lockdep_hardirqs_on+0x91/0x130 [ 33.003453][ T175] ? do_syscall_64+0xa6/0x530 [ 33.003454][ T175] do_syscall_64+0xff/0x530 [ 33.003455][ T175] ? exc_page_fault+0xee/0x100 [ 33.003458][ T175] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.003461][ T175] RIP: 0033:0x7fdd86fd654e [ 33.003465][ T175] 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 [ 33.003467][ T175] RSP: 002b:00007ffcf6233ba0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 33.003469][ T175] RAX: ffffffffffffffda RBX: 0000563bd67024f0 RCX: 00007fdd86fd654e [ 33.003471][ T175] RDX: 0000000000000030 RSI: 0000563bd684f9f0 RDI: 0000000000000012 [ 33.003472][ T175] RBP: 00007ffcf6233bb0 R08: 00007ffcf6233c00 R09: 0000000000000080 [ 33.003472][ T175] R10: 0000000000000000 R11: 0000000000000202 R12: 0000563bd6862b40 [ 33.003473][ T175] R13: 00007ffcf6233ce4 R14: 0000000000000000 R15: 0000000000000000 [ 33.003480][ T175] [ 38.684420][ T177] netdevsim netdevsim638 eni638np1: renamed from eth0 [ 38.684438][ T177] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 38.684441][ T177] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 177, name: (udev-worker) [ 38.684442][ T177] preempt_count: 1, expected: 0 [ 38.684443][ T177] RCU nest depth: 0, expected: 0 [ 38.684445][ T177] locks held by (udev-worker)/177: 6, last CPU#1: [ 38.684447][ T177] #0: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 38.684459][ T177] #1: ff1100000c76add8 (&dev_instance_lock_key#5){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 38.684464][ T177] #2: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 38.684470][ T177] #3: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 38.684473][ T177] #4: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 38.684477][ T177] #5: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 38.684481][ T177] irq event stamp: 3044684 [ 38.684482][ T177] hardirqs last enabled at (3044683): [] __down_trylock_console_sem+0x86/0xa0 [ 38.684484][ T177] hardirqs last disabled at (3044684): [] console_emit_next_record+0x3f8/0x4f0 [ 38.684486][ T177] softirqs last enabled at (3044678): [] netif_change_name+0x216/0x8c0 [ 38.684489][ T177] softirqs last disabled at (3044676): [] netif_change_name+0x1ad/0x8c0 [ 38.684491][ T177] Preemption disabled at: [ 38.684492][ T177] [] vprintk_emit+0x31b/0x3e0 [ 38.684497][ T177] CPU: 1 UID: 0 PID: 177 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.684501][ T177] Tainted: [W]=WARN [ 38.684502][ T177] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.684504][ T177] Call Trace: [ 38.684506][ T177] [ 38.684508][ T177] dump_stack_lvl+0x6f/0xa0 [ 38.684513][ T177] ? vprintk_emit+0x31b/0x3e0 [ 38.684515][ T177] __might_resched.cold+0x1fe/0x2c1 [ 38.684520][ T177] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 38.684524][ T177] ? __kmalloc_noprof+0xdb/0x760 [ 38.684529][ T177] __kmalloc_noprof+0x443/0x760 [ 38.684531][ T177] ? alloc_buf.isra.0+0x4b/0x260 [ 38.684537][ T177] ? do_raw_spin_unlock+0x59/0x250 [ 38.684539][ T177] alloc_buf.isra.0+0x4b/0x260 [ 38.684542][ T177] put_chars+0x1e1/0x2f0 [ 38.684545][ T177] ? __send_to_port+0x420/0x420 [ 38.684547][ T177] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.684552][ T177] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.684554][ T177] ? validate_chain+0x38b/0xc20 [ 38.684559][ T177] hvc_console_print+0x292/0x780 [ 38.684561][ T177] ? __lock_acquire+0x518/0xc20 [ 38.684567][ T177] ? hvc_write+0x3a0/0x3a0 [ 38.684569][ T177] ? rcu_is_watching+0x16/0xd0 [ 38.684574][ T177] console_emit_next_record+0x252/0x4f0 [ 38.684578][ T177] ? devkmsg_read+0x4e0/0x4e0 [ 38.684583][ T177] ? rcu_is_watching+0x16/0xd0 [ 38.684585][ T177] ? lock_acquire+0x13c/0x160 [ 38.684589][ T177] console_flush_one_record+0x46f/0x710 [ 38.684593][ T177] ? console_emit_next_record+0x4f0/0x4f0 [ 38.684594][ T177] ? __lock_acquire+0x518/0xc20 [ 38.684600][ T177] console_unlock+0xee/0x1f0 [ 38.684602][ T177] ? console_flush_one_record+0x710/0x710 [ 38.684604][ T177] ? rcu_is_watching+0x16/0xd0 [ 38.684606][ T177] ? lock_acquire+0x60/0x160 [ 38.684610][ T177] ? __down_trylock_console_sem+0x5e/0xa0 [ 38.684611][ T177] ? vprintk_emit+0x320/0x3e0 [ 38.684614][ T177] vprintk_emit+0x37c/0x3e0 [ 38.684618][ T177] ? wake_up_klogd_work_func+0x90/0x90 [ 38.684620][ T177] ? __lock_acquire+0x518/0xc20 [ 38.684622][ T177] ? rwsem_optimistic_spin+0x3c7/0x480 [ 38.684628][ T177] dev_vprintk_emit+0x27f/0x2c0 [ 38.684634][ T177] ? device_rename.cold+0xa/0xa [ 38.684639][ T177] ? mark_usage+0x61/0x170 [ 38.684644][ T177] dev_printk_emit+0xb9/0xee [ 38.684646][ T177] ? dev_vprintk_emit+0x2c0/0x2c0 [ 38.684648][ T177] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.684651][ T177] ? validate_chain+0x38b/0xc20 [ 38.684653][ T177] ? __lock_acquire+0x518/0xc20 [ 38.684654][ T177] ? __lock_acquire+0x518/0xc20 [ 38.684656][ T177] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.684658][ T177] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.684662][ T177] __netdev_printk+0x160/0x1d0 [ 38.684668][ T177] netdev_info+0xe2/0x116 [ 38.684670][ T177] ? netdev_notice+0x120/0x120 [ 38.684672][ T177] ? find_held_lock+0x2b/0x80 [ 38.684676][ T177] ? __lock_release.isra.0+0x69/0x1a0 [ 38.684678][ T177] ? mark_held_locks+0x40/0x70 [ 38.684682][ T177] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 38.684684][ T177] netif_change_name.cold+0x4f/0x89 [ 38.684688][ T177] ? __lock_acquire+0x518/0xc20 [ 38.684689][ T177] ? rwsem_optimistic_spin+0x3c7/0x480 [ 38.684691][ T177] ? find_held_lock+0x2/0x80 [ 38.684695][ T177] ? netdev_adjacent_rename_links+0x470/0x470 [ 38.684697][ T177] ? find_held_lock+0x2b/0x80 [ 38.684700][ T177] ? __asan_memset+0x27/0x50 [ 38.684706][ T177] do_setlink.isra.0+0x1f7d/0x2a60 [ 38.684710][ T177] ? __lock_acquire+0x518/0xc20 [ 38.684712][ T177] ? rtnl_link_get_size+0x350/0x350 [ 38.684714][ T177] ? mark_usage+0x61/0x170 [ 38.684715][ T177] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.684718][ T177] ? rcu_read_lock_any_held+0x3c/0x90 [ 38.684719][ T177] ? validate_chain+0x38b/0xc20 [ 38.684724][ T177] ? __lock_acquire+0x518/0xc20 [ 38.684728][ T177] ? lock_acquire.part.0+0xd4/0x280 [ 38.684730][ T177] ? rtnl_setlink+0x29d/0x920 [ 38.684733][ T177] ? rcu_is_watching+0x16/0xd0 [ 38.684735][ T177] ? lock_acquire+0x13c/0x160 [ 38.684737][ T177] ? rcu_is_watching+0x16/0xd0 [ 38.684738][ T177] ? rcu_is_watching+0x16/0xd0 [ 38.684740][ T177] ? trace_contention_end+0xb3/0x180 [ 38.684743][ T177] ? __mutex_lock+0x1db/0x1ea0 [ 38.684746][ T177] ? __mutex_lock+0x9a3/0x1ea0 [ 38.684748][ T177] ? __lock_acquire+0x518/0xc20 [ 38.684749][ T177] ? rtnl_setlink+0x29d/0x920 [ 38.684752][ T177] ? mark_usage+0x61/0x170 [ 38.684754][ T177] ? ww_mutex_lock+0x160/0x160 [ 38.684756][ T177] ? nla_get_range_signed+0x3d0/0x3d0 [ 38.684763][ T177] ? mark_usage+0x61/0x170 [ 38.684766][ T177] ? cap_capable+0x1d7/0x3d0 [ 38.684774][ T177] rtnl_setlink+0x527/0x920 [ 38.684778][ T177] ? __rtnl_newlink+0xa50/0xa50 [ 38.684779][ T177] ? __lock_acquire+0x518/0xc20 [ 38.684803][ T177] ? lock_acquire.part.0+0xd4/0x280 [ 38.684804][ T177] ? find_held_lock+0x2b/0x80 [ 38.684808][ T177] ? __lock_release.isra.0+0x69/0x1a0 [ 38.684809][ T177] ? mark_usage+0x61/0x170 [ 38.684811][ T177] ? __lock_acquire+0x518/0xc20 [ 38.684816][ T177] ? lock_acquire.part.0+0xd4/0x280 [ 38.684817][ T177] ? find_held_lock+0x2b/0x80 [ 38.684820][ T177] ? __rtnl_newlink+0xa50/0xa50 [ 38.684822][ T177] ? __lock_release.isra.0+0x69/0x1a0 [ 38.684826][ T177] ? __rtnl_newlink+0xa50/0xa50 [ 38.684828][ T177] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 38.684832][ T177] ? rtnl_link_fill+0x900/0x900 [ 38.684834][ T177] ? __lock_acquire+0x518/0xc20 [ 38.684838][ T177] ? lock_acquire.part.0+0xd4/0x280 [ 38.684840][ T177] ? find_held_lock+0x2b/0x80 [ 38.684844][ T177] netlink_rcv_skb+0x14e/0x3a0 [ 38.684847][ T177] ? rtnl_link_fill+0x900/0x900 [ 38.684851][ T177] ? netlink_ack+0xcd0/0xcd0 [ 38.684858][ T177] ? netlink_deliver_tap+0xc5/0x330 [ 38.684860][ T177] ? netlink_deliver_tap+0x13c/0x330 [ 38.684865][ T177] netlink_unicast+0x486/0x750 [ 38.684869][ T177] ? netlink_attachskb+0x810/0x810 [ 38.684871][ T177] ? __lock_acquire+0x518/0xc20 [ 38.684876][ T177] netlink_sendmsg+0x735/0xc60 [ 38.684880][ T177] ? netlink_unicast+0x750/0x750 [ 38.684884][ T177] ? __might_fault+0x97/0x140 [ 38.684888][ T177] ? __might_fault+0x97/0x140 [ 38.684892][ T177] __sys_sendto+0x2aa/0x400 [ 38.684895][ T177] ? __ia32_sys_getpeername+0xd0/0xd0 [ 38.684906][ T177] ? exc_page_fault+0x87/0x100 [ 38.684913][ T177] __x64_sys_sendto+0xe4/0x1f0 [ 38.684914][ T177] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 38.684918][ T177] ? lockdep_hardirqs_on+0x91/0x130 [ 38.684920][ T177] ? do_syscall_64+0xa6/0x530 [ 38.684922][ T177] do_syscall_64+0xff/0x530 [ 38.684923][ T177] ? exc_page_fault+0xee/0x100 [ 38.684926][ T177] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 38.684929][ T177] RIP: 0033:0x7fdd86fd654e [ 38.684933][ T177] 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 [ 38.684935][ T177] RSP: 002b:00007ffcf6233ba0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 38.684938][ T177] RAX: ffffffffffffffda RBX: 0000563bd67024f0 RCX: 00007fdd86fd654e [ 38.684940][ T177] RDX: 0000000000000030 RSI: 0000563bd6703a90 RDI: 0000000000000016 [ 38.684940][ T177] RBP: 00007ffcf6233bb0 R08: 00007ffcf6233c00 R09: 0000000000000080 [ 38.684941][ T177] R10: 0000000000000000 R11: 0000000000000202 R12: 0000563bd68a85a0 [ 38.684942][ T177] R13: 00007ffcf6233ce4 R14: 0000000000000000 R15: 0000000000000000 [ 38.684955][ T177] [ 39.007295][ T288] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 39.163422][ T288] netdevsim netdevsim638 eni638np1: set [0, 1] type 1 family 0 port 10001 - 0 [ 39.346390][ T288] netdevsim netdevsim638 eni638np1: set [0, 2] type 1 family 0 port 10002 - 0 [ 39.587390][ T288] netdevsim netdevsim638 eni638np1: set [0, 3] type 1 family 0 port 10003 - 0 [ 40.016387][ T288] netdevsim netdevsim638 eni638np1: set [1, 0] type 2 family 0 port 20000 - 0 [ 40.016405][ T288] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 40.016408][ T288] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 288, name: kworker/u16:2 [ 40.016410][ T288] preempt_count: 1, expected: 0 [ 40.016410][ T288] RCU nest depth: 0, expected: 0 [ 40.016411][ T288] locks held by kworker/u16:2/288: 8, last CPU#1: [ 40.016414][ T288] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 40.016426][ T288] #1: ffa0000001827d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 40.016430][ T288] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 40.016436][ T288] #3: ff1100000b8dbf10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 40.016440][ T288] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 40.016445][ T288] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 40.016449][ T288] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 40.016453][ T288] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 40.016457][ T288] irq event stamp: 29270 [ 40.016458][ T288] hardirqs last enabled at (29269): [] __down_trylock_console_sem+0x86/0xa0 [ 40.016460][ T288] hardirqs last disabled at (29270): [] console_emit_next_record+0x3f8/0x4f0 [ 40.016462][ T288] softirqs last enabled at (29258): [] addrconf_dad_begin+0x37f/0x540 [ 40.016466][ T288] softirqs last disabled at (29250): [] addrconf_dad_begin+0x154/0x540 [ 40.016469][ T288] Preemption disabled at: [ 40.016469][ T288] [] vprintk_emit+0x31b/0x3e0 [ 40.016475][ T288] CPU: 1 UID: 0 PID: 288 Comm: kworker/u16:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 40.016478][ T288] Tainted: [W]=WARN [ 40.016479][ T288] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 40.016482][ T288] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 40.016485][ T288] Call Trace: [ 40.016487][ T288] [ 40.016488][ T288] dump_stack_lvl+0x6f/0xa0 [ 40.016494][ T288] ? vprintk_emit+0x31b/0x3e0 [ 40.016496][ T288] __might_resched.cold+0x1fe/0x2c1 [ 40.016500][ T288] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 40.016504][ T288] ? __kmalloc_noprof+0xdb/0x760 [ 40.016509][ T288] __kmalloc_noprof+0x443/0x760 [ 40.016511][ T288] ? alloc_buf.isra.0+0x4b/0x260 [ 40.016517][ T288] ? do_raw_spin_unlock+0x59/0x250 [ 40.016520][ T288] alloc_buf.isra.0+0x4b/0x260 [ 40.016523][ T288] put_chars+0x1e1/0x2f0 [ 40.016526][ T288] ? __send_to_port+0x420/0x420 [ 40.016530][ T288] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 40.016534][ T288] ? rcu_read_lock_any_held+0x3c/0x90 [ 40.016536][ T288] ? validate_chain+0x38b/0xc20 [ 40.016540][ T288] hvc_console_print+0x292/0x780 [ 40.016543][ T288] ? mark_usage+0x61/0x170 [ 40.016545][ T288] ? __lock_acquire+0x518/0xc20 [ 40.016546][ T288] ? __lock_acquire+0x518/0xc20 [ 40.016550][ T288] ? hvc_write+0x3a0/0x3a0 [ 40.016552][ T288] ? console_emit_next_record+0x202/0x4f0 [ 40.016555][ T288] ? rcu_is_watching+0x16/0xd0 [ 40.016558][ T288] ? lock_acquire+0x13c/0x160 [ 40.016562][ T288] console_emit_next_record+0x252/0x4f0 [ 40.016566][ T288] ? devkmsg_read+0x4e0/0x4e0 [ 40.016570][ T288] ? rcu_is_watching+0x16/0xd0 [ 40.016573][ T288] ? lock_acquire+0x13c/0x160 [ 40.016577][ T288] console_flush_one_record+0x46f/0x710 [ 40.016581][ T288] ? console_emit_next_record+0x4f0/0x4f0 [ 40.016582][ T288] ? __lock_acquire+0x518/0xc20 [ 40.016588][ T288] console_unlock+0xee/0x1f0 [ 40.016590][ T288] ? console_flush_one_record+0x710/0x710 [ 40.016592][ T288] ? rcu_is_watching+0x16/0xd0 [ 40.016594][ T288] ? lock_acquire+0x60/0x160 [ 40.016598][ T288] ? __down_trylock_console_sem+0x5e/0xa0 [ 40.016599][ T288] ? vprintk_emit+0x320/0x3e0 [ 40.016603][ T288] vprintk_emit+0x37c/0x3e0 [ 40.016607][ T288] ? wake_up_klogd_work_func+0x90/0x90 [ 40.016610][ T288] ? __lock_release.isra.0+0x69/0x1a0 [ 40.016615][ T288] dev_vprintk_emit+0x27f/0x2c0 [ 40.016620][ T288] ? device_rename.cold+0xa/0xa [ 40.016622][ T288] ? debug_object_activate+0x345/0x4a0 [ 40.016630][ T288] ? __lock_release.isra.0+0x69/0x1a0 [ 40.016634][ T288] dev_printk_emit+0xb9/0xee [ 40.016637][ T288] ? dev_vprintk_emit+0x2c0/0x2c0 [ 40.016639][ T288] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 40.016644][ T288] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 40.016647][ T288] ? rcu_read_lock_any_held+0x3c/0x90 [ 40.016648][ T288] ? validate_chain+0x38b/0xc20 [ 40.016652][ T288] __netdev_printk+0x160/0x1d0 [ 40.016657][ T288] netdev_info+0xe2/0x116 [ 40.016660][ T288] ? netdev_notice+0x120/0x120 [ 40.016664][ T288] ? lock_acquire.part.0+0xd4/0x280 [ 40.016666][ T288] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 40.016669][ T288] ? rcu_is_watching+0x16/0xd0 [ 40.016673][ T288] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 40.016681][ T288] ? __mutex_lock+0x9a3/0x1ea0 [ 40.016684][ T288] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 40.016685][ T288] ? __asan_memset+0x27/0x50 [ 40.016690][ T288] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 40.016694][ T288] ? rcu_tasks_need_gpcb+0x837/0x880 [ 40.016700][ T288] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 40.016706][ T288] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 40.016709][ T288] ? rcu_is_watching+0x16/0xd0 [ 40.016711][ T288] ? lock_acquire+0x13c/0x160 [ 40.016713][ T288] ? rcu_is_watching+0x16/0xd0 [ 40.016716][ T288] ? process_one_work+0xe16/0x1560 [ 40.016718][ T288] ? process_one_work+0xdfc/0x1560 [ 40.016719][ T288] process_one_work+0xe3e/0x1560 [ 40.016726][ T288] ? __queue_delayed_work+0x470/0x470 [ 40.016729][ T288] ? lock_acquire.part.0+0xd4/0x280 [ 40.016737][ T288] worker_thread+0x4f1/0xd60 [ 40.016741][ T288] ? rescuer_thread+0x1340/0x1340 [ 40.016743][ T288] ? __kthread_parkme+0xbd/0x210 [ 40.016746][ T288] ? rescuer_thread+0x1340/0x1340 [ 40.016749][ T288] ? rescuer_thread+0x1340/0x1340 [ 40.016750][ T288] kthread+0x367/0x460 [ 40.016752][ T288] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 40.016756][ T288] ? kthread_affine_preferred+0x4c0/0x4c0 [ 40.016759][ T288] ret_from_fork+0x474/0x6b0 [ 40.016764][ T288] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 40.016768][ T288] ? __switch_to+0x5a3/0xe00 [ 40.016770][ T288] ? kthread_affine_preferred+0x4c0/0x4c0 [ 40.016773][ T288] ret_from_fork_asm+0x11/0x20 [ 40.016783][ T288] [ 40.264385][ T288] netdevsim netdevsim638 eni638np1: set [1, 1] type 2 family 0 port 20001 - 0 [ 40.524392][ T288] netdevsim netdevsim638 eni638np1: set [1, 2] type 2 family 0 port 20002 - 0 [ 40.800794][ T288] netdevsim netdevsim638 eni638np1: set [1, 3] type 2 family 0 port 20003 - 0 [ 41.434854][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [0, 0] type 1 family 0 port 10000 - 0 [ 41.434912][ T166] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 41.434915][ T166] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 166, name: udp_tunnel_nic. [ 41.434916][ T166] preempt_count: 1, expected: 0 [ 41.434917][ T166] RCU nest depth: 0, expected: 0 [ 41.434918][ T166] locks held by udp_tunnel_nic./166: 10, last CPU#0: [ 41.434921][ T166] #0: ff11000009ea9430 (sb_writers#7){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 41.434933][ T166] #1: ff1100000cce6280 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x247/0x510 [ 41.434939][ T166] #2: ff110000094db9f0 (kn->active#38){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x29e/0x510 [ 41.434943][ T166] #3: ff1100000c63a258 (&devlink->lock_key#3){+.+.}-{4:4}, at: nsim_drv_port_del+0x4c/0x160 [netdevsim] [ 41.434952][ T166] #4: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x133/0x7f0 [netdevsim] [ 41.434958][ T166] #5: ff1100000b8dbf10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_unregister+0xe6/0xb10 [udp_tunnel] [ 41.434962][ T166] #6: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 41.434973][ T166] #7: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 41.434977][ T166] #8: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 41.434981][ T166] #9: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 41.434984][ T166] irq event stamp: 4121106 [ 41.434985][ T166] hardirqs last enabled at (4121105): [] __down_trylock_console_sem+0x86/0xa0 [ 41.434988][ T166] hardirqs last disabled at (4121106): [] console_emit_next_record+0x3f8/0x4f0 [ 41.434990][ T166] softirqs last enabled at (4121084): [] __neigh_ifdown.isra.0+0x1b8/0xa50 [ 41.434994][ T166] softirqs last disabled at (4121082): [] __neigh_ifdown.isra.0+0x89/0xa50 [ 41.434996][ T166] Preemption disabled at: [ 41.434996][ T166] [] vprintk_emit+0x31b/0x3e0 [ 41.435003][ T166] CPU: 0 UID: 0 PID: 166 Comm: udp_tunnel_nic. Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 41.435006][ T166] Tainted: [W]=WARN [ 41.435007][ T166] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 41.435009][ T166] Call Trace: [ 41.435011][ T166] [ 41.435013][ T166] dump_stack_lvl+0x6f/0xa0 [ 41.435018][ T166] ? vprintk_emit+0x31b/0x3e0 [ 41.435020][ T166] __might_resched.cold+0x1fe/0x2c1 [ 41.435025][ T166] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 41.435029][ T166] ? __kmalloc_noprof+0xdb/0x760 [ 41.435033][ T166] __kmalloc_noprof+0x443/0x760 [ 41.435036][ T166] ? alloc_buf.isra.0+0x4b/0x260 [ 41.435041][ T166] ? do_raw_spin_unlock+0x59/0x250 [ 41.435044][ T166] alloc_buf.isra.0+0x4b/0x260 [ 41.435047][ T166] put_chars+0x1e1/0x2f0 [ 41.435049][ T166] ? printk_get_next_message+0x2fe/0x7d0 [ 41.435052][ T166] ? __send_to_port+0x420/0x420 [ 41.435055][ T166] ? validate_chain+0x34a/0xc20 [ 41.435061][ T166] hvc_console_print+0x292/0x780 [ 41.435067][ T166] ? hvc_write+0x3a0/0x3a0 [ 41.435070][ T166] ? rcu_is_watching+0x16/0xd0 [ 41.435073][ T166] ? lock_acquire+0x13c/0x160 [ 41.435077][ T166] console_emit_next_record+0x252/0x4f0 [ 41.435081][ T166] ? devkmsg_read+0x4e0/0x4e0 [ 41.435086][ T166] ? rcu_is_watching+0x16/0xd0 [ 41.435088][ T166] ? lock_acquire+0x13c/0x160 [ 41.435092][ T166] console_flush_one_record+0x46f/0x710 [ 41.435097][ T166] ? console_emit_next_record+0x4f0/0x4f0 [ 41.435098][ T166] ? __lock_acquire+0x518/0xc20 [ 41.435104][ T166] console_unlock+0xee/0x1f0 [ 41.435107][ T166] ? console_flush_one_record+0x710/0x710 [ 41.435109][ T166] ? rcu_is_watching+0x16/0xd0 [ 41.435111][ T166] ? lock_acquire+0x60/0x160 [ 41.435115][ T166] ? __down_trylock_console_sem+0x5e/0xa0 [ 41.435116][ T166] ? vprintk_emit+0x320/0x3e0 [ 41.435120][ T166] vprintk_emit+0x37c/0x3e0 [ 41.435123][ T166] ? wake_up_klogd_work_func+0x90/0x90 [ 41.435126][ T166] ? __lock_acquire+0x518/0xc20 [ 41.435127][ T166] ? __lock_acquire+0x518/0xc20 [ 41.435132][ T166] dev_vprintk_emit+0x27f/0x2c0 [ 41.435138][ T166] ? device_rename.cold+0xa/0xa [ 41.435143][ T166] ? is_bpf_text_address+0x68/0x110 [ 41.435150][ T166] dev_printk_emit+0xb9/0xee [ 41.435153][ T166] ? dev_vprintk_emit+0x2c0/0x2c0 [ 41.435161][ T166] __netdev_printk+0x160/0x1d0 [ 41.435167][ T166] netdev_info+0xe2/0x116 [ 41.435170][ T166] ? netdev_notice+0x120/0x120 [ 41.435171][ T166] ? rcu_read_lock_any_held+0x3c/0x90 [ 41.435175][ T166] ? unregister_netdevice_many_notify+0xc5a/0x1b40 [ 41.435178][ T166] ? unregister_netdevice_queue+0x290/0x470 [ 41.435181][ T166] ? __lock_acquire+0x518/0xc20 [ 41.435186][ T166] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 41.435193][ T166] ? rcu_is_watching+0x16/0xd0 [ 41.435195][ T166] ? __asan_memset+0x27/0x50 [ 41.435199][ T166] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 41.435204][ T166] ? __mutex_lock+0x987/0x1ea0 [ 41.435211][ T166] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 41.435218][ T166] udp_tunnel_nic_flush+0x24b/0x670 [udp_tunnel] [ 41.435225][ T166] udp_tunnel_nic_unregister+0x34d/0xb10 [udp_tunnel] [ 41.435231][ T166] udp_tunnel_nic_netdevice_event+0x686/0xbbd [udp_tunnel] [ 41.435237][ T166] ? rcu_is_watching+0x16/0xd0 [ 41.435239][ T166] notifier_call_chain+0xae/0x300 [ 41.435246][ T166] unregister_netdevice_many_notify+0xc5a/0x1b40 [ 41.435251][ T166] ? unregister_netdevice_queued+0x80/0x80 [ 41.435253][ T166] ? nsim_destroy+0x133/0x7f0 [netdevsim] [ 41.435257][ T166] ? netdev_run_todo+0x2a8/0xfd0 [ 41.435261][ T166] ? rtnl_is_locked+0x15/0x20 [ 41.435266][ T166] ? sysfs_file_ops+0x140/0x140 [ 41.435268][ T166] unregister_netdevice_queue+0x290/0x470 [ 41.435270][ T166] ? rtnl_net_dev_lock+0xdb/0x270 [ 41.435273][ T166] ? rcu_is_watching+0x16/0xd0 [ 41.435275][ T166] ? unregister_netdevice_many+0x20/0x20 [ 41.435280][ T166] nsim_destroy+0x1b1/0x7f0 [netdevsim] [ 41.435285][ T166] ? kstrtouint+0x6e/0x100 [ 41.435290][ T166] __nsim_dev_port_del+0x183/0x300 [netdevsim] [ 41.435295][ T166] ? nsim_drv_port_del+0x4c/0x160 [netdevsim] [ 41.435298][ T166] nsim_drv_port_del+0xdb/0x160 [netdevsim] [ 41.435303][ T166] del_port_store+0xee/0x120 [netdevsim] [ 41.435307][ T166] ? sysfs_file_kobj+0xb3/0x1e0 [ 41.435310][ T166] ? del_device_store+0x580/0x580 [netdevsim] [ 41.435314][ T166] ? sysfs_file_kobj+0xbd/0x1e0 [ 41.435316][ T166] ? sysfs_kf_write+0x65/0x160 [ 41.435319][ T166] kernfs_fop_write_iter+0x335/0x510 [ 41.435322][ T166] ? kernfs_ops+0xf0/0xf0 [ 41.435325][ T166] new_sync_write+0x33e/0x760 [ 41.435327][ T166] ? __lock_acquire+0x518/0xc20 [ 41.435330][ T166] ? new_sync_read+0x750/0x750 [ 41.435333][ T166] ? lock_acquire.part.0+0xd4/0x280 [ 41.435335][ T166] ? ksys_write+0x116/0x250 [ 41.435342][ T166] vfs_write+0x6a2/0xbd0 [ 41.435347][ T166] ksys_write+0x116/0x250 [ 41.435350][ T166] ? __ia32_sys_read+0xc0/0xc0 [ 41.435351][ T166] ? do_raw_spin_unlock+0x59/0x250 [ 41.435354][ T166] ? rcu_is_watching+0x16/0xd0 [ 41.435361][ T166] do_syscall_64+0xff/0x530 [ 41.435364][ T166] ? exc_page_fault+0xee/0x100 [ 41.435367][ T166] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 41.435369][ T166] RIP: 0033:0x7f6a330f554e [ 41.435373][ T166] 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 [ 41.435375][ T166] RSP: 002b:00007ffcf2082cd0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 41.435378][ T166] RAX: ffffffffffffffda RBX: 00007f6a33276580 RCX: 00007f6a330f554e [ 41.435379][ T166] RDX: 0000000000000002 RSI: 000055857ef98270 RDI: 0000000000000001 [ 41.435380][ T166] RBP: 00007ffcf2082ce0 R08: 0000000000000000 R09: 0000000000000000 [ 41.435381][ T166] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000002 [ 41.435382][ T166] R13: 0000000000000002 R14: 000055857ef98270 R15: 0000000000000000 [ 41.435389][ T166] [ 41.482686][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [0, 1] type 1 family 0 port 10001 - 0 [ 41.483737][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [0, 2] type 1 family 0 port 10002 - 0 [ 41.484775][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [0, 3] type 1 family 0 port 10003 - 0 [ 41.485801][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [1, 0] type 2 family 0 port 20000 - 0 [ 41.486823][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [1, 1] type 2 family 0 port 20001 - 0 [ 41.487880][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [1, 2] type 2 family 0 port 20002 - 0 [ 41.488926][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [1, 3] type 2 family 0 port 20003 - 0 [ 41.894567][ T177] netdevsim netdevsim638 eni638np2: renamed from eth0 [ 42.094395][ T288] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 42.200451][ T288] netdevsim netdevsim638 eni638np2: set [0, 1] type 1 family 0 port 10001 - 0 [ 42.339391][ T288] netdevsim netdevsim638 eni638np2: set [0, 2] type 1 family 0 port 10002 - 0 [ 42.510001][ T288] netdevsim netdevsim638 eni638np2: set [0, 3] type 1 family 0 port 10003 - 0 [ 42.510023][ T288] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 42.510026][ T288] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 288, name: kworker/u16:2 [ 42.510027][ T288] preempt_count: 1, expected: 0 [ 42.510028][ T288] RCU nest depth: 0, expected: 0 [ 42.510029][ T288] locks held by kworker/u16:2/288: 8, last CPU#2: [ 42.510032][ T288] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 42.510044][ T288] #1: ffa0000001827d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 42.510048][ T288] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 42.510055][ T288] #3: ff1100000d1be910 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 42.510059][ T288] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 42.510064][ T288] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 42.510068][ T288] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 42.510071][ T288] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 42.510075][ T288] irq event stamp: 38360 [ 42.510076][ T288] hardirqs last enabled at (38359): [] __down_trylock_console_sem+0x86/0xa0 [ 42.510078][ T288] hardirqs last disabled at (38360): [] console_emit_next_record+0x3f8/0x4f0 [ 42.510080][ T288] softirqs last enabled at (38346): [] __dev_queue_xmit+0x92b/0x1a10 [ 42.510084][ T288] softirqs last disabled at (38286): [] __dev_queue_xmit+0x23b/0x1a10 [ 42.510086][ T288] Preemption disabled at: [ 42.510087][ T288] [] vprintk_emit+0x31b/0x3e0 [ 42.510093][ T288] CPU: 2 UID: 0 PID: 288 Comm: kworker/u16:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 42.510097][ T288] Tainted: [W]=WARN [ 42.510098][ T288] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 42.510100][ T288] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 42.510104][ T288] Call Trace: [ 42.510106][ T288] [ 42.510107][ T288] dump_stack_lvl+0x6f/0xa0 [ 42.510113][ T288] ? vprintk_emit+0x31b/0x3e0 [ 42.510115][ T288] __might_resched.cold+0x1fe/0x2c1 [ 42.510120][ T288] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 42.510123][ T288] ? __kmalloc_noprof+0xdb/0x760 [ 42.510128][ T288] __kmalloc_noprof+0x443/0x760 [ 42.510131][ T288] ? alloc_buf.isra.0+0x4b/0x260 [ 42.510137][ T288] ? do_raw_spin_unlock+0x59/0x250 [ 42.510139][ T288] alloc_buf.isra.0+0x4b/0x260 [ 42.510143][ T288] put_chars+0x1e1/0x2f0 [ 42.510146][ T288] ? __send_to_port+0x420/0x420 [ 42.510149][ T288] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 42.510153][ T288] ? rcu_read_lock_any_held+0x3c/0x90 [ 42.510156][ T288] ? validate_chain+0x38b/0xc20 [ 42.510159][ T288] hvc_console_print+0x292/0x780 [ 42.510162][ T288] ? mark_usage+0x61/0x170 [ 42.510164][ T288] ? __lock_acquire+0x518/0xc20 [ 42.510166][ T288] ? __lock_acquire+0x518/0xc20 [ 42.510169][ T288] ? hvc_write+0x3a0/0x3a0 [ 42.510172][ T288] ? console_emit_next_record+0x202/0x4f0 [ 42.510175][ T288] ? rcu_is_watching+0x16/0xd0 [ 42.510177][ T288] ? lock_acquire+0x13c/0x160 [ 42.510181][ T288] console_emit_next_record+0x252/0x4f0 [ 42.510185][ T288] ? devkmsg_read+0x4e0/0x4e0 [ 42.510189][ T288] ? rcu_is_watching+0x16/0xd0 [ 42.510192][ T288] ? lock_acquire+0x13c/0x160 [ 42.510196][ T288] console_flush_one_record+0x46f/0x710 [ 42.510200][ T288] ? console_emit_next_record+0x4f0/0x4f0 [ 42.510201][ T288] ? __lock_acquire+0x518/0xc20 [ 42.510207][ T288] console_unlock+0xee/0x1f0 [ 42.510209][ T288] ? console_flush_one_record+0x710/0x710 [ 42.510211][ T288] ? rcu_is_watching+0x16/0xd0 [ 42.510213][ T288] ? lock_acquire+0x60/0x160 [ 42.510217][ T288] ? __down_trylock_console_sem+0x5e/0xa0 [ 42.510218][ T288] ? vprintk_emit+0x320/0x3e0 [ 42.510222][ T288] vprintk_emit+0x37c/0x3e0 [ 42.510225][ T288] ? wake_up_klogd_work_func+0x90/0x90 [ 42.510228][ T288] ? __lock_release.isra.0+0x69/0x1a0 [ 42.510233][ T288] dev_vprintk_emit+0x27f/0x2c0 [ 42.510238][ T288] ? device_rename.cold+0xa/0xa [ 42.510244][ T288] ? lock_acquire.part.0+0xd4/0x280 [ 42.510246][ T288] ? netdev_core_pick_tx+0x2d0/0x2d0 [ 42.510250][ T288] dev_printk_emit+0xb9/0xee [ 42.510252][ T288] ? dev_vprintk_emit+0x2c0/0x2c0 [ 42.510256][ T288] ? neigh_resolve_output.part.0+0x344/0x740 [ 42.510260][ T288] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 42.510262][ T288] ? rcu_read_lock_any_held+0x3c/0x90 [ 42.510263][ T288] ? rcu_is_watching+0x16/0xd0 [ 42.510267][ T288] __netdev_printk+0x160/0x1d0 [ 42.510273][ T288] netdev_info+0xe2/0x116 [ 42.510275][ T288] ? netdev_notice+0x120/0x120 [ 42.510279][ T288] ? lock_acquire.part.0+0xd4/0x280 [ 42.510281][ T288] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 42.510285][ T288] ? rcu_is_watching+0x16/0xd0 [ 42.510289][ T288] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 42.510296][ T288] ? __mutex_lock+0x9a3/0x1ea0 [ 42.510301][ T288] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 42.510303][ T288] ? __asan_memset+0x27/0x50 [ 42.510307][ T288] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 42.510311][ T288] ? rcu_tasks_need_gpcb+0x837/0x880 [ 42.510317][ T288] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 42.510323][ T288] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 42.510326][ T288] ? rcu_is_watching+0x16/0xd0 [ 42.510328][ T288] ? lock_acquire+0x13c/0x160 [ 42.510330][ T288] ? rcu_is_watching+0x16/0xd0 [ 42.510333][ T288] ? process_one_work+0xe16/0x1560 [ 42.510335][ T288] ? process_one_work+0xdfc/0x1560 [ 42.510336][ T288] process_one_work+0xe3e/0x1560 [ 42.510343][ T288] ? __queue_delayed_work+0x470/0x470 [ 42.510346][ T288] ? lock_acquire.part.0+0xd4/0x280 [ 42.510354][ T288] worker_thread+0x4f1/0xd60 [ 42.510358][ T288] ? rescuer_thread+0x1340/0x1340 [ 42.510362][ T288] ? __kthread_parkme+0xbd/0x210 [ 42.510365][ T288] ? rescuer_thread+0x1340/0x1340 [ 42.510367][ T288] ? rescuer_thread+0x1340/0x1340 [ 42.510369][ T288] kthread+0x367/0x460 [ 42.510371][ T288] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 42.510375][ T288] ? kthread_affine_preferred+0x4c0/0x4c0 [ 42.510378][ T288] ret_from_fork+0x474/0x6b0 [ 42.510383][ T288] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 42.510387][ T288] ? __switch_to+0x5a3/0xe00 [ 42.510390][ T288] ? kthread_affine_preferred+0x4c0/0x4c0 [ 42.510392][ T288] ret_from_fork_asm+0x11/0x20 [ 42.510401][ T288] [ 42.899381][ T12] netdevsim netdevsim638 eni638np2: set [1, 0] type 2 family 0 port 20000 - 0 [ 43.155565][ T12] netdevsim netdevsim638 eni638np2: set [1, 1] type 2 family 0 port 20001 - 0 [ 43.446380][ T12] netdevsim netdevsim638 eni638np2: set [1, 2] type 2 family 0 port 20002 - 0 [ 43.781387][ T12] netdevsim netdevsim638 eni638np2: set [1, 3] type 2 family 0 port 20003 - 0 [ 43.781407][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 43.781409][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 43.781411][ T12] preempt_count: 1, expected: 0 [ 43.781412][ T12] RCU nest depth: 0, expected: 0 [ 43.781413][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 43.781415][ T12] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 43.781427][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 43.781431][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 43.781437][ T12] #3: ff1100000d1be910 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 43.781441][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 43.781446][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 43.781450][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 43.781453][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 43.781457][ T12] irq event stamp: 54274 [ 43.781458][ T12] hardirqs last enabled at (54273): [] __down_trylock_console_sem+0x86/0xa0 [ 43.781460][ T12] hardirqs last disabled at (54274): [] console_emit_next_record+0x3f8/0x4f0 [ 43.781462][ T12] softirqs last enabled at (54262): [] addrconf_dad_begin+0x37f/0x540 [ 43.781466][ T12] softirqs last disabled at (54254): [] addrconf_dad_begin+0x154/0x540 [ 43.781469][ T12] Preemption disabled at: [ 43.781469][ T12] [] vprintk_emit+0x31b/0x3e0 [ 43.781475][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 43.781479][ T12] Tainted: [W]=WARN [ 43.781480][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 43.781481][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 43.781485][ T12] Call Trace: [ 43.781487][ T12] [ 43.781488][ T12] dump_stack_lvl+0x6f/0xa0 [ 43.781494][ T12] ? vprintk_emit+0x31b/0x3e0 [ 43.781496][ T12] __might_resched.cold+0x1fe/0x2c1 [ 43.781501][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 43.781505][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 43.781510][ T12] __kmalloc_noprof+0x443/0x760 [ 43.781512][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 43.781518][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 43.781521][ T12] alloc_buf.isra.0+0x4b/0x260 [ 43.781524][ T12] put_chars+0x1e1/0x2f0 [ 43.781527][ T12] ? __send_to_port+0x420/0x420 [ 43.781530][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 43.781534][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 43.781536][ T12] ? validate_chain+0x38b/0xc20 [ 43.781540][ T12] hvc_console_print+0x292/0x780 [ 43.781543][ T12] ? mark_usage+0x61/0x170 [ 43.781544][ T12] ? __lock_acquire+0x518/0xc20 [ 43.781546][ T12] ? __lock_acquire+0x518/0xc20 [ 43.781550][ T12] ? hvc_write+0x3a0/0x3a0 [ 43.781552][ T12] ? console_emit_next_record+0x202/0x4f0 [ 43.781555][ T12] ? rcu_is_watching+0x16/0xd0 [ 43.781557][ T12] ? lock_acquire+0x13c/0x160 [ 43.781561][ T12] console_emit_next_record+0x252/0x4f0 [ 43.781565][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 43.781569][ T12] ? rcu_is_watching+0x16/0xd0 [ 43.781571][ T12] ? lock_acquire+0x13c/0x160 [ 43.781575][ T12] console_flush_one_record+0x46f/0x710 [ 43.781579][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 43.781581][ T12] ? __lock_acquire+0x518/0xc20 [ 43.781586][ T12] console_unlock+0xee/0x1f0 [ 43.781589][ T12] ? console_flush_one_record+0x710/0x710 [ 43.781591][ T12] ? rcu_is_watching+0x16/0xd0 [ 43.781593][ T12] ? lock_acquire+0x60/0x160 [ 43.781596][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 43.781598][ T12] ? vprintk_emit+0x320/0x3e0 [ 43.781601][ T12] vprintk_emit+0x37c/0x3e0 [ 43.781605][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 43.781608][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 43.781612][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 43.781618][ T12] ? device_rename.cold+0xa/0xa [ 43.781620][ T12] ? debug_object_activate+0x345/0x4a0 [ 43.781627][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 43.781631][ T12] dev_printk_emit+0xb9/0xee [ 43.781633][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 43.781635][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 43.781645][ T12] __netdev_printk+0x160/0x1d0 [ 43.781650][ T12] netdev_info+0xe2/0x116 [ 43.781653][ T12] ? netdev_notice+0x120/0x120 [ 43.781657][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 43.781659][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 43.781662][ T12] ? rcu_is_watching+0x16/0xd0 [ 43.781666][ T12] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 43.781673][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 43.781675][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 43.781677][ T12] ? __asan_memset+0x27/0x50 [ 43.781681][ T12] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 43.781685][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 43.781691][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 43.781698][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 43.781700][ T12] ? rcu_is_watching+0x16/0xd0 [ 43.781702][ T12] ? lock_acquire+0x13c/0x160 [ 43.781704][ T12] ? rcu_is_watching+0x16/0xd0 [ 43.781707][ T12] ? process_one_work+0xe16/0x1560 [ 43.781709][ T12] ? process_one_work+0xdfc/0x1560 [ 43.781711][ T12] process_one_work+0xe3e/0x1560 [ 43.781717][ T12] ? __queue_delayed_work+0x470/0x470 [ 43.781720][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 43.781728][ T12] worker_thread+0x4f1/0xd60 [ 43.781735][ T12] ? rescuer_thread+0x1340/0x1340 [ 43.781737][ T12] kthread+0x367/0x460 [ 43.781739][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 43.781743][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.781745][ T12] ret_from_fork+0x474/0x6b0 [ 43.781750][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 43.781754][ T12] ? __switch_to+0x5a3/0xe00 [ 43.781757][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 43.781759][ T12] ret_from_fork_asm+0x11/0x20 [ 43.781768][ T12] [ 44.488050][ T166] netdevsim netdevsim638 eni638np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 44.488999][ T166] netdevsim netdevsim638 eni638np2: unset [0, 1] type 1 family 0 port 10001 - 0 [ 44.489573][ T166] netdevsim netdevsim638 eni638np2: unset [0, 2] type 1 family 0 port 10002 - 0 [ 44.490091][ T166] netdevsim netdevsim638 eni638np2: unset [0, 3] type 1 family 0 port 10003 - 0 [ 44.490604][ T166] netdevsim netdevsim638 eni638np2: unset [1, 0] type 2 family 0 port 20000 - 0 [ 44.491108][ T166] netdevsim netdevsim638 eni638np2: unset [1, 1] type 2 family 0 port 20001 - 0 [ 44.491615][ T166] netdevsim netdevsim638 eni638np2: unset [1, 2] type 2 family 0 port 20002 - 0 [ 44.492120][ T166] netdevsim netdevsim638 eni638np2: unset [1, 3] type 2 family 0 port 20003 - 0 [ 44.925474][ T175] netdevsim netdevsim638 eni638np1: renamed from eth0 [ 44.925491][ T175] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 44.925494][ T175] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 175, name: (udev-worker) [ 44.925496][ T175] preempt_count: 1, expected: 0 [ 44.925496][ T175] RCU nest depth: 0, expected: 0 [ 44.925497][ T175] locks held by (udev-worker)/175: 6, last CPU#1: [ 44.925500][ T175] #0: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 44.925512][ T175] #1: ff1100000ca92dd8 (&dev_instance_lock_key#5){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 44.925517][ T175] #2: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 44.925522][ T175] #3: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 44.925526][ T175] #4: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 44.925530][ T175] #5: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 44.925533][ T175] irq event stamp: 1448634 [ 44.925534][ T175] hardirqs last enabled at (1448633): [] __down_trylock_console_sem+0x86/0xa0 [ 44.925536][ T175] hardirqs last disabled at (1448634): [] console_emit_next_record+0x3f8/0x4f0 [ 44.925538][ T175] softirqs last enabled at (1448628): [] netif_change_name+0x216/0x8c0 [ 44.925541][ T175] softirqs last disabled at (1448624): [] netif_change_name+0x1ad/0x8c0 [ 44.925543][ T175] Preemption disabled at: [ 44.925544][ T175] [] vprintk_emit+0x31b/0x3e0 [ 44.925549][ T175] CPU: 1 UID: 0 PID: 175 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 44.925553][ T175] Tainted: [W]=WARN [ 44.925554][ T175] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.925556][ T175] Call Trace: [ 44.925557][ T175] [ 44.925559][ T175] dump_stack_lvl+0x6f/0xa0 [ 44.925565][ T175] ? vprintk_emit+0x31b/0x3e0 [ 44.925567][ T175] __might_resched.cold+0x1fe/0x2c1 [ 44.925571][ T175] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 44.925576][ T175] ? __kmalloc_noprof+0xdb/0x760 [ 44.925580][ T175] __kmalloc_noprof+0x443/0x760 [ 44.925582][ T175] ? alloc_buf.isra.0+0x4b/0x260 [ 44.925588][ T175] ? do_raw_spin_unlock+0x59/0x250 [ 44.925590][ T175] alloc_buf.isra.0+0x4b/0x260 [ 44.925594][ T175] put_chars+0x1e1/0x2f0 [ 44.925597][ T175] ? __send_to_port+0x420/0x420 [ 44.925598][ T175] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 44.925603][ T175] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.925605][ T175] ? validate_chain+0x38b/0xc20 [ 44.925610][ T175] hvc_console_print+0x292/0x780 [ 44.925613][ T175] ? __lock_acquire+0x518/0xc20 [ 44.925618][ T175] ? hvc_write+0x3a0/0x3a0 [ 44.925620][ T175] ? rcu_is_watching+0x16/0xd0 [ 44.925626][ T175] console_emit_next_record+0x252/0x4f0 [ 44.925630][ T175] ? devkmsg_read+0x4e0/0x4e0 [ 44.925634][ T175] ? rcu_is_watching+0x16/0xd0 [ 44.925636][ T175] ? lock_acquire+0x13c/0x160 [ 44.925640][ T175] console_flush_one_record+0x46f/0x710 [ 44.925644][ T175] ? console_emit_next_record+0x4f0/0x4f0 [ 44.925646][ T175] ? __lock_acquire+0x518/0xc20 [ 44.925651][ T175] console_unlock+0xee/0x1f0 [ 44.925654][ T175] ? console_flush_one_record+0x710/0x710 [ 44.925655][ T175] ? rcu_is_watching+0x16/0xd0 [ 44.925658][ T175] ? lock_acquire+0x60/0x160 [ 44.925661][ T175] ? __down_trylock_console_sem+0x5e/0xa0 [ 44.925663][ T175] ? vprintk_emit+0x320/0x3e0 [ 44.925666][ T175] vprintk_emit+0x37c/0x3e0 [ 44.925670][ T175] ? wake_up_klogd_work_func+0x90/0x90 [ 44.925677][ T175] dev_vprintk_emit+0x27f/0x2c0 [ 44.925683][ T175] ? device_rename.cold+0xa/0xa [ 44.925687][ T175] ? kvm_clock_get_cycles+0x19/0x30 [ 44.925690][ T175] ? ktime_get+0x1dd/0x2d0 [ 44.925695][ T175] ? clockevents_program_event+0x307/0x7e0 [ 44.925700][ T175] dev_printk_emit+0xb9/0xee [ 44.925702][ T175] ? dev_vprintk_emit+0x2c0/0x2c0 [ 44.925706][ T175] ? __lock_release.isra.0+0x69/0x1a0 [ 44.925709][ T175] ? mark_held_locks+0x40/0x70 [ 44.925713][ T175] __netdev_printk+0x160/0x1d0 [ 44.925718][ T175] netdev_info+0xe2/0x116 [ 44.925721][ T175] ? netdev_notice+0x120/0x120 [ 44.925723][ T175] ? find_held_lock+0x2b/0x80 [ 44.925727][ T175] ? __lock_release.isra.0+0x69/0x1a0 [ 44.925729][ T175] ? mark_held_locks+0x40/0x70 [ 44.925733][ T175] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 44.925735][ T175] netif_change_name.cold+0x4f/0x89 [ 44.925739][ T175] ? __lock_acquire+0x518/0xc20 [ 44.925740][ T175] ? rwsem_optimistic_spin+0x3c7/0x480 [ 44.925743][ T175] ? find_held_lock+0x2/0x80 [ 44.925746][ T175] ? netdev_adjacent_rename_links+0x470/0x470 [ 44.925749][ T175] ? find_held_lock+0x2b/0x80 [ 44.925752][ T175] ? __asan_memset+0x27/0x50 [ 44.925758][ T175] do_setlink.isra.0+0x1f7d/0x2a60 [ 44.925761][ T175] ? __lock_acquire+0x518/0xc20 [ 44.925764][ T175] ? rtnl_link_get_size+0x350/0x350 [ 44.925766][ T175] ? mark_usage+0x61/0x170 [ 44.925767][ T175] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 44.925769][ T175] ? rcu_read_lock_any_held+0x3c/0x90 [ 44.925771][ T175] ? validate_chain+0x38b/0xc20 [ 44.925775][ T175] ? __lock_acquire+0x518/0xc20 [ 44.925780][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 44.925782][ T175] ? rtnl_setlink+0x29d/0x920 [ 44.925785][ T175] ? rcu_is_watching+0x16/0xd0 [ 44.925787][ T175] ? lock_acquire+0x13c/0x160 [ 44.925788][ T175] ? rcu_is_watching+0x16/0xd0 [ 44.925790][ T175] ? rcu_is_watching+0x16/0xd0 [ 44.925792][ T175] ? trace_contention_end+0xb3/0x180 [ 44.925795][ T175] ? __mutex_lock+0x1db/0x1ea0 [ 44.925798][ T175] ? __mutex_lock+0x9a3/0x1ea0 [ 44.925799][ T175] ? __lock_acquire+0x518/0xc20 [ 44.925801][ T175] ? rtnl_setlink+0x29d/0x920 [ 44.925804][ T175] ? mark_usage+0x61/0x170 [ 44.925806][ T175] ? ww_mutex_lock+0x160/0x160 [ 44.925808][ T175] ? nla_get_range_signed+0x3d0/0x3d0 [ 44.925814][ T175] ? mark_usage+0x61/0x170 [ 44.925817][ T175] ? cap_capable+0x1d7/0x3d0 [ 44.925825][ T175] rtnl_setlink+0x527/0x920 [ 44.925829][ T175] ? __rtnl_newlink+0xa50/0xa50 [ 44.925830][ T175] ? __lock_acquire+0x518/0xc20 [ 44.925855][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 44.925856][ T175] ? find_held_lock+0x2b/0x80 [ 44.925860][ T175] ? __lock_release.isra.0+0x69/0x1a0 [ 44.925861][ T175] ? mark_usage+0x61/0x170 [ 44.925863][ T175] ? __lock_acquire+0x518/0xc20 [ 44.925868][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 44.925869][ T175] ? find_held_lock+0x2b/0x80 [ 44.925872][ T175] ? __rtnl_newlink+0xa50/0xa50 [ 44.925874][ T175] ? __lock_release.isra.0+0x69/0x1a0 [ 44.925878][ T175] ? __rtnl_newlink+0xa50/0xa50 [ 44.925880][ T175] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 44.925884][ T175] ? rtnl_link_fill+0x900/0x900 [ 44.925886][ T175] ? __lock_acquire+0x518/0xc20 [ 44.925890][ T175] ? lock_acquire.part.0+0xd4/0x280 [ 44.925892][ T175] ? find_held_lock+0x2b/0x80 [ 44.925896][ T175] netlink_rcv_skb+0x14e/0x3a0 [ 44.925900][ T175] ? rtnl_link_fill+0x900/0x900 [ 44.925903][ T175] ? netlink_ack+0xcd0/0xcd0 [ 44.925910][ T175] ? netlink_deliver_tap+0xc5/0x330 [ 44.925912][ T175] ? netlink_deliver_tap+0x13c/0x330 [ 44.925917][ T175] netlink_unicast+0x486/0x750 [ 44.925921][ T175] ? netlink_attachskb+0x810/0x810 [ 44.925924][ T175] ? __lock_acquire+0x518/0xc20 [ 44.925930][ T175] netlink_sendmsg+0x735/0xc60 [ 44.925934][ T175] ? netlink_unicast+0x750/0x750 [ 44.925938][ T175] ? __might_fault+0x97/0x140 [ 44.925942][ T175] ? __might_fault+0x97/0x140 [ 44.925945][ T175] __sys_sendto+0x2aa/0x400 [ 44.925949][ T175] ? __ia32_sys_getpeername+0xd0/0xd0 [ 44.925960][ T175] ? exc_page_fault+0x87/0x100 [ 44.925966][ T175] __x64_sys_sendto+0xe4/0x1f0 [ 44.925968][ T175] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 44.925972][ T175] ? lockdep_hardirqs_on+0x91/0x130 [ 44.925974][ T175] ? do_syscall_64+0xa6/0x530 [ 44.925975][ T175] do_syscall_64+0xff/0x530 [ 44.925977][ T175] ? exc_page_fault+0xee/0x100 [ 44.925980][ T175] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 44.925982][ T175] RIP: 0033:0x7fdd86fd654e [ 44.925986][ T175] 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 [ 44.925994][ T175] RSP: 002b:00007ffcf6233ba0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 44.925997][ T175] RAX: ffffffffffffffda RBX: 0000563bd67024f0 RCX: 00007fdd86fd654e [ 44.925998][ T175] RDX: 0000000000000030 RSI: 0000563bd66ecd90 RDI: 0000000000000012 [ 44.926000][ T175] RBP: 00007ffcf6233bb0 R08: 00007ffcf6233c00 R09: 0000000000000080 [ 44.926000][ T175] R10: 0000000000000000 R11: 0000000000000202 R12: 0000563bd6886520 [ 44.926001][ T175] R13: 00007ffcf6233ce4 R14: 0000000000000000 R15: 0000000000000000 [ 44.926008][ T175] [ 45.742401][ T12] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 45.820638][ T12] netdevsim netdevsim638 eni638np1: unset [0, 0] type 1 family 0 port 10000 - 0 [ 45.865399][ T12] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 45.942393][ T12] netdevsim netdevsim638 eni638np1: unset [0, 0] type 1 family 0 port 10000 - 0 [ 45.942418][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 45.942421][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 45.942424][ T12] preempt_count: 1, expected: 0 [ 45.942425][ T12] RCU nest depth: 0, expected: 0 [ 45.942427][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 45.942430][ T12] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 45.942445][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 45.942451][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 45.942461][ T12] #3: ff11000008f11b10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 45.942467][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 45.942474][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 45.942480][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 45.942486][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 45.942492][ T12] irq event stamp: 62062 [ 45.942493][ T12] hardirqs last enabled at (62061): [] __down_trylock_console_sem+0x86/0xa0 [ 45.942497][ T12] hardirqs last disabled at (62062): [] console_emit_next_record+0x3f8/0x4f0 [ 45.942499][ T12] softirqs last enabled at (61988): [] addrconf_dad_begin+0x37f/0x540 [ 45.942504][ T12] softirqs last disabled at (61980): [] addrconf_dad_begin+0x154/0x540 [ 45.942508][ T12] Preemption disabled at: [ 45.942509][ T12] [] vprintk_emit+0x31b/0x3e0 [ 45.942517][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 45.942522][ T12] Tainted: [W]=WARN [ 45.942523][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 45.942526][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 45.942531][ T12] Call Trace: [ 45.942534][ T12] [ 45.942537][ T12] dump_stack_lvl+0x6f/0xa0 [ 45.942544][ T12] ? vprintk_emit+0x31b/0x3e0 [ 45.942547][ T12] __might_resched.cold+0x1fe/0x2c1 [ 45.942554][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 45.942559][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 45.942566][ T12] __kmalloc_noprof+0x443/0x760 [ 45.942570][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 45.942579][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 45.942583][ T12] alloc_buf.isra.0+0x4b/0x260 [ 45.942588][ T12] put_chars+0x1e1/0x2f0 [ 45.942593][ T12] ? __send_to_port+0x420/0x420 [ 45.942598][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 45.942604][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 45.942607][ T12] ? validate_chain+0x38b/0xc20 [ 45.942613][ T12] hvc_console_print+0x292/0x780 [ 45.942617][ T12] ? mark_usage+0x61/0x170 [ 45.942620][ T12] ? __lock_acquire+0x518/0xc20 [ 45.942622][ T12] ? __lock_acquire+0x518/0xc20 [ 45.942629][ T12] ? hvc_write+0x3a0/0x3a0 [ 45.942633][ T12] ? console_emit_next_record+0x202/0x4f0 [ 45.942638][ T12] ? rcu_is_watching+0x16/0xd0 [ 45.942641][ T12] ? lock_acquire+0x13c/0x160 [ 45.942648][ T12] console_emit_next_record+0x252/0x4f0 [ 45.942655][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 45.942663][ T12] ? rcu_is_watching+0x16/0xd0 [ 45.942666][ T12] ? lock_acquire+0x13c/0x160 [ 45.942673][ T12] console_flush_one_record+0x46f/0x710 [ 45.942680][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 45.942682][ T12] ? __lock_acquire+0x518/0xc20 [ 45.942691][ T12] console_unlock+0xee/0x1f0 [ 45.942696][ T12] ? console_flush_one_record+0x710/0x710 [ 45.942698][ T12] ? rcu_is_watching+0x16/0xd0 [ 45.942702][ T12] ? lock_acquire+0x60/0x160 [ 45.942708][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 45.942711][ T12] ? vprintk_emit+0x320/0x3e0 [ 45.942716][ T12] vprintk_emit+0x37c/0x3e0 [ 45.942722][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 45.942729][ T12] ? update_cfs_rq_load_avg+0x4b/0x660 [ 45.942736][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 45.942744][ T12] ? device_rename.cold+0xa/0xa [ 45.942746][ T12] ? update_cfs_rq_load_avg+0x4b/0x660 [ 45.942760][ T12] dev_printk_emit+0xb9/0xee [ 45.942764][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 45.942767][ T12] ? __resched_curr+0x3de/0x530 [ 45.942772][ T12] ? __trace_set_current_state+0x160/0x160 [ 45.942775][ T12] ? wakeup_preempt_fair+0x572/0x15d0 [ 45.942778][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 45.942782][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 45.942785][ T12] ? validate_chain+0x38b/0xc20 [ 45.942792][ T12] __netdev_printk+0x160/0x1d0 [ 45.942801][ T12] netdev_info+0xe2/0x116 [ 45.942805][ T12] ? netdev_notice+0x120/0x120 [ 45.942812][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 45.942815][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 45.942821][ T12] ? rcu_is_watching+0x16/0xd0 [ 45.942828][ T12] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 45.942839][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 45.942845][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 45.942848][ T12] ? __asan_memset+0x27/0x50 [ 45.942854][ T12] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 45.942861][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 45.942872][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 45.942884][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 45.942889][ T12] ? rcu_is_watching+0x16/0xd0 [ 45.942892][ T12] ? lock_acquire+0x13c/0x160 [ 45.942895][ T12] ? rcu_is_watching+0x16/0xd0 [ 45.942900][ T12] ? process_one_work+0xe16/0x1560 [ 45.942903][ T12] ? process_one_work+0xdfc/0x1560 [ 45.942905][ T12] process_one_work+0xe3e/0x1560 [ 45.942917][ T12] ? __queue_delayed_work+0x470/0x470 [ 45.942922][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 45.942938][ T12] worker_thread+0x4f1/0xd60 [ 45.942951][ T12] ? rescuer_thread+0x1340/0x1340 [ 45.942954][ T12] kthread+0x367/0x460 [ 45.942958][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 45.942963][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.942968][ T12] ret_from_fork+0x474/0x6b0 [ 45.942975][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 45.942981][ T12] ? __switch_to+0x5a3/0xe00 [ 45.942985][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 45.942990][ T12] ret_from_fork_asm+0x11/0x20 [ 45.943012][ T12] [ 46.098389][ T12] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 46.325764][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [0, 0] type 1 family 0 port 10000 - 0 [ 46.395188][ T177] netdevsim netdevsim638 eni638np2: renamed from eth0 [ 46.898394][ T12] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 46.965378][ T12] netdevsim netdevsim638 eni638np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 46.965399][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 46.965401][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 46.965403][ T12] preempt_count: 1, expected: 0 [ 46.965404][ T12] RCU nest depth: 0, expected: 0 [ 46.965405][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 46.965407][ T12] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 46.965420][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 46.965423][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 46.965429][ T12] #3: ff110000029bad10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 46.965432][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 46.965438][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 46.965441][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 46.965445][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 46.965448][ T12] irq event stamp: 63170 [ 46.965449][ T12] hardirqs last enabled at (63169): [] __down_trylock_console_sem+0x86/0xa0 [ 46.965451][ T12] hardirqs last disabled at (63170): [] console_emit_next_record+0x3f8/0x4f0 [ 46.965453][ T12] softirqs last enabled at (63136): [] addrconf_dad_begin+0x37f/0x540 [ 46.965457][ T12] softirqs last disabled at (63128): [] addrconf_dad_begin+0x154/0x540 [ 46.965459][ T12] Preemption disabled at: [ 46.965460][ T12] [] vprintk_emit+0x31b/0x3e0 [ 46.965466][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 46.965469][ T12] Tainted: [W]=WARN [ 46.965470][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 46.965472][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 46.965476][ T12] Call Trace: [ 46.965477][ T12] [ 46.965479][ T12] dump_stack_lvl+0x6f/0xa0 [ 46.965485][ T12] ? vprintk_emit+0x31b/0x3e0 [ 46.965487][ T12] __might_resched.cold+0x1fe/0x2c1 [ 46.965492][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 46.965496][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 46.965501][ T12] __kmalloc_noprof+0x443/0x760 [ 46.965503][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 46.965509][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 46.965511][ T12] alloc_buf.isra.0+0x4b/0x260 [ 46.965514][ T12] put_chars+0x1e1/0x2f0 [ 46.965517][ T12] ? __send_to_port+0x420/0x420 [ 46.965520][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 46.965524][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 46.965527][ T12] ? validate_chain+0x38b/0xc20 [ 46.965530][ T12] hvc_console_print+0x292/0x780 [ 46.965533][ T12] ? mark_usage+0x61/0x170 [ 46.965535][ T12] ? __lock_acquire+0x518/0xc20 [ 46.965536][ T12] ? __lock_acquire+0x518/0xc20 [ 46.965540][ T12] ? hvc_write+0x3a0/0x3a0 [ 46.965542][ T12] ? console_emit_next_record+0x202/0x4f0 [ 46.965545][ T12] ? rcu_is_watching+0x16/0xd0 [ 46.965548][ T12] ? lock_acquire+0x13c/0x160 [ 46.965551][ T12] console_emit_next_record+0x252/0x4f0 [ 46.965555][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 46.965560][ T12] ? rcu_is_watching+0x16/0xd0 [ 46.965562][ T12] ? lock_acquire+0x13c/0x160 [ 46.965566][ T12] console_flush_one_record+0x46f/0x710 [ 46.965570][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 46.965572][ T12] ? __lock_acquire+0x518/0xc20 [ 46.965577][ T12] console_unlock+0xee/0x1f0 [ 46.965580][ T12] ? console_flush_one_record+0x710/0x710 [ 46.965581][ T12] ? rcu_is_watching+0x16/0xd0 [ 46.965583][ T12] ? lock_acquire+0x60/0x160 [ 46.965587][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 46.965588][ T12] ? vprintk_emit+0x320/0x3e0 [ 46.965592][ T12] vprintk_emit+0x37c/0x3e0 [ 46.965595][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 46.965599][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 46.965603][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 46.965608][ T12] ? device_rename.cold+0xa/0xa [ 46.965610][ T12] ? debug_object_activate+0x345/0x4a0 [ 46.965620][ T12] dev_printk_emit+0xb9/0xee [ 46.965623][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 46.965628][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 46.965630][ T12] ? should_we_balance+0x117/0x8f0 [ 46.965634][ T12] __netdev_printk+0x160/0x1d0 [ 46.965640][ T12] netdev_info+0xe2/0x116 [ 46.965642][ T12] ? netdev_notice+0x120/0x120 [ 46.965646][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 46.965648][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 46.965651][ T12] ? rcu_is_watching+0x16/0xd0 [ 46.965655][ T12] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 46.965662][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 46.965665][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 46.965667][ T12] ? __asan_memset+0x27/0x50 [ 46.965671][ T12] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 46.965675][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 46.965681][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 46.965687][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 46.965690][ T12] ? rcu_is_watching+0x16/0xd0 [ 46.965692][ T12] ? lock_acquire+0x13c/0x160 [ 46.965694][ T12] ? rcu_is_watching+0x16/0xd0 [ 46.965697][ T12] ? process_one_work+0xe16/0x1560 [ 46.965699][ T12] ? process_one_work+0xdfc/0x1560 [ 46.965700][ T12] process_one_work+0xe3e/0x1560 [ 46.965706][ T12] ? __queue_delayed_work+0x470/0x470 [ 46.965709][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 46.965717][ T12] worker_thread+0x4f1/0xd60 [ 46.965724][ T12] ? rescuer_thread+0x1340/0x1340 [ 46.965726][ T12] kthread+0x367/0x460 [ 46.965728][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 46.965732][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 46.965735][ T12] ret_from_fork+0x474/0x6b0 [ 46.965740][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 46.965743][ T12] ? __switch_to+0x5a3/0xe00 [ 46.965746][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 46.965749][ T12] ret_from_fork_asm+0x11/0x20 [ 46.965758][ T12] [ 47.016380][ T288] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 47.081386][ T288] netdevsim netdevsim638 eni638np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 47.172971][ T288] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 47.361891][ T166] netdevsim netdevsim638 eni638np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 47.614785][ T177] netdevsim netdevsim638 eni638np1: renamed from eth0 [ 47.802440][ T12] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 10000 - -110 [ 47.802886][ T12] netdevsim netdevsim638 eni638np1: UDP tunnel port sync failed port 10000 type vxlan: -110 [ 47.887383][ T12] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 48.010375][ T12] netdevsim netdevsim638 eni638np1: unset [0, 0] type 1 family 0 port 10000 - 0 [ 48.010394][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 48.010396][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 48.010398][ T12] preempt_count: 1, expected: 0 [ 48.010399][ T12] RCU nest depth: 0, expected: 0 [ 48.010400][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 48.010402][ T12] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 48.010414][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 48.010418][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 48.010424][ T12] #3: ff110000092e1510 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 48.010428][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 48.010434][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 48.010438][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 48.010441][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 48.010445][ T12] irq event stamp: 63830 [ 48.010446][ T12] hardirqs last enabled at (63829): [] __down_trylock_console_sem+0x86/0xa0 [ 48.010448][ T12] hardirqs last disabled at (63830): [] console_emit_next_record+0x3f8/0x4f0 [ 48.010450][ T12] softirqs last enabled at (63784): [] addrconf_dad_begin+0x37f/0x540 [ 48.010453][ T12] softirqs last disabled at (63776): [] addrconf_dad_begin+0x154/0x540 [ 48.010456][ T12] Preemption disabled at: [ 48.010456][ T12] [] vprintk_emit+0x31b/0x3e0 [ 48.010462][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 48.010466][ T12] Tainted: [W]=WARN [ 48.010467][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 48.010468][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 48.010472][ T12] Call Trace: [ 48.010474][ T12] [ 48.010476][ T12] dump_stack_lvl+0x6f/0xa0 [ 48.010481][ T12] ? vprintk_emit+0x31b/0x3e0 [ 48.010483][ T12] __might_resched.cold+0x1fe/0x2c1 [ 48.010488][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 48.010492][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 48.010497][ T12] __kmalloc_noprof+0x443/0x760 [ 48.010499][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 48.010505][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 48.010507][ T12] alloc_buf.isra.0+0x4b/0x260 [ 48.010511][ T12] put_chars+0x1e1/0x2f0 [ 48.010514][ T12] ? __send_to_port+0x420/0x420 [ 48.010517][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 48.010521][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 48.010523][ T12] ? validate_chain+0x38b/0xc20 [ 48.010526][ T12] hvc_console_print+0x292/0x780 [ 48.010529][ T12] ? mark_usage+0x61/0x170 [ 48.010531][ T12] ? __lock_acquire+0x518/0xc20 [ 48.010532][ T12] ? __lock_acquire+0x518/0xc20 [ 48.010536][ T12] ? hvc_write+0x3a0/0x3a0 [ 48.010539][ T12] ? console_emit_next_record+0x202/0x4f0 [ 48.010542][ T12] ? rcu_is_watching+0x16/0xd0 [ 48.010544][ T12] ? lock_acquire+0x13c/0x160 [ 48.010548][ T12] console_emit_next_record+0x252/0x4f0 [ 48.010552][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 48.010556][ T12] ? rcu_is_watching+0x16/0xd0 [ 48.010558][ T12] ? lock_acquire+0x13c/0x160 [ 48.010562][ T12] console_flush_one_record+0x46f/0x710 [ 48.010566][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 48.010568][ T12] ? __lock_acquire+0x518/0xc20 [ 48.010573][ T12] console_unlock+0xee/0x1f0 [ 48.010576][ T12] ? console_flush_one_record+0x710/0x710 [ 48.010577][ T12] ? rcu_is_watching+0x16/0xd0 [ 48.010580][ T12] ? lock_acquire+0x60/0x160 [ 48.010583][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 48.010585][ T12] ? vprintk_emit+0x320/0x3e0 [ 48.010588][ T12] vprintk_emit+0x37c/0x3e0 [ 48.010592][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 48.010595][ T12] ? __lock_acquire+0x518/0xc20 [ 48.010599][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 48.010605][ T12] ? device_rename.cold+0xa/0xa [ 48.010606][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 48.010615][ T12] dev_printk_emit+0xb9/0xee [ 48.010617][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 48.010621][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 48.010624][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 48.010625][ T12] ? validate_chain+0x38b/0xc20 [ 48.010629][ T12] __netdev_printk+0x160/0x1d0 [ 48.010634][ T12] netdev_info+0xe2/0x116 [ 48.010637][ T12] ? netdev_notice+0x120/0x120 [ 48.010641][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 48.010643][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 48.010646][ T12] ? rcu_is_watching+0x16/0xd0 [ 48.010650][ T12] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 48.010657][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 48.010661][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 48.010663][ T12] ? __asan_memset+0x27/0x50 [ 48.010667][ T12] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 48.010671][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 48.010677][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 48.010683][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 48.010686][ T12] ? rcu_is_watching+0x16/0xd0 [ 48.010688][ T12] ? lock_acquire+0x13c/0x160 [ 48.010690][ T12] ? rcu_is_watching+0x16/0xd0 [ 48.010693][ T12] ? process_one_work+0xe16/0x1560 [ 48.010695][ T12] ? process_one_work+0xdfc/0x1560 [ 48.010696][ T12] process_one_work+0xe3e/0x1560 [ 48.010702][ T12] ? __queue_delayed_work+0x470/0x470 [ 48.010705][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 48.010713][ T12] worker_thread+0x4f1/0xd60 [ 48.010720][ T12] ? rescuer_thread+0x1340/0x1340 [ 48.010722][ T12] kthread+0x367/0x460 [ 48.010725][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 48.010728][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 48.010731][ T12] ret_from_fork+0x474/0x6b0 [ 48.010736][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 48.010740][ T12] ? __switch_to+0x5a3/0xe00 [ 48.010742][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 48.010745][ T12] ret_from_fork_asm+0x11/0x20 [ 48.010754][ T12] [ 48.121379][ T12] netdevsim netdevsim638 eni638np1: set [1, 0] type 2 family 0 port 20000 - 0 [ 48.192424][ T12] netdevsim netdevsim638 eni638np1: unset [1, 0] type 2 family 0 port 20000 - -2 [ 48.192893][ T12] netdevsim netdevsim638 eni638np1: UDP tunnel port sync failed port 20000 type geneve: -2 [ 48.308383][ T12] netdevsim netdevsim638 eni638np1: unset [1, 0] type 2 family 0 port 20000 - 0 [ 48.308814][ T12] netdevsim netdevsim638 eni638np1: set [1, 1] type 2 family 0 port 20001 - 0 [ 48.348645][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [1, 1] type 2 family 0 port 20001 - 0 [ 48.453652][ T175] netdevsim netdevsim638 eni638np2: renamed from eth0 [ 48.653388][ T12] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 10000 - -110 [ 48.653828][ T12] netdevsim netdevsim638 eni638np2: UDP tunnel port sync failed port 10000 type vxlan: -110 [ 48.724405][ T12] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 48.886448][ T12] netdevsim netdevsim638 eni638np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 48.966391][ T12] netdevsim netdevsim638 eni638np2: set [1, 0] type 2 family 0 port 20000 - 0 [ 49.066384][ T12] netdevsim netdevsim638 eni638np2: unset [1, 0] type 2 family 0 port 20000 - -2 [ 49.066404][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 49.066407][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 49.066409][ T12] preempt_count: 1, expected: 0 [ 49.066410][ T12] RCU nest depth: 0, expected: 0 [ 49.066410][ T12] locks held by kworker/u16:0/12: 8, last CPU#2: [ 49.066413][ T12] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 49.066425][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 49.066429][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 49.066435][ T12] #3: ff1100000d29dd10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 49.066439][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 49.066444][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 49.066447][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 49.066451][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 49.066455][ T12] irq event stamp: 65752 [ 49.066456][ T12] hardirqs last enabled at (65751): [] __down_trylock_console_sem+0x86/0xa0 [ 49.066458][ T12] hardirqs last disabled at (65752): [] console_emit_next_record+0x3f8/0x4f0 [ 49.066460][ T12] softirqs last enabled at (65706): [] __dev_queue_xmit+0x92b/0x1a10 [ 49.066464][ T12] softirqs last disabled at (65670): [] __dev_queue_xmit+0x23b/0x1a10 [ 49.066466][ T12] Preemption disabled at: [ 49.066466][ T12] [] vprintk_emit+0x31b/0x3e0 [ 49.066472][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 49.066476][ T12] Tainted: [W]=WARN [ 49.066477][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 49.066479][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 49.066483][ T12] Call Trace: [ 49.066485][ T12] [ 49.066487][ T12] dump_stack_lvl+0x6f/0xa0 [ 49.066492][ T12] ? vprintk_emit+0x31b/0x3e0 [ 49.066494][ T12] __might_resched.cold+0x1fe/0x2c1 [ 49.066499][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 49.066503][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 49.066508][ T12] __kmalloc_noprof+0x443/0x760 [ 49.066510][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 49.066516][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 49.066518][ T12] alloc_buf.isra.0+0x4b/0x260 [ 49.066522][ T12] put_chars+0x1e1/0x2f0 [ 49.066525][ T12] ? __send_to_port+0x420/0x420 [ 49.066528][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 49.066532][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 49.066535][ T12] ? validate_chain+0x38b/0xc20 [ 49.066539][ T12] hvc_console_print+0x292/0x780 [ 49.066541][ T12] ? mark_usage+0x61/0x170 [ 49.066543][ T12] ? __lock_acquire+0x518/0xc20 [ 49.066544][ T12] ? __lock_acquire+0x518/0xc20 [ 49.066548][ T12] ? hvc_write+0x3a0/0x3a0 [ 49.066551][ T12] ? console_emit_next_record+0x202/0x4f0 [ 49.066554][ T12] ? rcu_is_watching+0x16/0xd0 [ 49.066556][ T12] ? lock_acquire+0x13c/0x160 [ 49.066560][ T12] console_emit_next_record+0x252/0x4f0 [ 49.066564][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 49.066569][ T12] ? rcu_is_watching+0x16/0xd0 [ 49.066571][ T12] ? lock_acquire+0x13c/0x160 [ 49.066575][ T12] console_flush_one_record+0x46f/0x710 [ 49.066579][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 49.066581][ T12] ? __lock_acquire+0x518/0xc20 [ 49.066586][ T12] console_unlock+0xee/0x1f0 [ 49.066589][ T12] ? console_flush_one_record+0x710/0x710 [ 49.066590][ T12] ? rcu_is_watching+0x16/0xd0 [ 49.066592][ T12] ? lock_acquire+0x60/0x160 [ 49.066596][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 49.066598][ T12] ? vprintk_emit+0x320/0x3e0 [ 49.066601][ T12] vprintk_emit+0x37c/0x3e0 [ 49.066605][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 49.066608][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 49.066613][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 49.066618][ T12] ? device_rename.cold+0xa/0xa [ 49.066620][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 49.066628][ T12] dev_printk_emit+0xb9/0xee [ 49.066631][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 49.066635][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 49.066638][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 49.066639][ T12] ? validate_chain+0x38b/0xc20 [ 49.066643][ T12] __netdev_printk+0x160/0x1d0 [ 49.066649][ T12] netdev_info+0xe2/0x116 [ 49.066651][ T12] ? netdev_notice+0x120/0x120 [ 49.066655][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 49.066657][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 49.066661][ T12] ? rcu_is_watching+0x16/0xd0 [ 49.066665][ T12] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 49.066672][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 49.066676][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 49.066678][ T12] ? __asan_memset+0x27/0x50 [ 49.066682][ T12] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 49.066686][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 49.066692][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 49.066698][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 49.066701][ T12] ? rcu_is_watching+0x16/0xd0 [ 49.066703][ T12] ? lock_acquire+0x13c/0x160 [ 49.066705][ T12] ? rcu_is_watching+0x16/0xd0 [ 49.066708][ T12] ? process_one_work+0xe16/0x1560 [ 49.066710][ T12] ? process_one_work+0xdfc/0x1560 [ 49.066711][ T12] process_one_work+0xe3e/0x1560 [ 49.066718][ T12] ? __queue_delayed_work+0x470/0x470 [ 49.066720][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 49.066728][ T12] worker_thread+0x4f1/0xd60 [ 49.066736][ T12] ? rescuer_thread+0x1340/0x1340 [ 49.066737][ T12] kthread+0x367/0x460 [ 49.066740][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 49.066743][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 49.066746][ T12] ret_from_fork+0x474/0x6b0 [ 49.066751][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 49.066755][ T12] ? __switch_to+0x5a3/0xe00 [ 49.066758][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 49.066761][ T12] ret_from_fork_asm+0x11/0x20 [ 49.066769][ T12] [ 49.102181][ T12] netdevsim netdevsim638 eni638np2: UDP tunnel port sync failed port 20000 type geneve: -2 [ 49.219379][ T12] netdevsim netdevsim638 eni638np2: unset [1, 0] type 2 family 0 port 20000 - 0 [ 49.219847][ T12] netdevsim netdevsim638 eni638np2: set [1, 1] type 2 family 0 port 20001 - 0 [ 49.266742][ T166] netdevsim netdevsim638 eni638np2: unset [1, 1] type 2 family 0 port 20001 - 0 [ 49.646803][ T177] netdevsim netdevsim638 eni638np1: renamed from eth0 [ 49.905406][ T12] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 50.096419][ T12] netdevsim netdevsim638 eni638np1: unset [0, 0] type 1 family 0 port 10000 - 0 [ 50.096439][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 50.096441][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 50.096443][ T12] preempt_count: 1, expected: 0 [ 50.096444][ T12] RCU nest depth: 0, expected: 0 [ 50.096445][ T12] locks held by kworker/u16:0/12: 8, last CPU#2: [ 50.096447][ T12] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 50.096459][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 50.096463][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 50.096473][ T12] #3: ff1100000b8da710 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 50.096476][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 50.096481][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 50.096485][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 50.096488][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 50.096492][ T12] irq event stamp: 68320 [ 50.096493][ T12] hardirqs last enabled at (68319): [] __down_trylock_console_sem+0x86/0xa0 [ 50.096496][ T12] hardirqs last disabled at (68320): [] console_emit_next_record+0x3f8/0x4f0 [ 50.096497][ T12] softirqs last enabled at (68300): [] addrconf_dad_begin+0x37f/0x540 [ 50.096501][ T12] softirqs last disabled at (68292): [] addrconf_dad_begin+0x154/0x540 [ 50.096504][ T12] Preemption disabled at: [ 50.096504][ T12] [] vprintk_emit+0x31b/0x3e0 [ 50.096510][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 50.096514][ T12] Tainted: [W]=WARN [ 50.096515][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 50.096517][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 50.096520][ T12] Call Trace: [ 50.096522][ T12] [ 50.096524][ T12] dump_stack_lvl+0x6f/0xa0 [ 50.096529][ T12] ? vprintk_emit+0x31b/0x3e0 [ 50.096531][ T12] __might_resched.cold+0x1fe/0x2c1 [ 50.096536][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 50.096540][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 50.096545][ T12] __kmalloc_noprof+0x443/0x760 [ 50.096547][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 50.096553][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 50.096556][ T12] alloc_buf.isra.0+0x4b/0x260 [ 50.096559][ T12] put_chars+0x1e1/0x2f0 [ 50.096562][ T12] ? __send_to_port+0x420/0x420 [ 50.096565][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 50.096569][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 50.096572][ T12] ? validate_chain+0x38b/0xc20 [ 50.096575][ T12] hvc_console_print+0x292/0x780 [ 50.096578][ T12] ? mark_usage+0x61/0x170 [ 50.096580][ T12] ? __lock_acquire+0x518/0xc20 [ 50.096581][ T12] ? __lock_acquire+0x518/0xc20 [ 50.096585][ T12] ? hvc_write+0x3a0/0x3a0 [ 50.096587][ T12] ? console_emit_next_record+0x202/0x4f0 [ 50.096590][ T12] ? rcu_is_watching+0x16/0xd0 [ 50.096592][ T12] ? lock_acquire+0x13c/0x160 [ 50.096596][ T12] console_emit_next_record+0x252/0x4f0 [ 50.096600][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 50.096604][ T12] ? rcu_is_watching+0x16/0xd0 [ 50.096607][ T12] ? lock_acquire+0x13c/0x160 [ 50.096610][ T12] console_flush_one_record+0x46f/0x710 [ 50.096614][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 50.096616][ T12] ? __lock_acquire+0x518/0xc20 [ 50.096621][ T12] console_unlock+0xee/0x1f0 [ 50.096624][ T12] ? console_flush_one_record+0x710/0x710 [ 50.096625][ T12] ? rcu_is_watching+0x16/0xd0 [ 50.096627][ T12] ? lock_acquire+0x60/0x160 [ 50.096631][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 50.096632][ T12] ? vprintk_emit+0x320/0x3e0 [ 50.096636][ T12] vprintk_emit+0x37c/0x3e0 [ 50.096639][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 50.096642][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 50.096647][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 50.096653][ T12] ? device_rename.cold+0xa/0xa [ 50.096655][ T12] ? debug_object_activate+0x345/0x4a0 [ 50.096662][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 50.096666][ T12] dev_printk_emit+0xb9/0xee [ 50.096668][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 50.096670][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 50.096675][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 50.096677][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 50.096679][ T12] ? validate_chain+0x38b/0xc20 [ 50.096683][ T12] __netdev_printk+0x160/0x1d0 [ 50.096688][ T12] netdev_info+0xe2/0x116 [ 50.096691][ T12] ? netdev_notice+0x120/0x120 [ 50.096694][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 50.096696][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 50.096700][ T12] ? rcu_is_watching+0x16/0xd0 [ 50.096704][ T12] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 50.096712][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 50.096714][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 50.096716][ T12] ? __asan_memset+0x27/0x50 [ 50.096720][ T12] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 50.096724][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 50.096730][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 50.096736][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 50.096739][ T12] ? rcu_is_watching+0x16/0xd0 [ 50.096741][ T12] ? lock_acquire+0x13c/0x160 [ 50.096742][ T12] ? rcu_is_watching+0x16/0xd0 [ 50.096746][ T12] ? process_one_work+0xe16/0x1560 [ 50.096747][ T12] ? process_one_work+0xdfc/0x1560 [ 50.096749][ T12] process_one_work+0xe3e/0x1560 [ 50.096755][ T12] ? __queue_delayed_work+0x470/0x470 [ 50.096758][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 50.096766][ T12] worker_thread+0x4f1/0xd60 [ 50.096773][ T12] ? rescuer_thread+0x1340/0x1340 [ 50.096774][ T12] kthread+0x367/0x460 [ 50.096777][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 50.096781][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 50.096783][ T12] ret_from_fork+0x474/0x6b0 [ 50.096788][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 50.096792][ T12] ? __switch_to+0x5a3/0xe00 [ 50.096795][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 50.096797][ T12] ret_from_fork_asm+0x11/0x20 [ 50.096806][ T12] [ 50.131382][ T12] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 50.293016][ T12] netdevsim netdevsim638 eni638np1: unset [0, 0] type 1 family 0 port 10000 - 0 [ 50.484393][ T12] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 50.525221][ T166] netdevsim netdevsim638 eni638np1 (unregistering): unset [0, 0] type 1 family 0 port 10000 - 0 [ 50.586229][ T177] netdevsim netdevsim638 eni638np2: renamed from eth0 [ 50.787390][ T12] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 50.970394][ T12] netdevsim netdevsim638 eni638np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 51.005381][ T12] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 51.144241][ T12] netdevsim netdevsim638 eni638np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 51.144260][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 51.144262][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 51.144264][ T12] preempt_count: 1, expected: 0 [ 51.144264][ T12] RCU nest depth: 0, expected: 0 [ 51.144265][ T12] locks held by kworker/u16:0/12: 8, last CPU#0: [ 51.144268][ T12] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 51.144279][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 51.144283][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 51.144289][ T12] #3: ff11000009ed3f10 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 51.144292][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 51.144298][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 51.144301][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 51.144305][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 51.144309][ T12] irq event stamp: 69458 [ 51.144309][ T12] hardirqs last enabled at (69457): [] __down_trylock_console_sem+0x86/0xa0 [ 51.144312][ T12] hardirqs last disabled at (69458): [] console_emit_next_record+0x3f8/0x4f0 [ 51.144314][ T12] softirqs last enabled at (69390): [] addrconf_dad_begin+0x37f/0x540 [ 51.144318][ T12] softirqs last disabled at (69382): [] addrconf_dad_begin+0x154/0x540 [ 51.144320][ T12] Preemption disabled at: [ 51.144321][ T12] [] vprintk_emit+0x31b/0x3e0 [ 51.144326][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 51.144330][ T12] Tainted: [W]=WARN [ 51.144331][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 51.144332][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 51.144336][ T12] Call Trace: [ 51.144337][ T12] [ 51.144339][ T12] dump_stack_lvl+0x6f/0xa0 [ 51.144344][ T12] ? vprintk_emit+0x31b/0x3e0 [ 51.144346][ T12] __might_resched.cold+0x1fe/0x2c1 [ 51.144351][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 51.144355][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 51.144363][ T12] __kmalloc_noprof+0x443/0x760 [ 51.144365][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 51.144371][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 51.144374][ T12] alloc_buf.isra.0+0x4b/0x260 [ 51.144377][ T12] put_chars+0x1e1/0x2f0 [ 51.144380][ T12] ? __send_to_port+0x420/0x420 [ 51.144383][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 51.144387][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 51.144390][ T12] ? validate_chain+0x38b/0xc20 [ 51.144394][ T12] hvc_console_print+0x292/0x780 [ 51.144396][ T12] ? mark_usage+0x61/0x170 [ 51.144398][ T12] ? __lock_acquire+0x518/0xc20 [ 51.144399][ T12] ? __lock_acquire+0x518/0xc20 [ 51.144403][ T12] ? hvc_write+0x3a0/0x3a0 [ 51.144406][ T12] ? console_emit_next_record+0x202/0x4f0 [ 51.144409][ T12] ? rcu_is_watching+0x16/0xd0 [ 51.144411][ T12] ? lock_acquire+0x13c/0x160 [ 51.144415][ T12] console_emit_next_record+0x252/0x4f0 [ 51.144419][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 51.144423][ T12] ? rcu_is_watching+0x16/0xd0 [ 51.144425][ T12] ? lock_acquire+0x13c/0x160 [ 51.144429][ T12] console_flush_one_record+0x46f/0x710 [ 51.144434][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 51.144435][ T12] ? __lock_acquire+0x518/0xc20 [ 51.144441][ T12] console_unlock+0xee/0x1f0 [ 51.144443][ T12] ? console_flush_one_record+0x710/0x710 [ 51.144445][ T12] ? rcu_is_watching+0x16/0xd0 [ 51.144447][ T12] ? lock_acquire+0x60/0x160 [ 51.144451][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 51.144452][ T12] ? vprintk_emit+0x320/0x3e0 [ 51.144456][ T12] vprintk_emit+0x37c/0x3e0 [ 51.144459][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 51.144462][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 51.144467][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 51.144472][ T12] ? device_rename.cold+0xa/0xa [ 51.144474][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 51.144482][ T12] dev_printk_emit+0xb9/0xee [ 51.144485][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 51.144489][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 51.144491][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 51.144493][ T12] ? validate_chain+0x38b/0xc20 [ 51.144497][ T12] __netdev_printk+0x160/0x1d0 [ 51.144503][ T12] netdev_info+0xe2/0x116 [ 51.144505][ T12] ? netdev_notice+0x120/0x120 [ 51.144509][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 51.144511][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 51.144514][ T12] ? rcu_is_watching+0x16/0xd0 [ 51.144518][ T12] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 51.144525][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 51.144529][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 51.144531][ T12] ? __asan_memset+0x27/0x50 [ 51.144535][ T12] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 51.144539][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 51.144545][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 51.144551][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 51.144554][ T12] ? rcu_is_watching+0x16/0xd0 [ 51.144556][ T12] ? lock_acquire+0x13c/0x160 [ 51.144558][ T12] ? rcu_is_watching+0x16/0xd0 [ 51.144561][ T12] ? process_one_work+0xe16/0x1560 [ 51.144563][ T12] ? process_one_work+0xdfc/0x1560 [ 51.144564][ T12] process_one_work+0xe3e/0x1560 [ 51.144571][ T12] ? __queue_delayed_work+0x470/0x470 [ 51.144573][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 51.144581][ T12] worker_thread+0x4f1/0xd60 [ 51.144588][ T12] ? rescuer_thread+0x1340/0x1340 [ 51.144590][ T12] kthread+0x367/0x460 [ 51.144593][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 51.144597][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 51.144599][ T12] ret_from_fork+0x474/0x6b0 [ 51.144604][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 51.144608][ T12] ? __switch_to+0x5a3/0xe00 [ 51.144611][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 51.144613][ T12] ret_from_fork_asm+0x11/0x20 [ 51.144622][ T12] [ 51.325422][ T12] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 51.361480][ T166] netdevsim netdevsim638 eni638np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 51.652152][ T177] netdevsim netdevsim638 eni638np1: renamed from eth0 [ 51.868385][ T12] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 52.032791][ T166] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 52.132241][ T166] netdevsim netdevsim638 eni638np1: set [0, 0] type 1 family 0 port 10000 - 0 [ 52.321064][ T12] netdevsim netdevsim638 eni638np1: unset [0, 0] type 1 family 0 port 10000 - 0 [ 52.321085][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 52.321088][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 52.321090][ T12] preempt_count: 1, expected: 0 [ 52.321090][ T12] RCU nest depth: 0, expected: 0 [ 52.321091][ T12] locks held by kworker/u16:0/12: 8, last CPU#3: [ 52.321093][ T12] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 52.321106][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 52.321110][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 52.321116][ T12] #3: ff1100000cce4510 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 52.321120][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 52.321125][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 52.321129][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 52.321132][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 52.321136][ T12] irq event stamp: 70382 [ 52.321137][ T12] hardirqs last enabled at (70381): [] __down_trylock_console_sem+0x86/0xa0 [ 52.321140][ T12] hardirqs last disabled at (70382): [] console_emit_next_record+0x3f8/0x4f0 [ 52.321141][ T12] softirqs last enabled at (70354): [] addrconf_dad_begin+0x37f/0x540 [ 52.321145][ T12] softirqs last disabled at (70346): [] addrconf_dad_begin+0x154/0x540 [ 52.321148][ T12] Preemption disabled at: [ 52.321149][ T12] [] vprintk_emit+0x31b/0x3e0 [ 52.321154][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 52.321158][ T12] Tainted: [W]=WARN [ 52.321159][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 52.321161][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 52.321165][ T12] Call Trace: [ 52.321166][ T12] [ 52.321168][ T12] dump_stack_lvl+0x6f/0xa0 [ 52.321174][ T12] ? vprintk_emit+0x31b/0x3e0 [ 52.321176][ T12] __might_resched.cold+0x1fe/0x2c1 [ 52.321181][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 52.321185][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 52.321190][ T12] __kmalloc_noprof+0x443/0x760 [ 52.321192][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 52.321198][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 52.321200][ T12] alloc_buf.isra.0+0x4b/0x260 [ 52.321204][ T12] put_chars+0x1e1/0x2f0 [ 52.321207][ T12] ? __send_to_port+0x420/0x420 [ 52.321210][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 52.321214][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 52.321217][ T12] ? validate_chain+0x38b/0xc20 [ 52.321221][ T12] hvc_console_print+0x292/0x780 [ 52.321223][ T12] ? mark_usage+0x61/0x170 [ 52.321225][ T12] ? __lock_acquire+0x518/0xc20 [ 52.321227][ T12] ? __lock_acquire+0x518/0xc20 [ 52.321230][ T12] ? hvc_write+0x3a0/0x3a0 [ 52.321233][ T12] ? console_emit_next_record+0x202/0x4f0 [ 52.321236][ T12] ? rcu_is_watching+0x16/0xd0 [ 52.321238][ T12] ? lock_acquire+0x13c/0x160 [ 52.321242][ T12] console_emit_next_record+0x252/0x4f0 [ 52.321246][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 52.321251][ T12] ? rcu_is_watching+0x16/0xd0 [ 52.321253][ T12] ? lock_acquire+0x13c/0x160 [ 52.321257][ T12] console_flush_one_record+0x46f/0x710 [ 52.321261][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 52.321263][ T12] ? __lock_acquire+0x518/0xc20 [ 52.321268][ T12] console_unlock+0xee/0x1f0 [ 52.321271][ T12] ? console_flush_one_record+0x710/0x710 [ 52.321272][ T12] ? rcu_is_watching+0x16/0xd0 [ 52.321275][ T12] ? lock_acquire+0x60/0x160 [ 52.321278][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 52.321280][ T12] ? vprintk_emit+0x320/0x3e0 [ 52.321283][ T12] vprintk_emit+0x37c/0x3e0 [ 52.321287][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 52.321290][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 52.321295][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 52.321301][ T12] ? device_rename.cold+0xa/0xa [ 52.321303][ T12] ? debug_object_activate+0x345/0x4a0 [ 52.321311][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 52.321314][ T12] dev_printk_emit+0xb9/0xee [ 52.321317][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 52.321319][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 52.321324][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 52.321327][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 52.321328][ T12] ? validate_chain+0x38b/0xc20 [ 52.321332][ T12] __netdev_printk+0x160/0x1d0 [ 52.321338][ T12] netdev_info+0xe2/0x116 [ 52.321340][ T12] ? netdev_notice+0x120/0x120 [ 52.321344][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 52.321346][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 52.321350][ T12] ? rcu_is_watching+0x16/0xd0 [ 52.321354][ T12] nsim_udp_tunnel_unset_port.cold+0xa7/0x107 [netdevsim] [ 52.321363][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 52.321366][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 52.321368][ T12] ? __asan_memset+0x27/0x50 [ 52.321372][ T12] __udp_tunnel_nic_device_sync+0xaa5/0x1210 [udp_tunnel] [ 52.321376][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 52.321382][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 52.321388][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 52.321391][ T12] ? rcu_is_watching+0x16/0xd0 [ 52.321393][ T12] ? lock_acquire+0x13c/0x160 [ 52.321395][ T12] ? rcu_is_watching+0x16/0xd0 [ 52.321398][ T12] ? process_one_work+0xe16/0x1560 [ 52.321400][ T12] ? process_one_work+0xdfc/0x1560 [ 52.321401][ T12] process_one_work+0xe3e/0x1560 [ 52.321408][ T12] ? __queue_delayed_work+0x470/0x470 [ 52.321411][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 52.321418][ T12] worker_thread+0x4f1/0xd60 [ 52.321426][ T12] ? rescuer_thread+0x1340/0x1340 [ 52.321428][ T12] kthread+0x367/0x460 [ 52.321431][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 52.321434][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 52.321437][ T12] ret_from_fork+0x474/0x6b0 [ 52.321442][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 52.321446][ T12] ? __switch_to+0x5a3/0xe00 [ 52.321449][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 52.321451][ T12] ret_from_fork_asm+0x11/0x20 [ 52.321461][ T12] [ 52.431299][ T177] netdevsim netdevsim638 eni638np2: renamed from eth0 [ 52.635434][ T12] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 52.800723][ T166] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 52.857621][ T2767] netdevsim netdevsim638 eni638np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 52.889389][ T12] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 53.073217][ T12] netdevsim netdevsim638 eni638np2: unset [0, 0] type 1 family 0 port 10000 - 0 [ 53.451411][ T177] netdevsim netdevsim638 eni638np2: renamed from eth0 [ 53.451429][ T177] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 53.451432][ T177] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 177, name: (udev-worker) [ 53.451434][ T177] preempt_count: 1, expected: 0 [ 53.451435][ T177] RCU nest depth: 0, expected: 0 [ 53.451436][ T177] locks held by (udev-worker)/177: 6, last CPU#1: [ 53.451438][ T177] #0: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 53.451450][ T177] #1: ff1100000b862dd8 (&dev_instance_lock_key#5){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 53.451455][ T177] #2: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 53.451461][ T177] #3: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 53.451464][ T177] #4: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 53.451468][ T177] #5: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 53.451472][ T177] irq event stamp: 5454796 [ 53.451473][ T177] hardirqs last enabled at (5454795): [] __down_trylock_console_sem+0x86/0xa0 [ 53.451475][ T177] hardirqs last disabled at (5454796): [] console_emit_next_record+0x3f8/0x4f0 [ 53.451477][ T177] softirqs last enabled at (5454790): [] netif_change_name+0x216/0x8c0 [ 53.451479][ T177] softirqs last disabled at (5454788): [] netif_change_name+0x1ad/0x8c0 [ 53.451481][ T177] Preemption disabled at: [ 53.451482][ T177] [] vprintk_emit+0x31b/0x3e0 [ 53.451488][ T177] CPU: 1 UID: 0 PID: 177 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 53.451492][ T177] Tainted: [W]=WARN [ 53.451493][ T177] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 53.451494][ T177] Call Trace: [ 53.451496][ T177] [ 53.451498][ T177] dump_stack_lvl+0x6f/0xa0 [ 53.451504][ T177] ? vprintk_emit+0x31b/0x3e0 [ 53.451506][ T177] __might_resched.cold+0x1fe/0x2c1 [ 53.451511][ T177] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 53.451515][ T177] ? __kmalloc_noprof+0xdb/0x760 [ 53.451520][ T177] __kmalloc_noprof+0x443/0x760 [ 53.451522][ T177] ? alloc_buf.isra.0+0x4b/0x260 [ 53.451528][ T177] ? do_raw_spin_unlock+0x59/0x250 [ 53.451530][ T177] alloc_buf.isra.0+0x4b/0x260 [ 53.451534][ T177] put_chars+0x1e1/0x2f0 [ 53.451537][ T177] ? __send_to_port+0x420/0x420 [ 53.451538][ T177] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 53.451543][ T177] ? rcu_read_lock_any_held+0x3c/0x90 [ 53.451545][ T177] ? validate_chain+0x38b/0xc20 [ 53.451550][ T177] hvc_console_print+0x292/0x780 [ 53.451553][ T177] ? __lock_acquire+0x518/0xc20 [ 53.451558][ T177] ? hvc_write+0x3a0/0x3a0 [ 53.451561][ T177] ? rcu_is_watching+0x16/0xd0 [ 53.451566][ T177] console_emit_next_record+0x252/0x4f0 [ 53.451570][ T177] ? devkmsg_read+0x4e0/0x4e0 [ 53.451574][ T177] ? rcu_is_watching+0x16/0xd0 [ 53.451576][ T177] ? lock_acquire+0x13c/0x160 [ 53.451580][ T177] console_flush_one_record+0x46f/0x710 [ 53.451584][ T177] ? console_emit_next_record+0x4f0/0x4f0 [ 53.451586][ T177] ? __lock_acquire+0x518/0xc20 [ 53.451591][ T177] console_unlock+0xee/0x1f0 [ 53.451594][ T177] ? console_flush_one_record+0x710/0x710 [ 53.451596][ T177] ? rcu_is_watching+0x16/0xd0 [ 53.451598][ T177] ? lock_acquire+0x60/0x160 [ 53.451601][ T177] ? __down_trylock_console_sem+0x5e/0xa0 [ 53.451603][ T177] ? vprintk_emit+0x320/0x3e0 [ 53.451606][ T177] vprintk_emit+0x37c/0x3e0 [ 53.451610][ T177] ? wake_up_klogd_work_func+0x90/0x90 [ 53.451612][ T177] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 53.451615][ T177] ? rcu_read_lock_any_held+0x3c/0x90 [ 53.451616][ T177] ? validate_chain+0x38b/0xc20 [ 53.451622][ T177] dev_vprintk_emit+0x27f/0x2c0 [ 53.451627][ T177] ? device_rename.cold+0xa/0xa [ 53.451633][ T177] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 53.451635][ T177] ? rcu_read_lock_any_held+0x3c/0x90 [ 53.451637][ T177] ? validate_chain+0x38b/0xc20 [ 53.451640][ T177] dev_printk_emit+0xb9/0xee [ 53.451643][ T177] ? dev_vprintk_emit+0x2c0/0x2c0 [ 53.451644][ T177] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 53.451647][ T177] ? validate_chain+0x38b/0xc20 [ 53.451650][ T177] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 53.451652][ T177] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 53.451656][ T177] __netdev_printk+0x160/0x1d0 [ 53.451662][ T177] netdev_info+0xe2/0x116 [ 53.451665][ T177] ? netdev_notice+0x120/0x120 [ 53.451667][ T177] ? find_held_lock+0x2b/0x80 [ 53.451671][ T177] ? __lock_release.isra.0+0x69/0x1a0 [ 53.451673][ T177] ? mark_held_locks+0x40/0x70 [ 53.451677][ T177] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 53.451679][ T177] netif_change_name.cold+0x4f/0x89 [ 53.451683][ T177] ? __lock_acquire+0x518/0xc20 [ 53.451685][ T177] ? rwsem_optimistic_spin+0x3c7/0x480 [ 53.451687][ T177] ? find_held_lock+0x2/0x80 [ 53.451690][ T177] ? netdev_adjacent_rename_links+0x470/0x470 [ 53.451693][ T177] ? find_held_lock+0x2b/0x80 [ 53.451696][ T177] ? __asan_memset+0x27/0x50 [ 53.451702][ T177] do_setlink.isra.0+0x1f7d/0x2a60 [ 53.451705][ T177] ? __lock_acquire+0x518/0xc20 [ 53.451708][ T177] ? rtnl_link_get_size+0x350/0x350 [ 53.451710][ T177] ? mark_usage+0x61/0x170 [ 53.451711][ T177] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 53.451713][ T177] ? rcu_read_lock_any_held+0x3c/0x90 [ 53.451715][ T177] ? validate_chain+0x38b/0xc20 [ 53.451720][ T177] ? __lock_acquire+0x518/0xc20 [ 53.451721][ T177] ? rwsem_optimistic_spin+0x42e/0x480 [ 53.451726][ T177] ? lock_acquire.part.0+0xd4/0x280 [ 53.451727][ T177] ? rtnl_setlink+0x29d/0x920 [ 53.451730][ T177] ? rcu_is_watching+0x16/0xd0 [ 53.451733][ T177] ? lock_acquire+0x13c/0x160 [ 53.451734][ T177] ? rcu_is_watching+0x16/0xd0 [ 53.451736][ T177] ? rcu_is_watching+0x16/0xd0 [ 53.451738][ T177] ? trace_contention_end+0xb3/0x180 [ 53.451741][ T177] ? __mutex_lock+0x1db/0x1ea0 [ 53.451744][ T177] ? __mutex_lock+0x9a3/0x1ea0 [ 53.451745][ T177] ? kvm_clock_get_cycles+0x19/0x30 [ 53.451749][ T177] ? rtnl_setlink+0x29d/0x920 [ 53.451752][ T177] ? mark_usage+0x61/0x170 [ 53.451753][ T177] ? clockevents_program_event+0x307/0x7e0 [ 53.451757][ T177] ? ww_mutex_lock+0x160/0x160 [ 53.451758][ T177] ? nla_get_range_signed+0x3d0/0x3d0 [ 53.451765][ T177] ? mark_usage+0x61/0x170 [ 53.451768][ T177] ? cap_capable+0x1d7/0x3d0 [ 53.451777][ T177] rtnl_setlink+0x527/0x920 [ 53.451780][ T177] ? __rtnl_newlink+0xa50/0xa50 [ 53.451782][ T177] ? __lock_acquire+0x518/0xc20 [ 53.451806][ T177] ? lock_acquire.part.0+0xd4/0x280 [ 53.451808][ T177] ? find_held_lock+0x2b/0x80 [ 53.451811][ T177] ? __lock_release.isra.0+0x69/0x1a0 [ 53.451813][ T177] ? mark_usage+0x61/0x170 [ 53.451815][ T177] ? __lock_acquire+0x518/0xc20 [ 53.451819][ T177] ? lock_acquire.part.0+0xd4/0x280 [ 53.451821][ T177] ? find_held_lock+0x2b/0x80 [ 53.451823][ T177] ? __rtnl_newlink+0xa50/0xa50 [ 53.451825][ T177] ? __lock_release.isra.0+0x69/0x1a0 [ 53.451829][ T177] ? __rtnl_newlink+0xa50/0xa50 [ 53.451832][ T177] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 53.451835][ T177] ? rtnl_link_fill+0x900/0x900 [ 53.451837][ T177] ? __lock_acquire+0x518/0xc20 [ 53.451841][ T177] ? lock_acquire.part.0+0xd4/0x280 [ 53.451843][ T177] ? find_held_lock+0x2b/0x80 [ 53.451847][ T177] netlink_rcv_skb+0x14e/0x3a0 [ 53.451851][ T177] ? rtnl_link_fill+0x900/0x900 [ 53.451854][ T177] ? netlink_ack+0xcd0/0xcd0 [ 53.451861][ T177] ? netlink_deliver_tap+0xc5/0x330 [ 53.451863][ T177] ? netlink_deliver_tap+0x13c/0x330 [ 53.451868][ T177] netlink_unicast+0x486/0x750 [ 53.451872][ T177] ? netlink_attachskb+0x810/0x810 [ 53.451875][ T177] ? __lock_acquire+0x518/0xc20 [ 53.451880][ T177] netlink_sendmsg+0x735/0xc60 [ 53.451884][ T177] ? netlink_unicast+0x750/0x750 [ 53.451888][ T177] ? __might_fault+0x97/0x140 [ 53.451892][ T177] ? __might_fault+0x97/0x140 [ 53.451895][ T177] __sys_sendto+0x2aa/0x400 [ 53.451899][ T177] ? __ia32_sys_getpeername+0xd0/0xd0 [ 53.451911][ T177] ? exc_page_fault+0x87/0x100 [ 53.451917][ T177] __x64_sys_sendto+0xe4/0x1f0 [ 53.451919][ T177] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 53.451923][ T177] ? lockdep_hardirqs_on+0x91/0x130 [ 53.451925][ T177] ? do_syscall_64+0xa6/0x530 [ 53.451926][ T177] do_syscall_64+0xff/0x530 [ 53.451928][ T177] ? exc_page_fault+0xee/0x100 [ 53.451931][ T177] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 53.451933][ T177] RIP: 0033:0x7fdd86fd654e [ 53.451937][ T177] 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 [ 53.451939][ T177] RSP: 002b:00007ffcf6233ba0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 53.451942][ T177] RAX: ffffffffffffffda RBX: 0000563bd67024f0 RCX: 00007fdd86fd654e [ 53.451944][ T177] RDX: 0000000000000030 RSI: 0000563bd6700580 RDI: 0000000000000016 [ 53.451944][ T177] RBP: 00007ffcf6233bb0 R08: 00007ffcf6233c00 R09: 0000000000000080 [ 53.451945][ T177] R10: 0000000000000000 R11: 0000000000000202 R12: 0000563bd68c9f40 [ 53.451946][ T177] R13: 00007ffcf6233ce4 R14: 0000000000000000 R15: 0000000000000000 [ 53.451953][ T177] [ 53.695199][ T177] netdevsim netdevsim638 eni638np3: renamed from eth0 [ 53.863407][ T12] netdevsim netdevsim638 eni638np3: set [0, 0] type 1 family 0 port 4789 - 0 [ 54.098382][ T12] netdevsim netdevsim638 eni638np3: unset [0, 0] type 1 family 0 port 4789 - 0 [ 54.132700][ T12] netdevsim netdevsim638 eni638np3: set [0, 0] type 1 family 0 port 4789 - 0 [ 54.274459][ T288] netdevsim netdevsim638 eni638np3: set [0, 1] type 1 family 0 port 4790 - 0 [ 54.468631][ T288] netdevsim netdevsim638 eni638np3: set [1, 0] type 2 family 0 port 6081 - 0 [ 54.468654][ T288] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 54.468658][ T288] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 288, name: kworker/u16:2 [ 54.468660][ T288] preempt_count: 1, expected: 0 [ 54.468662][ T288] RCU nest depth: 0, expected: 0 [ 54.468664][ T288] locks held by kworker/u16:2/288: 8, last CPU#3: [ 54.468667][ T288] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 54.468682][ T288] #1: ffa0000001827d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 54.468688][ T288] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 54.468697][ T288] #3: ff11000009ed3310 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 54.468703][ T288] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 54.468710][ T288] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 54.468716][ T288] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 54.468722][ T288] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 54.468728][ T288] irq event stamp: 42778 [ 54.468729][ T288] hardirqs last enabled at (42777): [] __down_trylock_console_sem+0x86/0xa0 [ 54.468733][ T288] hardirqs last disabled at (42778): [] console_emit_next_record+0x3f8/0x4f0 [ 54.468736][ T288] softirqs last enabled at (42766): [] handle_softirqs+0x67c/0x900 [ 54.468740][ T288] softirqs last disabled at (42191): [] do_softirq+0xac/0xe0 [ 54.468744][ T288] Preemption disabled at: [ 54.468745][ T288] [] vprintk_emit+0x31b/0x3e0 [ 54.468752][ T288] CPU: 3 UID: 0 PID: 288 Comm: kworker/u16:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 54.468757][ T288] Tainted: [W]=WARN [ 54.468758][ T288] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 54.468761][ T288] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 54.468766][ T288] Call Trace: [ 54.468768][ T288] [ 54.468771][ T288] dump_stack_lvl+0x6f/0xa0 [ 54.468778][ T288] ? vprintk_emit+0x31b/0x3e0 [ 54.468781][ T288] __might_resched.cold+0x1fe/0x2c1 [ 54.468787][ T288] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 54.468793][ T288] ? __kmalloc_noprof+0xdb/0x760 [ 54.468800][ T288] __kmalloc_noprof+0x443/0x760 [ 54.468804][ T288] ? alloc_buf.isra.0+0x4b/0x260 [ 54.468813][ T288] ? do_raw_spin_unlock+0x59/0x250 [ 54.468816][ T288] alloc_buf.isra.0+0x4b/0x260 [ 54.468822][ T288] put_chars+0x1e1/0x2f0 [ 54.468826][ T288] ? __send_to_port+0x420/0x420 [ 54.468832][ T288] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 54.468838][ T288] ? rcu_read_lock_any_held+0x3c/0x90 [ 54.468841][ T288] ? validate_chain+0x38b/0xc20 [ 54.468847][ T288] hvc_console_print+0x292/0x780 [ 54.468851][ T288] ? mark_usage+0x61/0x170 [ 54.468854][ T288] ? __lock_acquire+0x518/0xc20 [ 54.468856][ T288] ? __lock_acquire+0x518/0xc20 [ 54.468864][ T288] ? hvc_write+0x3a0/0x3a0 [ 54.468867][ T288] ? console_emit_next_record+0x202/0x4f0 [ 54.468872][ T288] ? rcu_is_watching+0x16/0xd0 [ 54.468876][ T288] ? lock_acquire+0x13c/0x160 [ 54.468884][ T288] console_emit_next_record+0x252/0x4f0 [ 54.468890][ T288] ? devkmsg_read+0x4e0/0x4e0 [ 54.468898][ T288] ? rcu_is_watching+0x16/0xd0 [ 54.468902][ T288] ? lock_acquire+0x13c/0x160 [ 54.468909][ T288] console_flush_one_record+0x46f/0x710 [ 54.468916][ T288] ? console_emit_next_record+0x4f0/0x4f0 [ 54.468919][ T288] ? __lock_acquire+0x518/0xc20 [ 54.468931][ T288] console_unlock+0xee/0x1f0 [ 54.468935][ T288] ? console_flush_one_record+0x710/0x710 [ 54.468938][ T288] ? rcu_is_watching+0x16/0xd0 [ 54.468942][ T288] ? lock_acquire+0x60/0x160 [ 54.468948][ T288] ? __down_trylock_console_sem+0x5e/0xa0 [ 54.468951][ T288] ? vprintk_emit+0x320/0x3e0 [ 54.468956][ T288] vprintk_emit+0x37c/0x3e0 [ 54.468963][ T288] ? wake_up_klogd_work_func+0x90/0x90 [ 54.468968][ T288] ? clockevents_program_event+0x1ff/0x7e0 [ 54.468977][ T288] dev_vprintk_emit+0x27f/0x2c0 [ 54.468984][ T288] ? device_rename.cold+0xa/0xa [ 54.468987][ T288] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 54.469001][ T288] dev_printk_emit+0xb9/0xee [ 54.469005][ T288] ? dev_vprintk_emit+0x2c0/0x2c0 [ 54.469013][ T288] ? find_held_lock+0x2b/0x80 [ 54.469019][ T288] ? __lock_release.isra.0+0x69/0x1a0 [ 54.469025][ T288] __netdev_printk+0x160/0x1d0 [ 54.469034][ T288] netdev_info+0xe2/0x116 [ 54.469038][ T288] ? netdev_notice+0x120/0x120 [ 54.469045][ T288] ? lock_acquire.part.0+0xd4/0x280 [ 54.469053][ T288] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 54.469059][ T288] ? rcu_is_watching+0x16/0xd0 [ 54.469066][ T288] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 54.469076][ T288] ? __mutex_lock+0x9a3/0x1ea0 [ 54.469082][ T288] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 54.469085][ T288] ? __asan_memset+0x27/0x50 [ 54.469090][ T288] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 54.469097][ T288] ? rcu_tasks_need_gpcb+0x837/0x880 [ 54.469108][ T288] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 54.469119][ T288] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 54.469124][ T288] ? rcu_is_watching+0x16/0xd0 [ 54.469127][ T288] ? lock_acquire+0x13c/0x160 [ 54.469130][ T288] ? rcu_is_watching+0x16/0xd0 [ 54.469136][ T288] ? process_one_work+0xe16/0x1560 [ 54.469139][ T288] ? process_one_work+0xdfc/0x1560 [ 54.469141][ T288] process_one_work+0xe3e/0x1560 [ 54.469153][ T288] ? __queue_delayed_work+0x470/0x470 [ 54.469158][ T288] ? lock_acquire.part.0+0xd4/0x280 [ 54.469173][ T288] worker_thread+0x4f1/0xd60 [ 54.469180][ T288] ? rescuer_thread+0x1340/0x1340 [ 54.469183][ T288] ? __kthread_parkme+0xbd/0x210 [ 54.469188][ T288] ? rescuer_thread+0x1340/0x1340 [ 54.469193][ T288] ? rescuer_thread+0x1340/0x1340 [ 54.469196][ T288] kthread+0x367/0x460 [ 54.469198][ T288] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 54.469203][ T288] ? kthread_affine_preferred+0x4c0/0x4c0 [ 54.469208][ T288] ret_from_fork+0x474/0x6b0 [ 54.469215][ T288] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 54.469221][ T288] ? __switch_to+0x5a3/0xe00 [ 54.469225][ T288] ? kthread_affine_preferred+0x4c0/0x4c0 [ 54.469230][ T288] ret_from_fork_asm+0x11/0x20 [ 54.469246][ T288] [ 55.042110][ T288] netdevsim netdevsim638 eni638np3: unset [0, 0] type 1 family 0 port 4789 - 0 [ 55.043300][ T288] netdevsim netdevsim638 eni638np3: unset [0, 1] type 1 family 0 port 4790 - 0 [ 55.043930][ T288] netdevsim netdevsim638 eni638np3: unset [1, 0] type 2 family 0 port 6081 - 0 [ 55.078395][ T288] netdevsim netdevsim638 eni638np3: set [0, 0] type 1 family 0 port 4789 - 0 [ 55.079070][ T288] netdevsim netdevsim638 eni638np3: set [0, 1] type 1 family 0 port 4790 - 0 [ 55.079681][ T288] netdevsim netdevsim638 eni638np3: set [1, 0] type 2 family 0 port 6081 - 0 [ 55.438394][ T288] netdevsim netdevsim638 eni638np3: unset [0, 0] type 1 family 0 port 4789 - 0 [ 55.439045][ T288] netdevsim netdevsim638 eni638np3: unset [0, 1] type 1 family 0 port 4790 - 0 [ 55.439650][ T288] netdevsim netdevsim638 eni638np3: unset [1, 0] type 2 family 0 port 6081 - 0 [ 55.474380][ T288] netdevsim netdevsim638 eni638np3: set [0, 0] type 1 family 0 port 4789 - 0 [ 55.474399][ T288] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 55.474402][ T288] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 288, name: kworker/u16:2 [ 55.474403][ T288] preempt_count: 1, expected: 0 [ 55.474404][ T288] RCU nest depth: 0, expected: 0 [ 55.474405][ T288] locks held by kworker/u16:2/288: 8, last CPU#3: [ 55.474408][ T288] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 55.474420][ T288] #1: ffa0000001827d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 55.474424][ T288] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 55.474430][ T288] #3: ff11000009ed3310 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 55.474434][ T288] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 55.474439][ T288] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 55.474443][ T288] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 55.474447][ T288] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 55.474451][ T288] irq event stamp: 45302 [ 55.474452][ T288] hardirqs last enabled at (45301): [] __down_trylock_console_sem+0x86/0xa0 [ 55.474454][ T288] hardirqs last disabled at (45302): [] console_emit_next_record+0x3f8/0x4f0 [ 55.474456][ T288] softirqs last enabled at (45282): [] __fib6_clean_all+0xf3/0x270 [ 55.474460][ T288] softirqs last disabled at (45276): [] __fib6_clean_all+0xd0/0x270 [ 55.474462][ T288] Preemption disabled at: [ 55.474463][ T288] [] vprintk_emit+0x31b/0x3e0 [ 55.474469][ T288] CPU: 3 UID: 0 PID: 288 Comm: kworker/u16:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 55.474473][ T288] Tainted: [W]=WARN [ 55.474474][ T288] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 55.474476][ T288] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 55.474479][ T288] Call Trace: [ 55.474481][ T288] [ 55.474483][ T288] dump_stack_lvl+0x6f/0xa0 [ 55.474489][ T288] ? vprintk_emit+0x31b/0x3e0 [ 55.474491][ T288] __might_resched.cold+0x1fe/0x2c1 [ 55.474496][ T288] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 55.474500][ T288] ? __kmalloc_noprof+0xdb/0x760 [ 55.474505][ T288] __kmalloc_noprof+0x443/0x760 [ 55.474507][ T288] ? alloc_buf.isra.0+0x4b/0x260 [ 55.474513][ T288] ? do_raw_spin_unlock+0x59/0x250 [ 55.474516][ T288] alloc_buf.isra.0+0x4b/0x260 [ 55.474519][ T288] put_chars+0x1e1/0x2f0 [ 55.474522][ T288] ? __send_to_port+0x420/0x420 [ 55.474525][ T288] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 55.474529][ T288] ? rcu_read_lock_any_held+0x3c/0x90 [ 55.474531][ T288] ? validate_chain+0x38b/0xc20 [ 55.474535][ T288] hvc_console_print+0x292/0x780 [ 55.474538][ T288] ? mark_usage+0x61/0x170 [ 55.474540][ T288] ? __lock_acquire+0x518/0xc20 [ 55.474541][ T288] ? __lock_acquire+0x518/0xc20 [ 55.474545][ T288] ? hvc_write+0x3a0/0x3a0 [ 55.474547][ T288] ? console_emit_next_record+0x202/0x4f0 [ 55.474550][ T288] ? rcu_is_watching+0x16/0xd0 [ 55.474553][ T288] ? lock_acquire+0x13c/0x160 [ 55.474557][ T288] console_emit_next_record+0x252/0x4f0 [ 55.474560][ T288] ? devkmsg_read+0x4e0/0x4e0 [ 55.474565][ T288] ? rcu_is_watching+0x16/0xd0 [ 55.474567][ T288] ? lock_acquire+0x13c/0x160 [ 55.474571][ T288] console_flush_one_record+0x46f/0x710 [ 55.474575][ T288] ? console_emit_next_record+0x4f0/0x4f0 [ 55.474577][ T288] ? __lock_acquire+0x518/0xc20 [ 55.474582][ T288] console_unlock+0xee/0x1f0 [ 55.474585][ T288] ? console_flush_one_record+0x710/0x710 [ 55.474587][ T288] ? rcu_is_watching+0x16/0xd0 [ 55.474589][ T288] ? lock_acquire+0x60/0x160 [ 55.474592][ T288] ? __down_trylock_console_sem+0x5e/0xa0 [ 55.474594][ T288] ? vprintk_emit+0x320/0x3e0 [ 55.474597][ T288] vprintk_emit+0x37c/0x3e0 [ 55.474601][ T288] ? wake_up_klogd_work_func+0x90/0x90 [ 55.474604][ T288] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 55.474606][ T288] ? rcu_read_lock_any_held+0x3c/0x90 [ 55.474610][ T288] dev_vprintk_emit+0x27f/0x2c0 [ 55.474616][ T288] ? device_rename.cold+0xa/0xa [ 55.474618][ T288] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 55.474622][ T288] ? rcu_read_lock_any_held+0x3c/0x90 [ 55.474627][ T288] dev_printk_emit+0xb9/0xee [ 55.474629][ T288] ? dev_vprintk_emit+0x2c0/0x2c0 [ 55.474634][ T288] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 55.474636][ T288] ? rcu_read_lock_any_held+0x3c/0x90 [ 55.474638][ T288] ? validate_chain+0x38b/0xc20 [ 55.474641][ T288] __netdev_printk+0x160/0x1d0 [ 55.474647][ T288] netdev_info+0xe2/0x116 [ 55.474650][ T288] ? netdev_notice+0x120/0x120 [ 55.474654][ T288] ? lock_acquire.part.0+0xd4/0x280 [ 55.474656][ T288] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 55.474659][ T288] ? rcu_is_watching+0x16/0xd0 [ 55.474663][ T288] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 55.474670][ T288] ? __mutex_lock+0x9a3/0x1ea0 [ 55.474674][ T288] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 55.474676][ T288] ? __asan_memset+0x27/0x50 [ 55.474680][ T288] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 55.474684][ T288] ? rcu_tasks_need_gpcb+0x837/0x880 [ 55.474690][ T288] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 55.474696][ T288] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 55.474699][ T288] ? rcu_is_watching+0x16/0xd0 [ 55.474701][ T288] ? lock_acquire+0x13c/0x160 [ 55.474702][ T288] ? rcu_is_watching+0x16/0xd0 [ 55.474706][ T288] ? process_one_work+0xe16/0x1560 [ 55.474707][ T288] ? process_one_work+0xdfc/0x1560 [ 55.474709][ T288] process_one_work+0xe3e/0x1560 [ 55.474715][ T288] ? __queue_delayed_work+0x470/0x470 [ 55.474718][ T288] ? lock_acquire.part.0+0xd4/0x280 [ 55.474726][ T288] worker_thread+0x4f1/0xd60 [ 55.474730][ T288] ? rescuer_thread+0x1340/0x1340 [ 55.474732][ T288] ? __kthread_parkme+0xbd/0x210 [ 55.474735][ T288] ? rescuer_thread+0x1340/0x1340 [ 55.474738][ T288] ? rescuer_thread+0x1340/0x1340 [ 55.474740][ T288] kthread+0x367/0x460 [ 55.474741][ T288] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 55.474745][ T288] ? kthread_affine_preferred+0x4c0/0x4c0 [ 55.474748][ T288] ret_from_fork+0x474/0x6b0 [ 55.474753][ T288] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 55.474756][ T288] ? __switch_to+0x5a3/0xe00 [ 55.474759][ T288] ? kthread_affine_preferred+0x4c0/0x4c0 [ 55.474762][ T288] ret_from_fork_asm+0x11/0x20 [ 55.474771][ T288] [ 55.502943][ T288] netdevsim netdevsim638 eni638np3: set [0, 1] type 1 family 0 port 4790 - 0 [ 55.503385][ T288] netdevsim netdevsim638 eni638np3: set [1, 0] type 2 family 0 port 6081 - 0 [ 55.919385][ T288] netdevsim netdevsim638 eni638np3: unset [0, 0] type 1 family 0 port 4789 - 0 [ 55.962386][ T12] netdevsim netdevsim638 eni638np3: unset [0, 1] type 1 family 0 port 4790 - 0 [ 56.022550][ T12] netdevsim netdevsim638 eni638np3: unset [1, 0] type 2 family 0 port 6081 - 0 [ 56.125385][ T12] netdevsim netdevsim638 eni638np3: set [0, 0] type 1 family 0 port 10000 - 0 [ 56.239387][ T12] netdevsim netdevsim638 eni638np3: set [0, 1] type 1 family 0 port 10001 - 0 [ 56.395412][ T288] netdevsim netdevsim638 eni638np3: set [0, 2] type 1 family 0 port 10002 - 0 [ 56.596613][ T288] netdevsim netdevsim638 eni638np3: set [0, 3] type 1 family 0 port 10003 - 0 [ 56.596634][ T288] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 56.596637][ T288] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 288, name: kworker/u16:2 [ 56.596639][ T288] preempt_count: 1, expected: 0 [ 56.596640][ T288] RCU nest depth: 0, expected: 0 [ 56.596641][ T288] locks held by kworker/u16:2/288: 8, last CPU#0: [ 56.596643][ T288] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 56.596656][ T288] #1: ffa0000001827d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 56.596660][ T288] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 56.596667][ T288] #3: ff11000009ed3310 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 56.596671][ T288] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 56.596677][ T288] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 56.596680][ T288] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 56.596684][ T288] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 56.596688][ T288] irq event stamp: 49378 [ 56.596689][ T288] hardirqs last enabled at (49377): [] __down_trylock_console_sem+0x86/0xa0 [ 56.596692][ T288] hardirqs last disabled at (49378): [] console_emit_next_record+0x3f8/0x4f0 [ 56.596693][ T288] softirqs last enabled at (49370): [] handle_softirqs+0x67c/0x900 [ 56.596697][ T288] softirqs last disabled at (49223): [] do_softirq+0xac/0xe0 [ 56.596700][ T288] Preemption disabled at: [ 56.596701][ T288] [] vprintk_emit+0x31b/0x3e0 [ 56.596707][ T288] CPU: 0 UID: 0 PID: 288 Comm: kworker/u16:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 56.596711][ T288] Tainted: [W]=WARN [ 56.596712][ T288] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 56.596714][ T288] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 56.596718][ T288] Call Trace: [ 56.596720][ T288] [ 56.596722][ T288] dump_stack_lvl+0x6f/0xa0 [ 56.596727][ T288] ? vprintk_emit+0x31b/0x3e0 [ 56.596730][ T288] __might_resched.cold+0x1fe/0x2c1 [ 56.596735][ T288] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 56.596739][ T288] ? __kmalloc_noprof+0xdb/0x760 [ 56.596744][ T288] __kmalloc_noprof+0x443/0x760 [ 56.596746][ T288] ? alloc_buf.isra.0+0x4b/0x260 [ 56.596753][ T288] ? do_raw_spin_unlock+0x59/0x250 [ 56.596755][ T288] alloc_buf.isra.0+0x4b/0x260 [ 56.596758][ T288] put_chars+0x1e1/0x2f0 [ 56.596761][ T288] ? __send_to_port+0x420/0x420 [ 56.596765][ T288] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 56.596769][ T288] ? rcu_read_lock_any_held+0x3c/0x90 [ 56.596771][ T288] ? validate_chain+0x38b/0xc20 [ 56.596776][ T288] hvc_console_print+0x292/0x780 [ 56.596778][ T288] ? mark_usage+0x61/0x170 [ 56.596781][ T288] ? __lock_acquire+0x518/0xc20 [ 56.596782][ T288] ? __lock_acquire+0x518/0xc20 [ 56.596787][ T288] ? hvc_write+0x3a0/0x3a0 [ 56.596789][ T288] ? console_emit_next_record+0x202/0x4f0 [ 56.596793][ T288] ? rcu_is_watching+0x16/0xd0 [ 56.596795][ T288] ? lock_acquire+0x13c/0x160 [ 56.596800][ T288] console_emit_next_record+0x252/0x4f0 [ 56.596804][ T288] ? devkmsg_read+0x4e0/0x4e0 [ 56.596809][ T288] ? rcu_is_watching+0x16/0xd0 [ 56.596811][ T288] ? lock_acquire+0x13c/0x160 [ 56.596815][ T288] console_flush_one_record+0x46f/0x710 [ 56.596819][ T288] ? console_emit_next_record+0x4f0/0x4f0 [ 56.596821][ T288] ? __lock_acquire+0x518/0xc20 [ 56.596827][ T288] console_unlock+0xee/0x1f0 [ 56.596829][ T288] ? console_flush_one_record+0x710/0x710 [ 56.596831][ T288] ? rcu_is_watching+0x16/0xd0 [ 56.596833][ T288] ? lock_acquire+0x60/0x160 [ 56.596837][ T288] ? __down_trylock_console_sem+0x5e/0xa0 [ 56.596839][ T288] ? vprintk_emit+0x320/0x3e0 [ 56.596843][ T288] vprintk_emit+0x37c/0x3e0 [ 56.596846][ T288] ? wake_up_klogd_work_func+0x90/0x90 [ 56.596850][ T288] ? __lock_release.isra.0+0x69/0x1a0 [ 56.596855][ T288] dev_vprintk_emit+0x27f/0x2c0 [ 56.596860][ T288] ? device_rename.cold+0xa/0xa [ 56.596862][ T288] ? debug_object_activate+0x345/0x4a0 [ 56.596870][ T288] ? __lock_release.isra.0+0x69/0x1a0 [ 56.596874][ T288] dev_printk_emit+0xb9/0xee [ 56.596877][ T288] ? dev_vprintk_emit+0x2c0/0x2c0 [ 56.596879][ T288] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 56.596889][ T288] __netdev_printk+0x160/0x1d0 [ 56.596895][ T288] netdev_info+0xe2/0x116 [ 56.596897][ T288] ? netdev_notice+0x120/0x120 [ 56.596902][ T288] ? lock_acquire.part.0+0xd4/0x280 [ 56.596904][ T288] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 56.596908][ T288] ? rcu_is_watching+0x16/0xd0 [ 56.596912][ T288] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 56.596921][ T288] ? __mutex_lock+0x9a3/0x1ea0 [ 56.596924][ T288] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 56.596927][ T288] ? __asan_memset+0x27/0x50 [ 56.596932][ T288] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 56.596937][ T288] ? rcu_tasks_need_gpcb+0x837/0x880 [ 56.596943][ T288] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 56.596950][ T288] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 56.596953][ T288] ? rcu_is_watching+0x16/0xd0 [ 56.596955][ T288] ? lock_acquire+0x13c/0x160 [ 56.596957][ T288] ? rcu_is_watching+0x16/0xd0 [ 56.596960][ T288] ? process_one_work+0xe16/0x1560 [ 56.596962][ T288] ? process_one_work+0xdfc/0x1560 [ 56.596964][ T288] process_one_work+0xe3e/0x1560 [ 56.596971][ T288] ? __queue_delayed_work+0x470/0x470 [ 56.596974][ T288] ? lock_acquire.part.0+0xd4/0x280 [ 56.596982][ T288] worker_thread+0x4f1/0xd60 [ 56.596986][ T288] ? rescuer_thread+0x1340/0x1340 [ 56.596988][ T288] ? __kthread_parkme+0xbd/0x210 [ 56.596991][ T288] ? rescuer_thread+0x1340/0x1340 [ 56.596994][ T288] ? rescuer_thread+0x1340/0x1340 [ 56.596996][ T288] kthread+0x367/0x460 [ 56.596998][ T288] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 56.597002][ T288] ? kthread_affine_preferred+0x4c0/0x4c0 [ 56.597005][ T288] ret_from_fork+0x474/0x6b0 [ 56.597010][ T288] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 56.597014][ T288] ? __switch_to+0x5a3/0xe00 [ 56.597017][ T288] ? kthread_affine_preferred+0x4c0/0x4c0 [ 56.597020][ T288] ret_from_fork_asm+0x11/0x20 [ 56.597030][ T288] [ 57.014946][ T177] netdevsim netdevsim638 eni638np3: renamed from eth0 [ 57.314278][ T12] netdevsim netdevsim638 eni638np3: unset [0, 1] type 1 family 0 port 10001 - 0 [ 57.314804][ T12] netdevsim netdevsim638 eni638np3: set [0, 1] type 1 family 0 port 10004 - 0 [ 57.537376][ T12] netdevsim netdevsim638 eni638np3: unset [0, 2] type 1 family 0 port 10002 - 0 [ 57.658562][ T166] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 10000 - 0 [ 57.658582][ T166] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 57.658585][ T166] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 166, name: udp_tunnel_nic. [ 57.658587][ T166] preempt_count: 1, expected: 0 [ 57.658588][ T166] RCU nest depth: 0, expected: 0 [ 57.658589][ T166] locks held by udp_tunnel_nic./166: 6, last CPU#3: [ 57.658591][ T166] #0: ff11000002034430 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 57.658604][ T166] #1: ff11000009ed3310 (&utn->lock){+.+.}-{4:4}, at: __udp_tunnel_nic_reset_ntf+0xa0/0x700 [udp_tunnel] [ 57.658612][ T166] #2: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 57.658618][ T166] #3: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 57.658621][ T166] #4: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 57.658625][ T166] #5: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 57.658629][ T166] irq event stamp: 5926014 [ 57.658630][ T166] hardirqs last enabled at (5926013): [] __down_trylock_console_sem+0x86/0xa0 [ 57.658632][ T166] hardirqs last disabled at (5926014): [] console_emit_next_record+0x3f8/0x4f0 [ 57.658634][ T166] softirqs last enabled at (5925878): [] handle_softirqs+0x67c/0x900 [ 57.658638][ T166] softirqs last disabled at (5925755): [] __irq_exit_rcu+0x145/0x1c0 [ 57.658641][ T166] Preemption disabled at: [ 57.658642][ T166] [] vprintk_emit+0x31b/0x3e0 [ 57.658648][ T166] CPU: 3 UID: 0 PID: 166 Comm: udp_tunnel_nic. Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 57.658652][ T166] Tainted: [W]=WARN [ 57.658653][ T166] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 57.658655][ T166] Call Trace: [ 57.658656][ T166] [ 57.658658][ T166] dump_stack_lvl+0x6f/0xa0 [ 57.658663][ T166] ? vprintk_emit+0x31b/0x3e0 [ 57.658666][ T166] __might_resched.cold+0x1fe/0x2c1 [ 57.658670][ T166] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 57.658674][ T166] ? __kmalloc_noprof+0xdb/0x760 [ 57.658678][ T166] __kmalloc_noprof+0x443/0x760 [ 57.658681][ T166] ? alloc_buf.isra.0+0x4b/0x260 [ 57.658687][ T166] ? do_raw_spin_unlock+0x59/0x250 [ 57.658690][ T166] alloc_buf.isra.0+0x4b/0x260 [ 57.658693][ T166] put_chars+0x1e1/0x2f0 [ 57.658696][ T166] ? __send_to_port+0x420/0x420 [ 57.658697][ T166] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 57.658702][ T166] ? rcu_read_lock_any_held+0x3c/0x90 [ 57.658704][ T166] ? validate_chain+0x38b/0xc20 [ 57.658709][ T166] hvc_console_print+0x292/0x780 [ 57.658712][ T166] ? __lock_acquire+0x518/0xc20 [ 57.658717][ T166] ? hvc_write+0x3a0/0x3a0 [ 57.658720][ T166] ? rcu_is_watching+0x16/0xd0 [ 57.658725][ T166] console_emit_next_record+0x252/0x4f0 [ 57.658729][ T166] ? devkmsg_read+0x4e0/0x4e0 [ 57.658733][ T166] ? rcu_is_watching+0x16/0xd0 [ 57.658735][ T166] ? lock_acquire+0x13c/0x160 [ 57.658739][ T166] console_flush_one_record+0x46f/0x710 [ 57.658743][ T166] ? console_emit_next_record+0x4f0/0x4f0 [ 57.658745][ T166] ? __lock_acquire+0x518/0xc20 [ 57.658750][ T166] console_unlock+0xee/0x1f0 [ 57.658753][ T166] ? console_flush_one_record+0x710/0x710 [ 57.658755][ T166] ? rcu_is_watching+0x16/0xd0 [ 57.658757][ T166] ? lock_acquire+0x60/0x160 [ 57.658761][ T166] ? __down_trylock_console_sem+0x5e/0xa0 [ 57.658762][ T166] ? vprintk_emit+0x320/0x3e0 [ 57.658765][ T166] vprintk_emit+0x37c/0x3e0 [ 57.658769][ T166] ? wake_up_klogd_work_func+0x90/0x90 [ 57.658771][ T166] ? lock_acquire.part.0+0xd4/0x280 [ 57.658773][ T166] ? find_held_lock+0x2b/0x80 [ 57.658779][ T166] dev_vprintk_emit+0x27f/0x2c0 [ 57.658785][ T166] ? device_rename.cold+0xa/0xa [ 57.658790][ T166] ? __lock_release.isra.0+0x69/0x1a0 [ 57.658795][ T166] dev_printk_emit+0xb9/0xee [ 57.658797][ T166] ? dev_vprintk_emit+0x2c0/0x2c0 [ 57.658800][ T166] ? unwind_get_return_address+0x67/0xd0 [ 57.658804][ T166] ? arch_stack_walk+0xed/0x130 [ 57.658812][ T166] __netdev_printk+0x160/0x1d0 [ 57.658817][ T166] netdev_info+0xe2/0x116 [ 57.658820][ T166] ? netdev_notice+0x120/0x120 [ 57.658824][ T166] ? lock_acquire.part.0+0xd4/0x280 [ 57.658826][ T166] ? __udp_tunnel_nic_reset_ntf+0xa0/0x700 [udp_tunnel] [ 57.658829][ T166] ? rcu_is_watching+0x16/0xd0 [ 57.658833][ T166] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 57.658840][ T166] ? __mutex_lock+0x9a3/0x1ea0 [ 57.658844][ T166] ? __udp_tunnel_nic_reset_ntf+0xa0/0x700 [udp_tunnel] [ 57.658846][ T166] ? __asan_memset+0x27/0x50 [ 57.658850][ T166] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 57.658854][ T166] ? rcu_tasks_need_gpcb+0x837/0x880 [ 57.658860][ T166] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 57.658863][ T166] ? validate_chain+0x38b/0xc20 [ 57.658867][ T166] __udp_tunnel_nic_reset_ntf+0x35a/0x700 [udp_tunnel] [ 57.658873][ T166] ? debugfs_file_put+0x80/0x80 [ 57.658880][ T166] nsim_udp_tunnels_info_reset_write+0x100/0x1a0 [netdevsim] [ 57.658886][ T166] full_proxy_write+0x108/0x1c0 [ 57.658890][ T166] vfs_write+0x1a4/0xbd0 [ 57.658895][ T166] ksys_write+0x116/0x250 [ 57.658898][ T166] ? __ia32_sys_read+0xc0/0xc0 [ 57.658900][ T166] ? do_raw_spin_unlock+0x59/0x250 [ 57.658903][ T166] ? rcu_is_watching+0x16/0xd0 [ 57.658907][ T166] do_syscall_64+0xff/0x530 [ 57.658909][ T166] ? exc_page_fault+0xee/0x100 [ 57.658913][ T166] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 57.658915][ T166] RIP: 0033:0x7f6a330f554e [ 57.658918][ T166] 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 [ 57.658920][ T166] RSP: 002b:00007ffcf20831a0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 57.658923][ T166] RAX: ffffffffffffffda RBX: 00007f6a33276580 RCX: 00007f6a330f554e [ 57.658925][ T166] RDX: 0000000000000002 RSI: 000055857ef98270 RDI: 0000000000000001 [ 57.658927][ T166] RBP: 00007ffcf20831b0 R08: 0000000000000000 R09: 0000000000000000 [ 57.658928][ T166] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000002 [ 57.658929][ T166] R13: 0000000000000002 R14: 000055857ef98270 R15: 0000000000000000 [ 57.658938][ T166] [ 57.688414][ T166] netdevsim netdevsim638 eni638np2: set [0, 1] type 1 family 0 port 10004 - 0 [ 57.688894][ T166] netdevsim netdevsim638 eni638np2: set [0, 3] type 1 family 0 port 10003 - 0 [ 57.810388][ T12] netdevsim netdevsim638 eni638np3: unset [0, 0] type 1 family 0 port 10000 - 0 [ 57.859381][ T12] netdevsim netdevsim638 eni638np3: unset [0, 3] type 1 family 0 port 10003 - 0 [ 57.904396][ T12] netdevsim netdevsim638 eni638np3: unset [0, 1] type 1 family 0 port 10004 - 0 [ 58.284388][ T177] netdevsim netdevsim638 eni638np2: renamed from eth0 [ 58.746381][ T12] netdevsim netdevsim638 eni638np2: set [0, 0] type 1 family 0 port 4790 - 0 [ 58.746400][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 58.746403][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 58.746405][ T12] preempt_count: 1, expected: 0 [ 58.746406][ T12] RCU nest depth: 0, expected: 0 [ 58.746407][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 58.746410][ T12] #0: ff11000008f04d40 ((wq_completion)udp_tunnel_nic){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 58.746422][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&utn->work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 58.746426][ T12] #2: ffffffffa06fe280 (rtnl_mutex){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x1a/0xa50 [udp_tunnel] [ 58.746432][ T12] #3: ff1100000cce2710 (&utn->lock){+.+.}-{4:4}, at: udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 58.746436][ T12] #4: ffffffff9ff99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 58.746441][ T12] #5: ffffffff9ff99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 58.746445][ T12] #6: ffffffff9fe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 58.746448][ T12] #7: ffffffff9fe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 58.746452][ T12] irq event stamp: 73534 [ 58.746453][ T12] hardirqs last enabled at (73533): [] __down_trylock_console_sem+0x86/0xa0 [ 58.746456][ T12] hardirqs last disabled at (73534): [] console_emit_next_record+0x3f8/0x4f0 [ 58.746458][ T12] softirqs last enabled at (73522): [] addrconf_dad_begin+0x37f/0x540 [ 58.746462][ T12] softirqs last disabled at (73514): [] addrconf_dad_begin+0x154/0x540 [ 58.746464][ T12] Preemption disabled at: [ 58.746465][ T12] [] vprintk_emit+0x31b/0x3e0 [ 58.746470][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 58.746474][ T12] Tainted: [W]=WARN [ 58.746475][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 58.746477][ T12] Workqueue: udp_tunnel_nic udp_tunnel_nic_device_sync_work [udp_tunnel] [ 58.746481][ T12] Call Trace: [ 58.746483][ T12] [ 58.746485][ T12] dump_stack_lvl+0x6f/0xa0 [ 58.746491][ T12] ? vprintk_emit+0x31b/0x3e0 [ 58.746493][ T12] __might_resched.cold+0x1fe/0x2c1 [ 58.746497][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 58.746501][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 58.746506][ T12] __kmalloc_noprof+0x443/0x760 [ 58.746508][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 58.746514][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 58.746517][ T12] alloc_buf.isra.0+0x4b/0x260 [ 58.746520][ T12] put_chars+0x1e1/0x2f0 [ 58.746523][ T12] ? __send_to_port+0x420/0x420 [ 58.746527][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 58.746531][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 58.746533][ T12] ? validate_chain+0x38b/0xc20 [ 58.746537][ T12] hvc_console_print+0x292/0x780 [ 58.746540][ T12] ? mark_usage+0x61/0x170 [ 58.746542][ T12] ? __lock_acquire+0x518/0xc20 [ 58.746543][ T12] ? __lock_acquire+0x518/0xc20 [ 58.746547][ T12] ? hvc_write+0x3a0/0x3a0 [ 58.746549][ T12] ? console_emit_next_record+0x202/0x4f0 [ 58.746553][ T12] ? rcu_is_watching+0x16/0xd0 [ 58.746555][ T12] ? lock_acquire+0x13c/0x160 [ 58.746559][ T12] console_emit_next_record+0x252/0x4f0 [ 58.746563][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 58.746568][ T12] ? rcu_is_watching+0x16/0xd0 [ 58.746570][ T12] ? lock_acquire+0x13c/0x160 [ 58.746574][ T12] console_flush_one_record+0x46f/0x710 [ 58.746578][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 58.746580][ T12] ? __lock_acquire+0x518/0xc20 [ 58.746586][ T12] console_unlock+0xee/0x1f0 [ 58.746588][ T12] ? console_flush_one_record+0x710/0x710 [ 58.746590][ T12] ? rcu_is_watching+0x16/0xd0 [ 58.746592][ T12] ? lock_acquire+0x60/0x160 [ 58.746596][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 58.746598][ T12] ? vprintk_emit+0x320/0x3e0 [ 58.746601][ T12] vprintk_emit+0x37c/0x3e0 [ 58.746605][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 58.746608][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 58.746613][ T12] dev_vprintk_emit+0x27f/0x2c0 [ 58.746618][ T12] ? device_rename.cold+0xa/0xa [ 58.746620][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 58.746629][ T12] dev_printk_emit+0xb9/0xee [ 58.746631][ T12] ? dev_vprintk_emit+0x2c0/0x2c0 [ 58.746636][ T12] ? find_held_lock+0x2b/0x80 [ 58.746640][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 58.746643][ T12] __netdev_printk+0x160/0x1d0 [ 58.746649][ T12] netdev_info+0xe2/0x116 [ 58.746652][ T12] ? netdev_notice+0x120/0x120 [ 58.746656][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 58.746658][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 58.746661][ T12] ? rcu_is_watching+0x16/0xd0 [ 58.746665][ T12] nsim_udp_tunnel_set_port.cold+0xb0/0x110 [netdevsim] [ 58.746673][ T12] ? __mutex_lock+0x9a3/0x1ea0 [ 58.746677][ T12] ? udp_tunnel_nic_device_sync_work+0x44/0xa50 [udp_tunnel] [ 58.746679][ T12] ? __asan_memset+0x27/0x50 [ 58.746683][ T12] __udp_tunnel_nic_device_sync+0x8df/0x1210 [udp_tunnel] [ 58.746687][ T12] ? rcu_tasks_need_gpcb+0x837/0x880 [ 58.746693][ T12] ? __udp_tunnel_nic_dump_write+0x9d0/0x9d0 [udp_tunnel] [ 58.746700][ T12] udp_tunnel_nic_device_sync_work+0x6e/0xa50 [udp_tunnel] [ 58.746703][ T12] ? rcu_is_watching+0x16/0xd0 [ 58.746705][ T12] ? lock_acquire+0x13c/0x160 [ 58.746707][ T12] ? rcu_is_watching+0x16/0xd0 [ 58.746710][ T12] ? process_one_work+0xe16/0x1560 [ 58.746712][ T12] ? process_one_work+0xdfc/0x1560 [ 58.746713][ T12] process_one_work+0xe3e/0x1560 [ 58.746720][ T12] ? __queue_delayed_work+0x470/0x470 [ 58.746723][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 58.746731][ T12] worker_thread+0x4f1/0xd60 [ 58.746738][ T12] ? rescuer_thread+0x1340/0x1340 [ 58.746740][ T12] kthread+0x367/0x460 [ 58.746743][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 58.746747][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 58.746750][ T12] ret_from_fork+0x474/0x6b0 [ 58.746754][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 58.746758][ T12] ? __switch_to+0x5a3/0xe00 [ 58.746761][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 58.746764][ T12] ret_from_fork_asm+0x11/0x20 [ 58.746773][ T12] [ 58.976263][ T12] netdevsim netdevsim638 eni638np2: unset [0, 0] type 1 family 0 port 4790 - 0 [ 59.091580][ T3109] netdevsim netdevsim638 eni638np2: device assumes port 4789 will be used by vxlan tunnels