[ 10.175515][ T224] eth0: renamed from tmp [ 10.175568][ T224] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.175570][ T224] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 224, name: ip [ 10.175571][ T224] preempt_count: 1, expected: 0 [ 10.175572][ T224] RCU nest depth: 0, expected: 0 [ 10.175573][ T224] locks held by ip/224: 5, last CPU#3: [ 10.175575][ T224] #0: ffffffffa7d1b740 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 10.175586][ T224] #1: ffffffffa757ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.175591][ T224] #2: ffffffffa757de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.175595][ T224] #3: ffffffffa749d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.175599][ T224] #4: ffffffffa749d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.175602][ T224] irq event stamp: 34416 [ 10.175603][ T224] hardirqs last enabled at (34415): [] __down_trylock_console_sem+0x86/0xa0 [ 10.175606][ T224] hardirqs last disabled at (34416): [] console_emit_next_record+0x3d4/0x4c0 [ 10.175608][ T224] softirqs last enabled at (34410): [] netif_change_name+0x216/0x8c0 [ 10.175612][ T224] softirqs last disabled at (34408): [] netif_change_name+0x1ad/0x8c0 [ 10.175615][ T224] Preemption disabled at: [ 10.175615][ T224] [] vprintk_emit+0x31b/0x3e0 [ 10.175620][ T224] CPU: 3 UID: 0 PID: 224 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.175623][ T224] Tainted: [W]=WARN [ 10.175624][ T224] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.175626][ T224] Call Trace: [ 10.175627][ T224] [ 10.175629][ T224] dump_stack_lvl+0x6f/0xa0 [ 10.175635][ T224] ? vprintk_emit+0x31b/0x3e0 [ 10.175636][ T224] __might_resched.cold+0x1fe/0x2c1 [ 10.175640][ T224] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.175644][ T224] ? __kmalloc_noprof+0xdb/0x760 [ 10.175649][ T224] __kmalloc_noprof+0x443/0x760 [ 10.175650][ T224] ? alloc_buf.isra.0+0x4b/0x260 [ 10.175657][ T224] ? do_raw_spin_unlock+0x59/0x250 [ 10.175659][ T224] alloc_buf.isra.0+0x4b/0x260 [ 10.175663][ T224] put_chars+0x1e1/0x2f0 [ 10.175665][ T224] ? __send_to_port+0x420/0x420 [ 10.175671][ T224] hvc_console_print+0x292/0x780 [ 10.175678][ T224] ? hvc_write+0x3a0/0x3a0 [ 10.175681][ T224] ? lock_acquire+0x13c/0x160 [ 10.175686][ T224] console_emit_next_record+0x22f/0x4c0 [ 10.175689][ T224] ? devkmsg_read+0x4b0/0x4b0 [ 10.175691][ T224] ? console_flush_one_record+0x106/0x710 [ 10.175694][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.175697][ T224] ? lock_acquire+0x13c/0x160 [ 10.175701][ T224] console_flush_one_record+0x46f/0x710 [ 10.175705][ T224] ? console_emit_next_record+0x4c0/0x4c0 [ 10.175706][ T224] ? __lock_acquire+0x518/0xc20 [ 10.175711][ T224] console_unlock+0xee/0x1f0 [ 10.175714][ T224] ? console_flush_one_record+0x710/0x710 [ 10.175716][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.175718][ T224] ? lock_acquire+0xe0/0x160 [ 10.175721][ T224] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.175723][ T224] ? vprintk_emit+0x320/0x3e0 [ 10.175726][ T224] vprintk_emit+0x37c/0x3e0 [ 10.175728][ T224] ? wake_up_klogd_work_func+0x90/0x90 [ 10.175731][ T224] ? save_trace+0x68/0x280 [ 10.175735][ T224] _printk+0xc7/0x100 [ 10.175738][ T224] ? snapshot_read.cold+0x21/0x21 [ 10.175741][ T224] ? validate_chain+0x34a/0xc20 [ 10.175743][ T224] ? netdev_name+0x43/0x60 [ 10.175747][ T224] ? __netdev_printk+0x17f/0x1d0 [ 10.175750][ T224] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.175752][ T224] netdev_info+0xe2/0x116 [ 10.175754][ T224] ? netdev_notice+0x120/0x120 [ 10.175757][ T224] ? find_held_lock+0x2b/0x80 [ 10.175760][ T224] ? __lock_release.isra.0+0x69/0x1a0 [ 10.175762][ T224] ? mark_held_locks+0x40/0x70 [ 10.175766][ T224] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 10.175768][ T224] netif_change_name.cold+0x4f/0x89 [ 10.175769][ T224] ? register_netdev+0x40/0x40 [ 10.175771][ T224] ? is_bpf_text_address+0x68/0x110 [ 10.175776][ T224] ? netdev_adjacent_rename_links+0x470/0x470 [ 10.175779][ T224] ? __kernel_text_address+0x12/0x30 [ 10.175781][ T224] ? write_profile+0xf0/0xf0 [ 10.175785][ T224] ? __asan_memset+0x27/0x50 [ 10.175794][ T224] do_setlink.isra.0+0x1f7d/0x2a60 [ 10.175797][ T224] ? stack_trace_save+0x93/0xc0 [ 10.175799][ T224] ? rtnl_link_get_size+0x350/0x350 [ 10.175800][ T224] ? rcu_read_lock_any_held+0x66/0x90 [ 10.175803][ T224] ? stack_depot_save_flags+0x38e/0x790 [ 10.175806][ T224] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.175809][ T224] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.175810][ T224] ? validate_chain+0x38b/0xc20 [ 10.175813][ T224] ? kasan_save_stack+0x3d/0x50 [ 10.175815][ T224] ? kasan_save_stack+0x2f/0x50 [ 10.175816][ T224] ? kasan_save_track+0x14/0x30 [ 10.175817][ T224] ? __kasan_kmalloc+0x7b/0x90 [ 10.175819][ T224] ? __lock_acquire+0x518/0xc20 [ 10.175821][ T224] ? snd_ac97_proc_read_main+0x4de/0x1f00 [ 10.175824][ T224] ? ___sys_sendmsg+0xd0/0x1d0 [ 10.175827][ T224] ? lock_acquire.part.0+0xd4/0x280 [ 10.175829][ T224] ? rtnl_newlink+0x9a8/0x11b0 [ 10.175832][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.175833][ T224] ? lock_acquire+0x13c/0x160 [ 10.175835][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.175836][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.175837][ T224] ? trace_contention_end+0xb3/0x180 [ 10.175840][ T224] ? __mutex_lock+0x1db/0x1ea0 [ 10.175842][ T224] ? __mutex_lock+0x9a3/0x1ea0 [ 10.175844][ T224] ? rtnl_newlink+0x9a8/0x11b0 [ 10.175847][ T224] ? ww_mutex_lock+0x160/0x160 [ 10.175848][ T224] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.175853][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.175855][ T224] ? __rtnl_newlink+0x3fa/0xa50 [ 10.175860][ T224] rtnl_newlink+0x9f1/0x11b0 [ 10.175865][ T224] ? rtnl_bridge_getlink+0x850/0x850 [ 10.175867][ T224] ? __lock_acquire+0x518/0xc20 [ 10.175872][ T224] ? lock_acquire.part.0+0xd4/0x280 [ 10.175873][ T224] ? find_held_lock+0x2b/0x80 [ 10.175875][ T224] ? rtnl_bridge_getlink+0x850/0x850 [ 10.175877][ T224] ? __lock_release.isra.0+0x69/0x1a0 [ 10.175881][ T224] ? rtnl_bridge_getlink+0x850/0x850 [ 10.175883][ T224] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.175886][ T224] ? rtnl_link_fill+0x920/0x920 [ 10.175887][ T224] ? __lock_acquire+0x518/0xc20 [ 10.175891][ T224] ? lock_acquire.part.0+0xd4/0x280 [ 10.175893][ T224] ? find_held_lock+0x2b/0x80 [ 10.175896][ T224] netlink_rcv_skb+0x14e/0x3a0 [ 10.175900][ T224] ? rtnl_link_fill+0x920/0x920 [ 10.175902][ T224] ? netlink_ack+0xcf0/0xcf0 [ 10.175908][ T224] ? netlink_deliver_tap+0xc5/0x330 [ 10.175910][ T224] ? netlink_deliver_tap+0x13c/0x330 [ 10.175915][ T224] netlink_unicast+0x486/0x750 [ 10.175918][ T224] ? netlink_attachskb+0x810/0x810 [ 10.175924][ T224] ? find_held_lock+0x2b/0x80 [ 10.175928][ T224] netlink_sendmsg+0x75b/0xc90 [ 10.175932][ T224] ? netlink_unicast+0x750/0x750 [ 10.175936][ T224] ? __lock_release.isra.0+0x69/0x1a0 [ 10.175938][ T224] ? __import_iovec+0x36c/0x620 [ 10.175943][ T224] __sock_sendmsg+0xce/0x190 [ 10.175946][ T224] ____sys_sendmsg+0x61a/0x860 [ 10.175948][ T224] ? copy_msghdr_from_user+0x279/0x420 [ 10.175950][ T224] ? sock_write_iter+0x400/0x400 [ 10.175952][ T224] ? move_addr_to_kernel+0x40/0x40 [ 10.175959][ T224] ___sys_sendmsg+0x14e/0x1d0 [ 10.175962][ T224] ? copy_msghdr_from_user+0x420/0x420 [ 10.175977][ T224] __sys_sendmsg+0x12c/0x1d0 [ 10.175980][ T224] ? __sys_sendmsg_sock+0x20/0x20 [ 10.175986][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.175989][ T224] do_syscall_64+0xff/0x530 [ 10.175992][ T224] ? exc_page_fault+0xee/0x100 [ 10.175994][ T224] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.175996][ T224] RIP: 0033:0x7fb0a876754e [ 10.176000][ T224] 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.176002][ T224] RSP: 002b:00007ffdc1568d60 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.176004][ T224] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fb0a876754e [ 10.176005][ T224] RDX: 0000000000000000 RSI: 00007ffdc1568e10 RDI: 0000000000000005 [ 10.176006][ T224] RBP: 00007ffdc1568d70 R08: 0000000000000000 R09: 0000000000000000 [ 10.176007][ T224] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91c626 [ 10.176008][ T224] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffdc15694e0 [ 10.176015][ T224] [ 10.214532][ T224] ip (224) used greatest stack depth: 23208 bytes left [ 10.740703][ T242] Initializing XFRM netlink socket [ 12.451521][ T302] IPsec XFRM device driver [ 12.451538][ T302] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.451540][ T302] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 302, name: modprobe [ 12.451542][ T302] preempt_count: 1, expected: 0 [ 12.451543][ T302] RCU nest depth: 0, expected: 0 [ 12.451544][ T302] locks held by modprobe/302: 4, last CPU#2: [ 12.451546][ T302] #0: ffffffffa757ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.451557][ T302] #1: ffffffffa757de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.451562][ T302] #2: ffffffffa749d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.451566][ T302] #3: ffffffffa749d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.451570][ T302] irq event stamp: 19498 [ 12.451571][ T302] hardirqs last enabled at (19497): [] __down_trylock_console_sem+0x86/0xa0 [ 12.451574][ T302] hardirqs last disabled at (19498): [] console_emit_next_record+0x3d4/0x4c0 [ 12.451576][ T302] softirqs last enabled at (18210): [] handle_softirqs+0x67c/0x900 [ 12.451579][ T302] softirqs last disabled at (18203): [] __irq_exit_rcu+0x145/0x1c0 [ 12.451582][ T302] Preemption disabled at: [ 12.451582][ T302] [] vprintk_emit+0x31b/0x3e0 [ 12.451587][ T302] CPU: 2 UID: 0 PID: 302 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.451590][ T302] Tainted: [W]=WARN [ 12.451591][ T302] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.451593][ T302] Call Trace: [ 12.451594][ T302] [ 12.451595][ T302] dump_stack_lvl+0x6f/0xa0 [ 12.451601][ T302] ? vprintk_emit+0x31b/0x3e0 [ 12.451603][ T302] __might_resched.cold+0x1fe/0x2c1 [ 12.451607][ T302] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.451611][ T302] ? __kmalloc_noprof+0xdb/0x760 [ 12.451615][ T302] __kmalloc_noprof+0x443/0x760 [ 12.451617][ T302] ? alloc_buf.isra.0+0x4b/0x260 [ 12.451624][ T302] ? do_raw_spin_unlock+0x59/0x250 [ 12.451626][ T302] alloc_buf.isra.0+0x4b/0x260 [ 12.451630][ T302] put_chars+0x1e1/0x2f0 [ 12.451632][ T302] ? __send_to_port+0x420/0x420 [ 12.451635][ T302] ? validate_chain+0x38b/0xc20 [ 12.451640][ T302] hvc_console_print+0x292/0x780 [ 12.451648][ T302] ? hvc_write+0x3a0/0x3a0 [ 12.451650][ T302] ? rcu_is_watching+0x16/0xd0 [ 12.451653][ T302] ? lock_acquire+0x13c/0x160 [ 12.451657][ T302] console_emit_next_record+0x22f/0x4c0 [ 12.451661][ T302] ? devkmsg_read+0x4b0/0x4b0 [ 12.451663][ T302] ? console_flush_one_record+0x106/0x710 [ 12.451666][ T302] ? rcu_is_watching+0x16/0xd0 [ 12.451668][ T302] ? lock_acquire+0x13c/0x160 [ 12.451671][ T302] console_flush_one_record+0x46f/0x710 [ 12.451675][ T302] ? console_emit_next_record+0x4c0/0x4c0 [ 12.451677][ T302] ? __lock_acquire+0x518/0xc20 [ 12.451682][ T302] console_unlock+0xee/0x1f0 [ 12.451685][ T302] ? console_flush_one_record+0x710/0x710 [ 12.451687][ T302] ? rcu_is_watching+0x16/0xd0 [ 12.451689][ T302] ? lock_acquire+0xe0/0x160 [ 12.451692][ T302] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.451694][ T302] ? vprintk_emit+0x320/0x3e0 [ 12.451696][ T302] vprintk_emit+0x37c/0x3e0 [ 12.451700][ T302] ? wake_up_klogd_work_func+0x90/0x90 [ 12.451704][ T302] ? xfrmi_fini+0x6a0/0x6a0 [xfrm_interface] [ 12.451708][ T302] _printk+0xc7/0x100 [ 12.451711][ T302] ? snapshot_read.cold+0x21/0x21 [ 12.451717][ T302] ? do_one_initcall+0x113/0x4f0 [ 12.451720][ T302] xfrmi_init+0x17/0x1000 [xfrm_interface] [ 12.451723][ T302] do_one_initcall+0x124/0x4f0 [ 12.451726][ T302] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.451730][ T302] ? do_init_module+0xae/0x8a0 [ 12.451733][ T302] ? kasan_unpoison+0x44/0x70 [ 12.451738][ T302] do_init_module+0x2ad/0x8a0 [ 12.451741][ T302] ? lockdep_hardirqs_on+0x91/0x130 [ 12.451745][ T302] ? free_module+0x470/0x470 [ 12.451748][ T302] ? kfree+0x123/0x590 [ 12.451751][ T302] load_module+0x1424/0x1bb0 [ 12.451756][ T302] ? security_kernel_post_read_file+0x2f/0x60 [ 12.451761][ T302] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.451764][ T302] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.451767][ T302] ? find_held_lock+0x2b/0x80 [ 12.451770][ T302] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.451773][ T302] init_module_from_file+0x11f/0x1a0 [ 12.451775][ T302] ? __do_sys_init_module+0x270/0x270 [ 12.451783][ T302] ? __rwlock_init+0x150/0x150 [ 12.451786][ T302] ? do_raw_spin_unlock+0x59/0x250 [ 12.451791][ T302] idempotent_init_module+0x37b/0x7c0 [ 12.451794][ T302] ? init_module_from_file+0x1a0/0x1a0 [ 12.451799][ T302] ? cap_capable+0x1d7/0x3d0 [ 12.451801][ T302] ? exc_page_fault+0x87/0x100 [ 12.451805][ T302] __x64_sys_finit_module+0xdf/0x190 [ 12.451807][ T302] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.451811][ T302] do_syscall_64+0xff/0x530 [ 12.451813][ T302] ? exc_page_fault+0xee/0x100 [ 12.451816][ T302] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.451818][ T302] RIP: 0033:0x7f7c5717837d [ 12.451821][ T302] 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.451822][ T302] RSP: 002b:00007ffed92c2778 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.451825][ T302] RAX: ffffffffffffffda RBX: 000055a98e6ed810 RCX: 00007f7c5717837d [ 12.451826][ T302] RDX: 0000000000000000 RSI: 000055a9815f1ffd RDI: 0000000000000000 [ 12.451827][ T302] RBP: 00007ffed92c2810 R08: 0000000000000000 R09: 0000000000000000 [ 12.451828][ T302] R10: 0000000000000000 R11: 0000000000000246 R12: 000055a9815f1ffd [ 12.451829][ T302] R13: 000055a98e6ed970 R14: 0000000000040000 R15: 0000000000000000 [ 12.451835][ T302]