[ 10.483646][ T224] 8021q: 802.1Q VLAN Support v1.8 [ 10.483665][ T224] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.483672][ T224] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 224, name: modprobe [ 10.483674][ T224] preempt_count: 1, expected: 0 [ 10.483676][ T224] RCU nest depth: 0, expected: 0 [ 10.483677][ T224] locks held by modprobe/224: 4, last CPU#0: [ 10.483680][ T224] #0: ffffffff8bb69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.483694][ T224] #1: ffffffff8bb69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.483699][ T224] #2: ffffffff8ba89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.483703][ T224] #3: ffffffff8ba89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.483707][ T224] irq event stamp: 24460 [ 10.483708][ T224] hardirqs last enabled at (24459): [] __down_trylock_console_sem+0x86/0xa0 [ 10.483710][ T224] hardirqs last disabled at (24460): [] console_emit_next_record+0x3d4/0x4c0 [ 10.483712][ T224] softirqs last enabled at (22160): [] handle_softirqs+0x67c/0x900 [ 10.483715][ T224] softirqs last disabled at (21507): [] __irq_exit_rcu+0x145/0x1c0 [ 10.483717][ T224] Preemption disabled at: [ 10.483718][ T224] [] vprintk_emit+0x31b/0x3e0 [ 10.483724][ T224] CPU: 0 UID: 0 PID: 224 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.483727][ T224] Tainted: [W]=WARN [ 10.483728][ T224] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.483730][ T224] Call Trace: [ 10.483731][ T224] [ 10.483732][ T224] dump_stack_lvl+0x6f/0xa0 [ 10.483738][ T224] ? vprintk_emit+0x31b/0x3e0 [ 10.483740][ T224] __might_resched.cold+0x1fe/0x2c1 [ 10.483745][ T224] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.483749][ T224] ? __kmalloc_noprof+0xdb/0x760 [ 10.483754][ T224] __kmalloc_noprof+0x443/0x760 [ 10.483756][ T224] ? alloc_buf.isra.0+0x4b/0x260 [ 10.483761][ T224] ? do_raw_spin_unlock+0x59/0x250 [ 10.483764][ T224] alloc_buf.isra.0+0x4b/0x260 [ 10.483767][ T224] put_chars+0x1e1/0x2f0 [ 10.483770][ T224] ? __send_to_port+0x420/0x420 [ 10.483771][ T224] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.483775][ T224] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.483778][ T224] ? validate_chain+0x38b/0xc20 [ 10.483782][ T224] hvc_console_print+0x292/0x780 [ 10.483785][ T224] ? __lock_acquire+0x518/0xc20 [ 10.483790][ T224] ? hvc_write+0x3a0/0x3a0 [ 10.483792][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.483797][ T224] console_emit_next_record+0x22f/0x4c0 [ 10.483801][ T224] ? devkmsg_read+0x4b0/0x4b0 [ 10.483803][ T224] ? console_flush_one_record+0x106/0x710 [ 10.483806][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.483808][ T224] ? lock_acquire+0x13c/0x160 [ 10.483812][ T224] console_flush_one_record+0x46f/0x710 [ 10.483816][ T224] ? console_emit_next_record+0x4c0/0x4c0 [ 10.483817][ T224] ? __lock_acquire+0x518/0xc20 [ 10.483822][ T224] console_unlock+0xee/0x1f0 [ 10.483825][ T224] ? console_flush_one_record+0x710/0x710 [ 10.483827][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.483829][ T224] ? lock_acquire+0x60/0x160 [ 10.483833][ T224] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.483834][ T224] ? vprintk_emit+0x320/0x3e0 [ 10.483837][ T224] vprintk_emit+0x37c/0x3e0 [ 10.483841][ T224] ? wake_up_klogd_work_func+0x90/0x90 [ 10.483847][ T224] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 10.483851][ T224] _printk+0xc7/0x100 [ 10.483854][ T224] ? snapshot_read.cold+0x21/0x21 [ 10.483860][ T224] ? do_one_initcall+0x113/0x4f0 [ 10.483863][ T224] vlan_proto_init+0x24/0x90 [8021q] [ 10.483866][ T224] do_one_initcall+0x124/0x4f0 [ 10.483869][ T224] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 10.483873][ T224] ? do_init_module+0xae/0x8a0 [ 10.483876][ T224] ? kasan_unpoison+0x44/0x70 [ 10.483881][ T224] do_init_module+0x2ad/0x8a0 [ 10.483885][ T224] ? lockdep_hardirqs_on+0x91/0x130 [ 10.483889][ T224] ? free_module+0x470/0x470 [ 10.483892][ T224] ? kfree+0x123/0x590 [ 10.483896][ T224] load_module+0x1424/0x1bb0 [ 10.483903][ T224] ? layout_and_allocate.isra.0+0x680/0x680 [ 10.483906][ T224] ? __ia32_sys_fsconfig+0x180/0x180 [ 10.483909][ T224] ? ovl_real_file+0x172/0x1e0 [ 10.483913][ T224] ? backing_file_read_iter+0x541/0x790 [ 10.483916][ T224] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.483920][ T224] init_module_from_file+0x11f/0x1a0 [ 10.483923][ T224] ? __do_sys_init_module+0x220/0x220 [ 10.483931][ T224] ? __rwlock_init+0x150/0x150 [ 10.483935][ T224] ? do_raw_spin_unlock+0x59/0x250 [ 10.483938][ T224] idempotent_init_module+0x37b/0x7c0 [ 10.483941][ T224] ? init_module_from_file+0x1a0/0x1a0 [ 10.483947][ T224] ? rcu_is_watching+0x16/0xd0 [ 10.483949][ T224] ? cap_capable+0x1d7/0x3d0 [ 10.483958][ T224] __x64_sys_finit_module+0xdf/0x190 [ 10.483960][ T224] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.483963][ T224] do_syscall_64+0xff/0x530 [ 10.483965][ T224] ? exc_page_fault+0xee/0x100 [ 10.483968][ T224] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.483970][ T224] RIP: 0033:0x7fc6682d537d [ 10.483973][ T224] 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 [ 10.483975][ T224] RSP: 002b:00007ffd07883208 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 10.483977][ T224] RAX: ffffffffffffffda RBX: 00005614d54f0810 RCX: 00007fc6682d537d [ 10.483979][ T224] RDX: 0000000000000000 RSI: 00005614b2470ffd RDI: 0000000000000000 [ 10.483980][ T224] RBP: 00007ffd078832a0 R08: 0000000000000000 R09: 0000000000000000 [ 10.483980][ T224] R10: 0000000000000000 R11: 0000000000000246 R12: 00005614b2470ffd [ 10.483981][ T224] R13: 00005614d54f0960 R14: 0000000000040000 R15: 0000000000000000 [ 10.483988][ T224] [ 11.281656][ T251] br1: port 1(veth1) entered blocking state [ 11.282325][ T251] br1: port 1(veth1) entered disabled state [ 11.282634][ T251] veth1: entered allmulticast mode [ 11.284390][ T251] veth1: entered promiscuous mode [ 11.310289][ T205] br1: port 1(veth1) entered blocking state [ 11.310708][ T205] br1: port 1(veth1) entered forwarding state [ 25.977777][ T394] br1: port 1(veth1) entered disabled state [ 25.977923][ T394] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 25.977925][ T394] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 394, name: ip [ 25.977927][ T394] preempt_count: 202, expected: 0 [ 25.977928][ T394] RCU nest depth: 0, expected: 0 [ 25.977929][ T394] locks held by ip/394: 6, last CPU#3: [ 25.977931][ T394] #0: ffffffff8c2d2c40 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11c0 [ 25.977943][ T394] #1: ff11000010f3ae58 (&br->lock){+...}-{3:3}, at: br_device_event+0x1d7/0x8f0 [bridge] [ 25.977961][ T394] #2: ffffffff8bb69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 25.977967][ T394] #3: ffffffff8bb69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 25.977971][ T394] #4: ffffffff8ba89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 25.977975][ T394] #5: ffffffff8ba89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 25.977979][ T394] irq event stamp: 21847 [ 25.977980][ T394] hardirqs last enabled at (21846): [] __down_trylock_console_sem+0x86/0xa0 [ 25.977983][ T394] hardirqs last disabled at (21847): [] console_emit_next_record+0x3d4/0x4c0 [ 25.977985][ T394] softirqs last enabled at (21830): [] ipv6_mc_down+0x134/0x2d0 [ 25.977989][ T394] softirqs last disabled at (21842): [] br_device_event+0x1d7/0x8f0 [bridge] [ 25.977996][ T394] Preemption disabled at: [ 25.977997][ T394] [<0000000000000000>] 0x0 [ 25.978004][ T394] CPU: 3 UID: 0 PID: 394 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 25.978007][ T394] Tainted: [W]=WARN [ 25.978008][ T394] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 25.978010][ T394] Call Trace: [ 25.978012][ T394] [ 25.978013][ T394] dump_stack_lvl+0x6f/0xa0 [ 25.978020][ T394] __might_resched.cold+0x1fe/0x2c1 [ 25.978025][ T394] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 25.978029][ T394] ? __kmalloc_noprof+0xdb/0x760 [ 25.978034][ T394] __kmalloc_noprof+0x443/0x760 [ 25.978037][ T394] ? alloc_buf.isra.0+0x4b/0x260 [ 25.978042][ T394] ? do_raw_spin_unlock+0x59/0x250 [ 25.978045][ T394] alloc_buf.isra.0+0x4b/0x260 [ 25.978048][ T394] put_chars+0x1e1/0x2f0 [ 25.978051][ T394] ? __send_to_port+0x420/0x420 [ 25.978053][ T394] ? check_prev_add+0xef/0xe90 [ 25.978057][ T394] ? validate_chain+0x34a/0xc20 [ 25.978061][ T394] hvc_console_print+0x292/0x780 [ 25.978063][ T394] ? mark_usage+0x61/0x170 [ 25.978065][ T394] ? __lock_acquire+0x518/0xc20 [ 25.978067][ T394] ? __lock_acquire+0x518/0xc20 [ 25.978071][ T394] ? hvc_write+0x3a0/0x3a0 [ 25.978072][ T394] ? lock_acquire.part.0+0xd4/0x280 [ 25.978077][ T394] ? lock_acquire+0x13c/0x160 [ 25.978081][ T394] console_emit_next_record+0x22f/0x4c0 [ 25.978085][ T394] ? devkmsg_read+0x4b0/0x4b0 [ 25.978087][ T394] ? console_flush_one_record+0x106/0x710 [ 25.978090][ T394] ? rcu_is_watching+0x16/0xd0 [ 25.978094][ T394] ? lock_acquire+0x13c/0x160 [ 25.978098][ T394] console_flush_one_record+0x46f/0x710 [ 25.978102][ T394] ? console_emit_next_record+0x4c0/0x4c0 [ 25.978104][ T394] ? __lock_acquire+0x518/0xc20 [ 25.978109][ T394] console_unlock+0xee/0x1f0 [ 25.978112][ T394] ? console_flush_one_record+0x710/0x710 [ 25.978114][ T394] ? rcu_is_watching+0x16/0xd0 [ 25.978116][ T394] ? lock_acquire+0x60/0x160 [ 25.978120][ T394] ? __down_trylock_console_sem+0x5e/0xa0 [ 25.978122][ T394] ? vprintk_emit+0x320/0x3e0 [ 25.978126][ T394] vprintk_emit+0x37c/0x3e0 [ 25.978131][ T394] ? wake_up_klogd_work_func+0x90/0x90 [ 25.978133][ T394] ? mark_held_locks+0x40/0x70 [ 25.978135][ T394] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 25.978138][ T394] ? rcu_read_lock_any_held+0x3c/0x90 [ 25.978142][ T394] _printk+0xc7/0x100 [ 25.978146][ T394] ? snapshot_read.cold+0x21/0x21 [ 25.978154][ T394] br_set_state+0x22f/0x430 [bridge] [ 25.978166][ T394] br_stp_disable_port+0x11f/0x390 [bridge] [ 25.978175][ T394] br_device_event+0x7b5/0x8f0 [bridge] [ 25.978183][ T394] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 25.978187][ T394] ? _sub_I_65535_1+0x4d0/0x4d0 [stp] [ 25.978193][ T394] notifier_call_chain+0xae/0x300 [ 25.978199][ T394] __dev_notify_flags+0x23c/0x3c0 [ 25.978204][ T394] ? netif_change_name+0x8c0/0x8c0 [ 25.978208][ T394] ? netif_set_allmulti+0x250/0x250 [ 25.978211][ T394] ? __kernel_text_address+0x12/0x30 [ 25.978213][ T394] ? write_profile+0xf0/0xf0 [ 25.978215][ T394] ? unwind_get_return_address+0x67/0xd0 [ 25.978220][ T394] netif_change_flags+0xfe/0x190 [ 25.978224][ T394] do_setlink.isra.0+0x1cc3/0x2750 [ 25.978228][ T394] ? stack_trace_save+0x93/0xc0 [ 25.978230][ T394] ? rtnl_link_get_size+0x350/0x350 [ 25.978231][ T394] ? rcu_read_lock_any_held+0x66/0x90 [ 25.978233][ T394] ? stack_depot_save_flags+0x38e/0x790 [ 25.978236][ T394] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 25.978239][ T394] ? rcu_read_lock_any_held+0x3c/0x90 [ 25.978241][ T394] ? validate_chain+0x38b/0xc20 [ 25.978244][ T394] ? kasan_save_stack+0x3d/0x50 [ 25.978247][ T394] ? kasan_save_stack+0x2f/0x50 [ 25.978248][ T394] ? kasan_save_track+0x14/0x30 [ 25.978251][ T394] ? __lock_acquire+0x518/0xc20 [ 25.978253][ T394] ? netlink_seq_next+0xe/0x60 [ 25.978256][ T394] ? ___sys_sendmsg+0xb0/0x1d0 [ 25.978261][ T394] ? lock_acquire.part.0+0xd4/0x280 [ 25.978263][ T394] ? rtnl_newlink+0x9a8/0x11c0 [ 25.978265][ T394] ? rcu_is_watching+0x16/0xd0 [ 25.978268][ T394] ? lock_acquire+0x13c/0x160 [ 25.978269][ T394] ? rcu_is_watching+0x16/0xd0 [ 25.978271][ T394] ? rcu_is_watching+0x16/0xd0 [ 25.978274][ T394] ? trace_contention_end+0xb3/0x180 [ 25.978277][ T394] ? __mutex_lock+0x1db/0x1ea0 [ 25.978279][ T394] ? __mutex_lock+0x9a3/0x1ea0 [ 25.978281][ T394] ? rtnl_newlink+0x9a8/0x11c0 [ 25.978285][ T394] ? ww_mutex_lock+0x160/0x160 [ 25.978290][ T394] ? __rtnl_newlink+0x3fa/0xa50 [ 25.978296][ T394] rtnl_newlink+0x9f1/0x11c0 [ 25.978301][ T394] ? rtnl_bridge_getlink+0x850/0x850 [ 25.978303][ T394] ? __lock_acquire+0x518/0xc20 [ 25.978308][ T394] ? lock_acquire.part.0+0xd4/0x280 [ 25.978310][ T394] ? find_held_lock+0x2b/0x80 [ 25.978312][ T394] ? rtnl_bridge_getlink+0x850/0x850 [ 25.978314][ T394] ? __lock_release.isra.0+0x69/0x1a0 [ 25.978317][ T394] ? rtnl_bridge_getlink+0x850/0x850 [ 25.978320][ T394] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 25.978323][ T394] ? rtnl_link_fill+0x920/0x920 [ 25.978324][ T394] ? __lock_acquire+0x518/0xc20 [ 25.978329][ T394] ? lock_acquire.part.0+0xd4/0x280 [ 25.978330][ T394] ? find_held_lock+0x2b/0x80 [ 25.978334][ T394] netlink_rcv_skb+0x14e/0x3a0 [ 25.978336][ T394] ? rtnl_link_fill+0x920/0x920 [ 25.978339][ T394] ? netlink_ack+0xcf0/0xcf0 [ 25.978345][ T394] ? netlink_deliver_tap+0xc5/0x330 [ 25.978347][ T394] ? netlink_deliver_tap+0x13c/0x330 [ 25.978351][ T394] netlink_unicast+0x486/0x750 [ 25.978355][ T394] ? netlink_attachskb+0x810/0x810 [ 25.978358][ T394] ? __lock_acquire+0x518/0xc20 [ 25.978362][ T394] netlink_sendmsg+0x735/0xc60 [ 25.978366][ T394] ? netlink_unicast+0x750/0x750 [ 25.978369][ T394] ? __might_fault+0x97/0x140 [ 25.978375][ T394] ____sys_sendmsg+0x415/0x880 [ 25.978377][ T394] ? copy_msghdr_from_user+0x279/0x420 [ 25.978380][ T394] ? get_timestamp.constprop.0+0x390/0x390 [ 25.978381][ T394] ? move_addr_to_kernel+0x40/0x40 [ 25.978389][ T394] ___sys_sendmsg+0x14e/0x1d0 [ 25.978392][ T394] ? copy_msghdr_from_user+0x420/0x420 [ 25.978408][ T394] __sys_sendmsg+0x12c/0x1d0 [ 25.978411][ T394] ? __sys_sendmsg_sock+0x20/0x20 [ 25.978417][ T394] ? rcu_is_watching+0x16/0xd0 [ 25.978421][ T394] do_syscall_64+0xff/0x530 [ 25.978423][ T394] ? exc_page_fault+0xee/0x100 [ 25.978427][ T394] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 25.978429][ T394] RIP: 0033:0x7efce1eb254e [ 25.978432][ T394] 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 [ 25.978433][ T394] RSP: 002b:00007fff6c8600f0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 25.978436][ T394] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007efce1eb254e [ 25.978438][ T394] RDX: 0000000000000000 RSI: 00007fff6c8601a0 RDI: 0000000000000005 [ 25.978439][ T394] RBP: 00007fff6c860100 R08: 0000000000000000 R09: 0000000000000000 [ 25.978439][ T394] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b797 [ 25.978440][ T394] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fff6c860860 [ 25.978447][ T394] [ 26.032466][ T394] ip (394) used greatest stack depth: 23016 bytes left [ 26.052716][ T395] veth1: left allmulticast mode [ 26.053000][ T395] veth1: left promiscuous mode [ 26.053328][ T395] br1: port 1(veth1) entered disabled state