[ 10.839697][ T240] eth1: renamed from tmp [ 10.839750][ T240] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.839752][ T240] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 240, name: ip [ 10.839754][ T240] preempt_count: 1, expected: 0 [ 10.839754][ T240] RCU nest depth: 0, expected: 0 [ 10.839755][ T240] locks held by ip/240: 5, last CPU#3: [ 10.839758][ T240] #0: ffffffffb4d1b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 10.839769][ T240] #1: ffffffffb457ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.839774][ T240] #2: ffffffffb457de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.839778][ T240] #3: ffffffffb449d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.839781][ T240] #4: ffffffffb449d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.839785][ T240] irq event stamp: 25418 [ 10.839786][ T240] hardirqs last enabled at (25417): [] __down_trylock_console_sem+0x86/0xa0 [ 10.839789][ T240] hardirqs last disabled at (25418): [] console_emit_next_record+0x3d4/0x4c0 [ 10.839791][ T240] softirqs last enabled at (25412): [] netif_change_name+0x216/0x8c0 [ 10.839795][ T240] softirqs last disabled at (25410): [] netif_change_name+0x1ad/0x8c0 [ 10.839797][ T240] Preemption disabled at: [ 10.839798][ T240] [] vprintk_emit+0x31b/0x3e0 [ 10.839803][ T240] CPU: 3 UID: 0 PID: 240 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.839806][ T240] Tainted: [W]=WARN [ 10.839807][ T240] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.839808][ T240] Call Trace: [ 10.839810][ T240] [ 10.839811][ T240] dump_stack_lvl+0x6f/0xa0 [ 10.839817][ T240] ? vprintk_emit+0x31b/0x3e0 [ 10.839819][ T240] __might_resched.cold+0x1fe/0x2c1 [ 10.839823][ T240] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.839828][ T240] ? __kmalloc_noprof+0xdb/0x760 [ 10.839832][ T240] __kmalloc_noprof+0x443/0x760 [ 10.839833][ T240] ? alloc_buf.isra.0+0x4b/0x260 [ 10.839840][ T240] ? do_raw_spin_unlock+0x59/0x250 [ 10.839843][ T240] alloc_buf.isra.0+0x4b/0x260 [ 10.839846][ T240] put_chars+0x1e1/0x2f0 [ 10.839849][ T240] ? __send_to_port+0x420/0x420 [ 10.839855][ T240] hvc_console_print+0x292/0x780 [ 10.839862][ T240] ? hvc_write+0x3a0/0x3a0 [ 10.839865][ T240] ? lock_acquire+0x13c/0x160 [ 10.839869][ T240] console_emit_next_record+0x22f/0x4c0 [ 10.839873][ T240] ? devkmsg_read+0x4b0/0x4b0 [ 10.839875][ T240] ? console_flush_one_record+0x106/0x710 [ 10.839878][ T240] ? rcu_is_watching+0x16/0xd0 [ 10.839880][ T240] ? lock_acquire+0x13c/0x160 [ 10.839884][ T240] console_flush_one_record+0x46f/0x710 [ 10.839888][ T240] ? console_emit_next_record+0x4c0/0x4c0 [ 10.839890][ T240] ? __lock_acquire+0x518/0xc20 [ 10.839895][ T240] console_unlock+0xee/0x1f0 [ 10.839898][ T240] ? console_flush_one_record+0x710/0x710 [ 10.839900][ T240] ? rcu_is_watching+0x16/0xd0 [ 10.839901][ T240] ? lock_acquire+0xe0/0x160 [ 10.839905][ T240] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.839906][ T240] ? vprintk_emit+0x320/0x3e0 [ 10.839909][ T240] vprintk_emit+0x37c/0x3e0 [ 10.839912][ T240] ? wake_up_klogd_work_func+0x90/0x90 [ 10.839914][ T240] ? save_trace+0x68/0x280 [ 10.839918][ T240] _printk+0xc7/0x100 [ 10.839921][ T240] ? snapshot_read.cold+0x21/0x21 [ 10.839925][ T240] ? validate_chain+0x34a/0xc20 [ 10.839927][ T240] ? netdev_name+0x43/0x60 [ 10.839931][ T240] ? __netdev_printk+0x17f/0x1d0 [ 10.839933][ T240] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.839935][ T240] netdev_info+0xe2/0x116 [ 10.839938][ T240] ? netdev_notice+0x120/0x120 [ 10.839941][ T240] ? find_held_lock+0x2b/0x80 [ 10.839943][ T240] ? __lock_release.isra.0+0x69/0x1a0 [ 10.839946][ T240] ? mark_held_locks+0x40/0x70 [ 10.839949][ T240] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.839951][ T240] netif_change_name.cold+0x4f/0x89 [ 10.839953][ T240] ? register_netdev+0x40/0x40 [ 10.839954][ T240] ? is_bpf_text_address+0x68/0x110 [ 10.839959][ T240] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.839962][ T240] ? __kernel_text_address+0x12/0x30 [ 10.839964][ T240] ? write_profile+0xf0/0xf0 [ 10.839968][ T240] ? __asan_memset+0x27/0x50 [ 10.839973][ T240] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.839977][ T240] ? stack_trace_save+0x93/0xc0 [ 10.839979][ T240] ? rtnl_link_get_size+0x350/0x350 [ 10.839980][ T240] ? rcu_read_lock_any_held+0x66/0x90 [ 10.839982][ T240] ? stack_depot_save_flags+0x38e/0x790 [ 10.839986][ T240] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.839988][ T240] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.839989][ T240] ? validate_chain+0x38b/0xc20 [ 10.839992][ T240] ? kasan_save_stack+0x3d/0x50 [ 10.839993][ T240] ? kasan_save_stack+0x2f/0x50 [ 10.839995][ T240] ? kasan_save_track+0x14/0x30 [ 10.839996][ T240] ? __kasan_kmalloc+0x7b/0x90 [ 10.839998][ T240] ? __lock_acquire+0x518/0xc20 [ 10.840000][ T240] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 10.840003][ T240] ? ___sys_sendmsg+0xd0/0x1d0 [ 10.840007][ T240] ? lock_acquire.part.0+0xd4/0x280 [ 10.840008][ T240] ? rtnl_newlink+0x9a8/0x11b0 [ 10.840011][ T240] ? rcu_is_watching+0x16/0xd0 [ 10.840013][ T240] ? lock_acquire+0x13c/0x160 [ 10.840014][ T240] ? rcu_is_watching+0x16/0xd0 [ 10.840015][ T240] ? rcu_is_watching+0x16/0xd0 [ 10.840017][ T240] ? trace_contention_end+0xb3/0x180 [ 10.840019][ T240] ? __mutex_lock+0x1db/0x1ea0 [ 10.840022][ T240] ? __mutex_lock+0x9a3/0x1ea0 [ 10.840024][ T240] ? rtnl_newlink+0x9a8/0x11b0 [ 10.840027][ T240] ? ww_mutex_lock+0x160/0x160 [ 10.840028][ T240] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.840032][ T240] ? rcu_is_watching+0x16/0xd0 [ 10.840035][ T240] ? __rtnl_newlink+0x3fa/0xa50 [ 10.840040][ T240] rtnl_newlink+0x9f1/0x11b0 [ 10.840045][ T240] ? rtnl_bridge_getlink+0x850/0x850 [ 10.840046][ T240] ? __lock_acquire+0x518/0xc20 [ 10.840051][ T240] ? lock_acquire.part.0+0xd4/0x280 [ 10.840053][ T240] ? find_held_lock+0x2b/0x80 [ 10.840054][ T240] ? rtnl_bridge_getlink+0x850/0x850 [ 10.840056][ T240] ? __lock_release.isra.0+0x69/0x1a0 [ 10.840063][ T240] ? rtnl_bridge_getlink+0x850/0x850 [ 10.840065][ T240] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.840068][ T240] ? rtnl_link_fill+0x920/0x920 [ 10.840069][ T240] ? __lock_acquire+0x518/0xc20 [ 10.840074][ T240] ? lock_acquire.part.0+0xd4/0x280 [ 10.840076][ T240] ? find_held_lock+0x2b/0x80 [ 10.840079][ T240] netlink_rcv_skb+0x14e/0x3a0 [ 10.840082][ T240] ? rtnl_link_fill+0x920/0x920 [ 10.840085][ T240] ? netlink_ack+0xcf0/0xcf0 [ 10.840091][ T240] ? netlink_deliver_tap+0xc5/0x330 [ 10.840093][ T240] ? netlink_deliver_tap+0x13c/0x330 [ 10.840097][ T240] netlink_unicast+0x486/0x750 [ 10.840101][ T240] ? netlink_attachskb+0x810/0x810 [ 10.840103][ T240] ? find_held_lock+0x2b/0x80 [ 10.840107][ T240] netlink_sendmsg+0x75b/0xc90 [ 10.840111][ T240] ? netlink_unicast+0x750/0x750 [ 10.840115][ T240] ? __lock_release.isra.0+0x69/0x1a0 [ 10.840117][ T240] ? __import_iovec+0x36c/0x620 [ 10.840122][ T240] __sock_sendmsg+0xce/0x190 [ 10.840124][ T240] ____sys_sendmsg+0x61a/0x860 [ 10.840126][ T240] ? copy_msghdr_from_user+0x279/0x420 [ 10.840129][ T240] ? sock_write_iter+0x400/0x400 [ 10.840130][ T240] ? move_addr_to_kernel+0x40/0x40 [ 10.840137][ T240] ___sys_sendmsg+0x14e/0x1d0 [ 10.840140][ T240] ? copy_msghdr_from_user+0x420/0x420 [ 10.840155][ T240] __sys_sendmsg+0x12c/0x1d0 [ 10.840158][ T240] ? __sys_sendmsg_sock+0x20/0x20 [ 10.840164][ T240] ? rcu_is_watching+0x16/0xd0 [ 10.840167][ T240] do_syscall_64+0xff/0x530 [ 10.840170][ T240] ? exc_page_fault+0xee/0x100 [ 10.840173][ T240] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.840175][ T240] RIP: 0033:0x7f27d18db54e [ 10.840179][ 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 [ 10.840180][ T240] RSP: 002b:00007fffc4c0d250 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.840183][ T240] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f27d18db54e [ 10.840184][ T240] RDX: 0000000000000000 RSI: 00007fffc4c0d300 RDI: 0000000000000005 [ 10.840185][ T240] RBP: 00007fffc4c0d260 R08: 0000000000000000 R09: 0000000000000000 [ 10.840186][ T240] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a9173a5 [ 10.840187][ T240] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fffc4c0d9d0 [ 10.840193][ T240] [ 10.878962][ T240] ip (240) used greatest stack depth: 23208 bytes left [ 11.138762][ T248] eth2: renamed from tmp [ 11.476778][ T259] l2tp_core: L2TP core driver, V2.0 [ 11.483880][ T259] l2tp_netlink: L2TP netlink interface [ 11.525655][ T261] l2tp_ip: L2TP IP encapsulation support (L2TPv3) [ 11.600761][ T263] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3) [ 11.921620][ T276] l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3) [ 11.921633][ T276] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.921635][ T276] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 276, name: modprobe [ 11.921636][ T276] preempt_count: 1, expected: 0 [ 11.921637][ T276] RCU nest depth: 0, expected: 0 [ 11.921638][ T276] locks held by modprobe/276: 4, last CPU#3: [ 11.921640][ T276] #0: ffffffffb457ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.921651][ T276] #1: ffffffffb457de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.921656][ T276] #2: ffffffffb449d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.921660][ T276] #3: ffffffffb449d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.921664][ T276] irq event stamp: 18698 [ 11.921664][ T276] hardirqs last enabled at (18697): [] __down_trylock_console_sem+0x86/0xa0 [ 11.921668][ T276] hardirqs last disabled at (18698): [] console_emit_next_record+0x3d4/0x4c0 [ 11.921670][ T276] softirqs last enabled at (17554): [] handle_softirqs+0x67c/0x900 [ 11.921673][ T276] softirqs last disabled at (17549): [] __irq_exit_rcu+0x145/0x1c0 [ 11.921675][ T276] Preemption disabled at: [ 11.921676][ T276] [] vprintk_emit+0x31b/0x3e0 [ 11.921681][ T276] CPU: 3 UID: 0 PID: 276 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.921684][ T276] Tainted: [W]=WARN [ 11.921685][ T276] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.921686][ T276] Call Trace: [ 11.921688][ T276] [ 11.921689][ T276] dump_stack_lvl+0x6f/0xa0 [ 11.921695][ T276] ? vprintk_emit+0x31b/0x3e0 [ 11.921696][ T276] __might_resched.cold+0x1fe/0x2c1 [ 11.921701][ T276] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.921705][ T276] ? __kmalloc_noprof+0xdb/0x760 [ 11.921709][ T276] __kmalloc_noprof+0x443/0x760 [ 11.921710][ T276] ? alloc_buf.isra.0+0x4b/0x260 [ 11.921717][ T276] ? do_raw_spin_unlock+0x59/0x250 [ 11.921720][ T276] alloc_buf.isra.0+0x4b/0x260 [ 11.921723][ T276] put_chars+0x1e1/0x2f0 [ 11.921725][ T276] ? __send_to_port+0x420/0x420 [ 11.921727][ T276] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.921730][ T276] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.921733][ T276] ? validate_chain+0x38b/0xc20 [ 11.921738][ T276] hvc_console_print+0x292/0x780 [ 11.921742][ T276] ? __lock_acquire+0x518/0xc20 [ 11.921746][ T276] ? hvc_write+0x3a0/0x3a0 [ 11.921749][ T276] ? rcu_is_watching+0x16/0xd0 [ 11.921754][ T276] console_emit_next_record+0x22f/0x4c0 [ 11.921758][ T276] ? devkmsg_read+0x4b0/0x4b0 [ 11.921759][ T276] ? console_flush_one_record+0x106/0x710 [ 11.921763][ T276] ? rcu_is_watching+0x16/0xd0 [ 11.921764][ T276] ? lock_acquire+0x13c/0x160 [ 11.921768][ T276] console_flush_one_record+0x46f/0x710 [ 11.921772][ T276] ? console_emit_next_record+0x4c0/0x4c0 [ 11.921774][ T276] ? __lock_acquire+0x518/0xc20 [ 11.921779][ T276] console_unlock+0xee/0x1f0 [ 11.921781][ T276] ? console_flush_one_record+0x710/0x710 [ 11.921783][ T276] ? rcu_is_watching+0x16/0xd0 [ 11.921785][ T276] ? lock_acquire+0xe0/0x160 [ 11.921788][ T276] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.921790][ T276] ? vprintk_emit+0x320/0x3e0 [ 11.921793][ T276] vprintk_emit+0x37c/0x3e0 [ 11.921796][ T276] ? wake_up_klogd_work_func+0x90/0x90 [ 11.921801][ T276] ? l2tp_exit+0xa80/0xa80 [l2tp_core] [ 11.921805][ T276] _printk+0xc7/0x100 [ 11.921809][ T276] ? snapshot_read.cold+0x21/0x21 [ 11.921815][ T276] ? do_one_initcall+0x113/0x4f0 [ 11.921818][ T276] l2tp_ip6_init+0x16/0x1000 [l2tp_ip6] [ 11.921821][ T276] do_one_initcall+0x124/0x4f0 [ 11.921823][ T276] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 11.921828][ T276] ? do_init_module+0xae/0x8a0 [ 11.921830][ T276] ? kasan_unpoison+0x44/0x70 [ 11.921836][ T276] do_init_module+0x2ad/0x8a0 [ 11.921839][ T276] ? lockdep_hardirqs_on+0x91/0x130 [ 11.921843][ T276] ? free_module+0x470/0x470 [ 11.921845][ T276] ? kfree+0x123/0x590 [ 11.921848][ T276] load_module+0x1424/0x1bb0 [ 11.921853][ T276] ? security_kernel_post_read_file+0x2f/0x60 [ 11.921858][ T276] ? layout_and_allocate.isra.0+0x680/0x680 [ 11.921861][ T276] ? __ia32_sys_fsconfig+0x180/0x180 [ 11.921865][ T276] ? backing_file_read_iter+0x541/0x790 [ 11.921869][ T276] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.921872][ T276] init_module_from_file+0x11f/0x1a0 [ 11.921874][ T276] ? __do_sys_init_module+0x270/0x270 [ 11.921881][ T276] ? __rwlock_init+0x150/0x150 [ 11.921885][ T276] ? do_raw_spin_unlock+0x59/0x250 [ 11.921888][ T276] idempotent_init_module+0x37b/0x7c0 [ 11.921891][ T276] ? init_module_from_file+0x1a0/0x1a0 [ 11.921896][ T276] ? cap_capable+0x1d7/0x3d0 [ 11.921898][ T276] ? __x64_sys_pread64+0x18d/0x250 [ 11.921903][ T276] __x64_sys_finit_module+0xdf/0x190 [ 11.921905][ T276] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.921908][ T276] do_syscall_64+0xff/0x530 [ 11.921911][ T276] ? exc_page_fault+0xee/0x100 [ 11.921913][ T276] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.921916][ T276] RIP: 0033:0x7f629ccce37d [ 11.921918][ 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 [ 11.921920][ T276] RSP: 002b:00007ffd61412378 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 11.921923][ T276] RAX: ffffffffffffffda RBX: 0000564515038810 RCX: 00007f629ccce37d [ 11.921924][ T276] RDX: 0000000000000000 RSI: 00005644f5c4fffd RDI: 0000000000000000 [ 11.921925][ T276] RBP: 00007ffd61412410 R08: 0000000000000000 R09: 0000000000000000 [ 11.921926][ T276] R10: 0000000000000000 R11: 0000000000000246 R12: 00005644f5c4fffd [ 11.921926][ T276] R13: 00005645150389d0 R14: 0000000000040000 R15: 0000000000000000 [ 11.921933][ T276] [ 12.527589][ T296] Initializing XFRM netlink socket