[ 11.481337][ T240] eth1: renamed from tmp [ 11.481393][ T240] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.481395][ T240] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 240, name: ip [ 11.481397][ T240] preempt_count: 1, expected: 0 [ 11.481398][ T240] RCU nest depth: 0, expected: 0 [ 11.481399][ T240] locks held by ip/240: 5, last CPU#3: [ 11.481401][ T240] #0: ffffffffba51b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 11.481412][ T240] #1: ffffffffb9d7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.481417][ T240] #2: ffffffffb9d7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.481422][ T240] #3: ffffffffb9c9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.481425][ T240] #4: ffffffffb9c9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.481429][ T240] irq event stamp: 22038 [ 11.481430][ T240] hardirqs last enabled at (22037): [] __down_trylock_console_sem+0x86/0xa0 [ 11.481433][ T240] hardirqs last disabled at (22038): [] console_emit_next_record+0x3d4/0x4c0 [ 11.481435][ T240] softirqs last enabled at (22032): [] netif_change_name+0x216/0x8c0 [ 11.481438][ T240] softirqs last disabled at (22030): [] netif_change_name+0x1ad/0x8c0 [ 11.481441][ T240] Preemption disabled at: [ 11.481442][ T240] [] vprintk_emit+0x31b/0x3e0 [ 11.481446][ T240] CPU: 3 UID: 0 PID: 240 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.481449][ T240] Tainted: [W]=WARN [ 11.481450][ T240] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.481452][ T240] Call Trace: [ 11.481453][ T240] [ 11.481455][ T240] dump_stack_lvl+0x6f/0xa0 [ 11.481460][ T240] ? vprintk_emit+0x31b/0x3e0 [ 11.481462][ T240] __might_resched.cold+0x1fe/0x2c1 [ 11.481466][ T240] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.481471][ T240] ? __kmalloc_noprof+0xdb/0x760 [ 11.481475][ T240] __kmalloc_noprof+0x443/0x760 [ 11.481477][ T240] ? alloc_buf.isra.0+0x4b/0x260 [ 11.481483][ T240] ? do_raw_spin_unlock+0x59/0x250 [ 11.481486][ T240] alloc_buf.isra.0+0x4b/0x260 [ 11.481490][ T240] put_chars+0x1e1/0x2f0 [ 11.481492][ T240] ? __send_to_port+0x420/0x420 [ 11.481498][ T240] hvc_console_print+0x292/0x780 [ 11.481505][ T240] ? hvc_write+0x3a0/0x3a0 [ 11.481508][ T240] ? lock_acquire+0x13c/0x160 [ 11.481513][ T240] console_emit_next_record+0x22f/0x4c0 [ 11.481516][ T240] ? devkmsg_read+0x4b0/0x4b0 [ 11.481518][ T240] ? console_flush_one_record+0x106/0x710 [ 11.481521][ T240] ? rcu_is_watching+0x16/0xd0 [ 11.481524][ T240] ? lock_acquire+0x13c/0x160 [ 11.481528][ T240] console_flush_one_record+0x46f/0x710 [ 11.481532][ T240] ? console_emit_next_record+0x4c0/0x4c0 [ 11.481534][ T240] ? __lock_acquire+0x518/0xc20 [ 11.481539][ T240] console_unlock+0xee/0x1f0 [ 11.481541][ T240] ? console_flush_one_record+0x710/0x710 [ 11.481543][ T240] ? rcu_is_watching+0x16/0xd0 [ 11.481545][ T240] ? lock_acquire+0xe0/0x160 [ 11.481548][ T240] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.481550][ T240] ? vprintk_emit+0x320/0x3e0 [ 11.481553][ T240] vprintk_emit+0x37c/0x3e0 [ 11.481555][ T240] ? wake_up_klogd_work_func+0x90/0x90 [ 11.481558][ T240] ? save_trace+0x68/0x280 [ 11.481562][ T240] _printk+0xc7/0x100 [ 11.481565][ T240] ? snapshot_read.cold+0x21/0x21 [ 11.481572][ T240] ? validate_chain+0x34a/0xc20 [ 11.481574][ T240] ? netdev_name+0x43/0x60 [ 11.481577][ T240] ? __netdev_printk+0x17f/0x1d0 [ 11.481580][ T240] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.481582][ T240] netdev_info+0xe2/0x116 [ 11.481585][ T240] ? netdev_notice+0x120/0x120 [ 11.481588][ T240] ? find_held_lock+0x2b/0x80 [ 11.481590][ T240] ? __lock_release.isra.0+0x69/0x1a0 [ 11.481593][ T240] ? mark_held_locks+0x40/0x70 [ 11.481596][ T240] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 11.481598][ T240] netif_change_name.cold+0x4f/0x89 [ 11.481600][ T240] ? register_netdev+0x40/0x40 [ 11.481601][ T240] ? is_bpf_text_address+0x68/0x110 [ 11.481607][ T240] ? netdev_adjacent_rename_links+0x470/0x470 [ 11.481609][ T240] ? __kernel_text_address+0x12/0x30 [ 11.481611][ T240] ? write_profile+0xf0/0xf0 [ 11.481615][ T240] ? __asan_memset+0x27/0x50 [ 11.481621][ T240] do_setlink.isra.0+0x1f7d/0x2a60 [ 11.481624][ T240] ? stack_trace_save+0x93/0xc0 [ 11.481626][ T240] ? rtnl_link_get_size+0x350/0x350 [ 11.481627][ T240] ? rcu_read_lock_any_held+0x66/0x90 [ 11.481630][ T240] ? stack_depot_save_flags+0x38e/0x790 [ 11.481633][ T240] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.481635][ T240] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.481637][ T240] ? validate_chain+0x38b/0xc20 [ 11.481639][ T240] ? kasan_save_stack+0x3d/0x50 [ 11.481641][ T240] ? kasan_save_stack+0x2f/0x50 [ 11.481642][ T240] ? kasan_save_track+0x14/0x30 [ 11.481644][ T240] ? __kasan_kmalloc+0x7b/0x90 [ 11.481646][ T240] ? __lock_acquire+0x518/0xc20 [ 11.481648][ T240] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 11.481651][ T240] ? ___sys_sendmsg+0xd0/0x1d0 [ 11.481654][ T240] ? lock_acquire.part.0+0xd4/0x280 [ 11.481656][ T240] ? rtnl_newlink+0x9a8/0x11b0 [ 11.481659][ T240] ? rcu_is_watching+0x16/0xd0 [ 11.481661][ T240] ? lock_acquire+0x13c/0x160 [ 11.481662][ T240] ? rcu_is_watching+0x16/0xd0 [ 11.481663][ T240] ? rcu_is_watching+0x16/0xd0 [ 11.481665][ T240] ? trace_contention_end+0xb3/0x180 [ 11.481667][ T240] ? __mutex_lock+0x1db/0x1ea0 [ 11.481670][ T240] ? __mutex_lock+0x9a3/0x1ea0 [ 11.481671][ T240] ? rtnl_newlink+0x9a8/0x11b0 [ 11.481675][ T240] ? ww_mutex_lock+0x160/0x160 [ 11.481676][ T240] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.481681][ T240] ? rcu_is_watching+0x16/0xd0 [ 11.481683][ T240] ? __rtnl_newlink+0x3fa/0xa50 [ 11.481688][ T240] rtnl_newlink+0x9f1/0x11b0 [ 11.481693][ T240] ? rtnl_bridge_getlink+0x850/0x850 [ 11.481695][ T240] ? __lock_acquire+0x518/0xc20 [ 11.481699][ T240] ? lock_acquire.part.0+0xd4/0x280 [ 11.481701][ T240] ? find_held_lock+0x2b/0x80 [ 11.481703][ T240] ? rtnl_bridge_getlink+0x850/0x850 [ 11.481704][ T240] ? __lock_release.isra.0+0x69/0x1a0 [ 11.481708][ T240] ? rtnl_bridge_getlink+0x850/0x850 [ 11.481710][ T240] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.481713][ T240] ? rtnl_link_fill+0x920/0x920 [ 11.481714][ T240] ? __lock_acquire+0x518/0xc20 [ 11.481719][ T240] ? lock_acquire.part.0+0xd4/0x280 [ 11.481720][ T240] ? find_held_lock+0x2b/0x80 [ 11.481724][ T240] netlink_rcv_skb+0x14e/0x3a0 [ 11.481727][ T240] ? rtnl_link_fill+0x920/0x920 [ 11.481729][ T240] ? netlink_ack+0xcf0/0xcf0 [ 11.481736][ T240] ? netlink_deliver_tap+0xc5/0x330 [ 11.481738][ T240] ? netlink_deliver_tap+0x13c/0x330 [ 11.481742][ T240] netlink_unicast+0x486/0x750 [ 11.481746][ T240] ? netlink_attachskb+0x810/0x810 [ 11.481748][ T240] ? find_held_lock+0x2b/0x80 [ 11.481752][ T240] netlink_sendmsg+0x75b/0xc90 [ 11.481756][ T240] ? netlink_unicast+0x750/0x750 [ 11.481760][ T240] ? __lock_release.isra.0+0x69/0x1a0 [ 11.481762][ T240] ? __import_iovec+0x36c/0x620 [ 11.481767][ T240] __sock_sendmsg+0xce/0x190 [ 11.481769][ T240] ____sys_sendmsg+0x61a/0x860 [ 11.481772][ T240] ? copy_msghdr_from_user+0x279/0x420 [ 11.481774][ T240] ? sock_write_iter+0x400/0x400 [ 11.481775][ T240] ? move_addr_to_kernel+0x40/0x40 [ 11.481782][ T240] ___sys_sendmsg+0x14e/0x1d0 [ 11.481785][ T240] ? copy_msghdr_from_user+0x420/0x420 [ 11.481800][ T240] __sys_sendmsg+0x12c/0x1d0 [ 11.481803][ T240] ? __sys_sendmsg_sock+0x20/0x20 [ 11.481809][ T240] ? rcu_is_watching+0x16/0xd0 [ 11.481812][ T240] do_syscall_64+0xff/0x530 [ 11.481814][ T240] ? exc_page_fault+0xee/0x100 [ 11.481817][ T240] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.481819][ T240] RIP: 0033:0x7f3255fb454e [ 11.481823][ T240] 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 [ 11.481825][ T240] RSP: 002b:00007ffd8844ddd0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.481827][ T240] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f3255fb454e [ 11.481828][ T240] RDX: 0000000000000000 RSI: 00007ffd8844de80 RDI: 0000000000000005 [ 11.481829][ T240] RBP: 00007ffd8844dde0 R08: 0000000000000000 R09: 0000000000000000 [ 11.481830][ T240] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a911ebc [ 11.481831][ T240] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffd8844e550 [ 11.481837][ T240] [ 11.520692][ T240] ip (240) used greatest stack depth: 23208 bytes left [ 11.797023][ T248] eth2: renamed from tmp [ 12.131592][ T259] l2tp_core: L2TP core driver, V2.0 [ 12.145290][ T259] l2tp_netlink: L2TP netlink interface [ 12.185850][ T260] l2tp_ip: L2TP IP encapsulation support (L2TPv3) [ 12.268428][ T265] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3) [ 12.594879][ T276] l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3) [ 12.594896][ T276] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.594898][ T276] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 276, name: modprobe [ 12.594900][ T276] preempt_count: 1, expected: 0 [ 12.594901][ T276] RCU nest depth: 0, expected: 0 [ 12.594902][ T276] locks held by modprobe/276: 4, last CPU#2: [ 12.594904][ T276] #0: ffffffffb9d7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.594915][ T276] #1: ffffffffb9d7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.594920][ T276] #2: ffffffffb9c9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.594924][ T276] #3: ffffffffb9c9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.594928][ T276] irq event stamp: 26266 [ 12.594929][ T276] hardirqs last enabled at (26265): [] __down_trylock_console_sem+0x86/0xa0 [ 12.594932][ T276] hardirqs last disabled at (26266): [] console_emit_next_record+0x3d4/0x4c0 [ 12.594934][ T276] softirqs last enabled at (24860): [] handle_softirqs+0x67c/0x900 [ 12.594937][ T276] softirqs last disabled at (24347): [] __irq_exit_rcu+0x145/0x1c0 [ 12.594940][ T276] Preemption disabled at: [ 12.594940][ T276] [] vprintk_emit+0x31b/0x3e0 [ 12.594945][ T276] CPU: 2 UID: 0 PID: 276 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.594949][ T276] Tainted: [W]=WARN [ 12.594949][ T276] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.594951][ T276] Call Trace: [ 12.594952][ T276] [ 12.594954][ T276] dump_stack_lvl+0x6f/0xa0 [ 12.594959][ T276] ? vprintk_emit+0x31b/0x3e0 [ 12.594961][ T276] __might_resched.cold+0x1fe/0x2c1 [ 12.594965][ T276] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.594969][ T276] ? __kmalloc_noprof+0xdb/0x760 [ 12.594973][ T276] __kmalloc_noprof+0x443/0x760 [ 12.594975][ T276] ? alloc_buf.isra.0+0x4b/0x260 [ 12.594981][ T276] ? do_raw_spin_unlock+0x59/0x250 [ 12.594984][ T276] alloc_buf.isra.0+0x4b/0x260 [ 12.594988][ T276] put_chars+0x1e1/0x2f0 [ 12.594990][ T276] ? __send_to_port+0x420/0x420 [ 12.594991][ T276] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.594995][ T276] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.594998][ T276] ? validate_chain+0x38b/0xc20 [ 12.595002][ T276] hvc_console_print+0x292/0x780 [ 12.595006][ T276] ? __lock_acquire+0x518/0xc20 [ 12.595011][ T276] ? hvc_write+0x3a0/0x3a0 [ 12.595014][ T276] ? rcu_is_watching+0x16/0xd0 [ 12.595018][ T276] console_emit_next_record+0x22f/0x4c0 [ 12.595022][ T276] ? devkmsg_read+0x4b0/0x4b0 [ 12.595024][ T276] ? console_flush_one_record+0x106/0x710 [ 12.595027][ T276] ? rcu_is_watching+0x16/0xd0 [ 12.595029][ T276] ? lock_acquire+0x13c/0x160 [ 12.595033][ T276] console_flush_one_record+0x46f/0x710 [ 12.595037][ T276] ? console_emit_next_record+0x4c0/0x4c0 [ 12.595039][ T276] ? __lock_acquire+0x518/0xc20 [ 12.595044][ T276] console_unlock+0xee/0x1f0 [ 12.595046][ T276] ? console_flush_one_record+0x710/0x710 [ 12.595048][ T276] ? rcu_is_watching+0x16/0xd0 [ 12.595050][ T276] ? lock_acquire+0xe0/0x160 [ 12.595054][ T276] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.595055][ T276] ? vprintk_emit+0x320/0x3e0 [ 12.595058][ T276] vprintk_emit+0x37c/0x3e0 [ 12.595062][ T276] ? wake_up_klogd_work_func+0x90/0x90 [ 12.595066][ T276] ? l2tp_ip6_exit+0xe10/0xe10 [l2tp_ip6] [ 12.595069][ T276] _printk+0xc7/0x100 [ 12.595073][ T276] ? snapshot_read.cold+0x21/0x21 [ 12.595079][ T276] ? do_one_initcall+0x113/0x4f0 [ 12.595082][ T276] l2tp_ip6_init+0x16/0x1000 [l2tp_ip6] [ 12.595084][ T276] do_one_initcall+0x124/0x4f0 [ 12.595087][ T276] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.595092][ T276] ? do_init_module+0xae/0x8a0 [ 12.595094][ T276] ? kasan_unpoison+0x44/0x70 [ 12.595100][ T276] do_init_module+0x2ad/0x8a0 [ 12.595102][ T276] ? lockdep_hardirqs_on+0x91/0x130 [ 12.595106][ T276] ? free_module+0x470/0x470 [ 12.595109][ T276] ? kfree+0x123/0x590 [ 12.595112][ T276] load_module+0x1424/0x1bb0 [ 12.595117][ T276] ? security_kernel_post_read_file+0x2f/0x60 [ 12.595122][ T276] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.595125][ T276] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.595128][ T276] ? find_held_lock+0x2b/0x80 [ 12.595131][ T276] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.595134][ T276] init_module_from_file+0x11f/0x1a0 [ 12.595136][ T276] ? __do_sys_init_module+0x270/0x270 [ 12.595144][ T276] ? __rwlock_init+0x150/0x150 [ 12.595147][ T276] ? do_raw_spin_unlock+0x59/0x250 [ 12.595150][ T276] idempotent_init_module+0x37b/0x7c0 [ 12.595153][ T276] ? init_module_from_file+0x1a0/0x1a0 [ 12.595158][ T276] ? cap_capable+0x1d7/0x3d0 [ 12.595160][ T276] ? exc_page_fault+0x87/0x100 [ 12.595164][ T276] __x64_sys_finit_module+0xdf/0x190 [ 12.595166][ T276] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.595170][ T276] do_syscall_64+0xff/0x530 [ 12.595173][ T276] ? exc_page_fault+0xee/0x100 [ 12.595175][ T276] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.595177][ T276] RIP: 0033:0x7f6af9c7837d [ 12.595181][ T276] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 12.595182][ T276] RSP: 002b:00007ffd662d8be8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.595185][ T276] RAX: ffffffffffffffda RBX: 00005607e3661810 RCX: 00007f6af9c7837d [ 12.595186][ T276] RDX: 0000000000000000 RSI: 00005607a7e8bffd RDI: 0000000000000000 [ 12.595187][ T276] RBP: 00007ffd662d8c80 R08: 0000000000000000 R09: 0000000000000000 [ 12.595188][ T276] R10: 0000000000000000 R11: 0000000000000246 R12: 00005607a7e8bffd [ 12.595189][ T276] R13: 00005607e36619d0 R14: 0000000000040000 R15: 0000000000000000 [ 12.595200][ T276] [ 13.214182][ T296] Initializing XFRM netlink socket