[ 9.752921][ T193] ip (193) used greatest stack depth: 23616 bytes left [ 9.752938][ T193] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.752940][ T193] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 193, name: ip [ 9.752942][ T193] preempt_count: 2, expected: 0 [ 9.752943][ T193] RCU nest depth: 0, expected: 0 [ 9.752944][ T193] locks held by ip/193: 5, last CPU#0: [ 9.752946][ T193] #0: ffffffff8f2027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.752960][ T193] #1: ffffffff8f369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.752965][ T193] #2: ffffffff8f369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.752969][ T193] #3: ffffffff8f289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.752973][ T193] #4: ffffffff8f289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.752977][ T193] irq event stamp: 25300 [ 9.752978][ T193] hardirqs last enabled at (25299): [] __down_trylock_console_sem+0x86/0xa0 [ 9.752980][ T193] hardirqs last disabled at (25300): [] console_emit_next_record+0x3d4/0x4c0 [ 9.752982][ T193] softirqs last enabled at (24030): [] handle_softirqs+0x67c/0x900 [ 9.752984][ T193] softirqs last disabled at (24025): [] __irq_exit_rcu+0x145/0x1c0 [ 9.752986][ T193] Preemption disabled at: [ 9.752987][ T193] [<0000000000000000>] 0x0 [ 9.752994][ T193] CPU: 0 UID: 0 PID: 193 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.752998][ T193] Tainted: [W]=WARN [ 9.752999][ T193] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.753000][ T193] Call Trace: [ 9.753002][ T193] [ 9.753003][ T193] dump_stack_lvl+0x6f/0xa0 [ 9.753009][ T193] __might_resched.cold+0x1fe/0x2c1 [ 9.753014][ T193] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.753019][ T193] ? __kmalloc_noprof+0xdb/0x760 [ 9.753024][ T193] __kmalloc_noprof+0x443/0x760 [ 9.753026][ T193] ? alloc_buf.isra.0+0x4b/0x260 [ 9.753032][ T193] ? do_raw_spin_unlock+0x59/0x250 [ 9.753035][ T193] alloc_buf.isra.0+0x4b/0x260 [ 9.753038][ T193] put_chars+0x1e1/0x2f0 [ 9.753041][ T193] ? __send_to_port+0x420/0x420 [ 9.753042][ T193] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.753047][ T193] ? validate_chain+0x38b/0xc20 [ 9.753052][ T193] hvc_console_print+0x292/0x780 [ 9.753058][ T193] ? hvc_write+0x3a0/0x3a0 [ 9.753060][ T193] ? rcu_is_watching+0x16/0xd0 [ 9.753063][ T193] ? lock_acquire+0x13c/0x160 [ 9.753067][ T193] console_emit_next_record+0x22f/0x4c0 [ 9.753071][ T193] ? devkmsg_read+0x4b0/0x4b0 [ 9.753073][ T193] ? console_flush_one_record+0x106/0x710 [ 9.753076][ T193] ? rcu_is_watching+0x16/0xd0 [ 9.753079][ T193] ? lock_acquire+0x13c/0x160 [ 9.753083][ T193] console_flush_one_record+0x46f/0x710 [ 9.753087][ T193] ? console_emit_next_record+0x4c0/0x4c0 [ 9.753089][ T193] ? __lock_acquire+0x518/0xc20 [ 9.753094][ T193] console_unlock+0xee/0x1f0 [ 9.753097][ T193] ? console_flush_one_record+0x710/0x710 [ 9.753099][ T193] ? rcu_is_watching+0x16/0xd0 [ 9.753101][ T193] ? lock_acquire+0x60/0x160 [ 9.753105][ T193] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.753107][ T193] ? vprintk_emit+0x320/0x3e0 [ 9.753110][ T193] vprintk_emit+0x37c/0x3e0 [ 9.753114][ T193] ? wake_up_klogd_work_func+0x90/0x90 [ 9.753118][ T193] ? __lock_acquire+0x518/0xc20 [ 9.753121][ T193] _printk+0xc7/0x100 [ 9.753125][ T193] ? snapshot_read.cold+0x21/0x21 [ 9.753128][ T193] ? do_raw_spin_lock+0x131/0x280 [ 9.753131][ T193] ? __rwlock_init+0x150/0x150 [ 9.753135][ T193] ? do_raw_spin_lock+0x131/0x280 [ 9.753138][ T193] do_exit.cold+0x82/0x9c [ 9.753141][ T193] ? exit_notify+0x890/0x890 [ 9.753143][ T193] ? __lock_release.isra.0+0x69/0x1a0 [ 9.753146][ T193] ? rcu_is_watching+0x16/0xd0 [ 9.753150][ T193] do_group_exit+0xb8/0x370 [ 9.753153][ T193] __x64_sys_exit_group+0x3c/0x50 [ 9.753155][ T193] x64_sys_call+0x1567/0x1570 [ 9.753157][ T193] do_syscall_64+0xff/0x530 [ 9.753160][ T193] ? exc_page_fault+0xee/0x100 [ 9.753163][ T193] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.753166][ T193] RIP: 0033:0x7f43fb2f91b8 [ 9.753168][ T193] Code: Unable to access opcode bytes at 0x7f43fb2f918e. [ 9.753169][ T193] RSP: 002b:00007ffc402fc3d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.753171][ T193] RAX: ffffffffffffffda RBX: 00007f43fb429f88 RCX: 00007f43fb2f91b8 [ 9.753173][ T193] RDX: 00007f43fb043fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.753174][ T193] RBP: 00007ffc402fc430 R08: 0000000000000000 R09: 0000000000008010 [ 9.753175][ T193] R10: 00007ffc402fc1f0 R11: 0000000000000246 R12: 0000000000000001 [ 9.753175][ T193] R13: 0000000000000000 R14: 00007f43fb428680 R15: 00007f43fb429fa0 [ 9.753182][ T193] [ 11.024306][ T247] 8021q: 802.1Q VLAN Support v1.8 [ 11.024327][ T247] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.024329][ T247] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 247, name: modprobe [ 11.024331][ T247] preempt_count: 1, expected: 0 [ 11.024331][ T247] RCU nest depth: 0, expected: 0 [ 11.024332][ T247] locks held by modprobe/247: 4, last CPU#2: [ 11.024335][ T247] #0: ffffffff8f369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.024348][ T247] #1: ffffffff8f369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.024352][ T247] #2: ffffffff8f289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.024356][ T247] #3: ffffffff8f289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.024360][ T247] irq event stamp: 30158 [ 11.024361][ T247] hardirqs last enabled at (30157): [] __down_trylock_console_sem+0x86/0xa0 [ 11.024363][ T247] hardirqs last disabled at (30158): [] console_emit_next_record+0x3d4/0x4c0 [ 11.024365][ T247] softirqs last enabled at (27812): [] handle_softirqs+0x67c/0x900 [ 11.024368][ T247] softirqs last disabled at (27805): [] __irq_exit_rcu+0x145/0x1c0 [ 11.024370][ T247] Preemption disabled at: [ 11.024371][ T247] [] vprintk_emit+0x31b/0x3e0 [ 11.024377][ T247] CPU: 2 UID: 0 PID: 247 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.024380][ T247] Tainted: [W]=WARN [ 11.024381][ T247] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.024383][ T247] Call Trace: [ 11.024385][ T247] [ 11.024386][ T247] dump_stack_lvl+0x6f/0xa0 [ 11.024392][ T247] ? vprintk_emit+0x31b/0x3e0 [ 11.024394][ T247] __might_resched.cold+0x1fe/0x2c1 [ 11.024398][ T247] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.024402][ T247] ? __kmalloc_noprof+0xdb/0x760 [ 11.024407][ T247] __kmalloc_noprof+0x443/0x760 [ 11.024409][ T247] ? alloc_buf.isra.0+0x4b/0x260 [ 11.024415][ T247] ? do_raw_spin_unlock+0x59/0x250 [ 11.024418][ T247] alloc_buf.isra.0+0x4b/0x260 [ 11.024421][ T247] put_chars+0x1e1/0x2f0 [ 11.024423][ T247] ? __send_to_port+0x420/0x420 [ 11.024425][ T247] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.024429][ T247] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.024432][ T247] ? validate_chain+0x38b/0xc20 [ 11.024436][ T247] hvc_console_print+0x292/0x780 [ 11.024439][ T247] ? __lock_acquire+0x518/0xc20 [ 11.024443][ T247] ? hvc_write+0x3a0/0x3a0 [ 11.024446][ T247] ? rcu_is_watching+0x16/0xd0 [ 11.024451][ T247] console_emit_next_record+0x22f/0x4c0 [ 11.024454][ T247] ? devkmsg_read+0x4b0/0x4b0 [ 11.024456][ T247] ? console_flush_one_record+0x106/0x710 [ 11.024459][ T247] ? rcu_is_watching+0x16/0xd0 [ 11.024462][ T247] ? lock_acquire+0x13c/0x160 [ 11.024465][ T247] console_flush_one_record+0x46f/0x710 [ 11.024469][ T247] ? console_emit_next_record+0x4c0/0x4c0 [ 11.024471][ T247] ? __lock_acquire+0x518/0xc20 [ 11.024476][ T247] console_unlock+0xee/0x1f0 [ 11.024479][ T247] ? console_flush_one_record+0x710/0x710 [ 11.024480][ T247] ? rcu_is_watching+0x16/0xd0 [ 11.024483][ T247] ? lock_acquire+0x60/0x160 [ 11.024486][ T247] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.024488][ T247] ? vprintk_emit+0x320/0x3e0 [ 11.024491][ T247] vprintk_emit+0x37c/0x3e0 [ 11.024495][ T247] ? wake_up_klogd_work_func+0x90/0x90 [ 11.024500][ T247] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 11.024504][ T247] _printk+0xc7/0x100 [ 11.024508][ T247] ? snapshot_read.cold+0x21/0x21 [ 11.024514][ T247] ? do_one_initcall+0x113/0x4f0 [ 11.024517][ T247] vlan_proto_init+0x24/0x90 [8021q] [ 11.024520][ T247] do_one_initcall+0x124/0x4f0 [ 11.024522][ T247] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 11.024527][ T247] ? do_init_module+0xae/0x8a0 [ 11.024530][ T247] ? kasan_unpoison+0x44/0x70 [ 11.024534][ T247] do_init_module+0x2ad/0x8a0 [ 11.024538][ T247] ? lockdep_hardirqs_on+0x91/0x130 [ 11.024542][ T247] ? free_module+0x470/0x470 [ 11.024545][ T247] ? kfree+0x123/0x590 [ 11.024548][ T247] load_module+0x1424/0x1bb0 [ 11.024555][ T247] ? layout_and_allocate.isra.0+0x680/0x680 [ 11.024559][ T247] ? __ia32_sys_fsconfig+0x180/0x180 [ 11.024562][ T247] ? ovl_real_file+0x172/0x1e0 [ 11.024566][ T247] ? backing_file_read_iter+0x541/0x790 [ 11.024569][ T247] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.024573][ T247] init_module_from_file+0x11f/0x1a0 [ 11.024576][ T247] ? __do_sys_init_module+0x220/0x220 [ 11.024583][ T247] ? __rwlock_init+0x150/0x150 [ 11.024587][ T247] ? do_raw_spin_unlock+0x59/0x250 [ 11.024590][ T247] idempotent_init_module+0x37b/0x7c0 [ 11.024593][ T247] ? init_module_from_file+0x1a0/0x1a0 [ 11.024599][ T247] ? rcu_is_watching+0x16/0xd0 [ 11.024601][ T247] ? cap_capable+0x1d7/0x3d0 [ 11.024607][ T247] __x64_sys_finit_module+0xdf/0x190 [ 11.024609][ T247] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.024613][ T247] do_syscall_64+0xff/0x530 [ 11.024614][ T247] ? exc_page_fault+0xee/0x100 [ 11.024617][ T247] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.024619][ T247] RIP: 0033:0x7f4804fdd37d [ 11.024623][ T247] 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.024624][ T247] RSP: 002b:00007fffda7ea8c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 11.024627][ T247] RAX: ffffffffffffffda RBX: 000055e5c60be810 RCX: 00007f4804fdd37d [ 11.024629][ T247] RDX: 0000000000000000 RSI: 000055e5be374ffd RDI: 0000000000000000 [ 11.024629][ T247] RBP: 00007fffda7ea960 R08: 0000000000000000 R09: 0000000000000000 [ 11.024630][ T247] R10: 0000000000000000 R11: 0000000000000246 R12: 000055e5be374ffd [ 11.024631][ T247] R13: 000055e5c60be960 R14: 0000000000040000 R15: 0000000000000000 [ 11.024638][ T247] [ 11.349330][ T258] gre: GRE over IPv4 demultiplexer driver [ 11.362256][ T258] ip_gre: GRE over IPv4 tunneling driver [ 13.254466][ T327] GACT probability NOT on [ 13.254483][ T327] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.254486][ T327] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 327, name: modprobe [ 13.254487][ T327] preempt_count: 1, expected: 0 [ 13.254488][ T327] RCU nest depth: 0, expected: 0 [ 13.254489][ T327] locks held by modprobe/327: 4, last CPU#2: [ 13.254491][ T327] #0: ffffffff8f369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.254504][ T327] #1: ffffffff8f369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.254508][ T327] #2: ffffffff8f289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.254512][ T327] #3: ffffffff8f289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.254516][ T327] irq event stamp: 18628 [ 13.254517][ T327] hardirqs last enabled at (18627): [] __down_trylock_console_sem+0x86/0xa0 [ 13.254520][ T327] hardirqs last disabled at (18628): [] console_emit_next_record+0x3d4/0x4c0 [ 13.254521][ T327] softirqs last enabled at (16514): [] handle_softirqs+0x67c/0x900 [ 13.254524][ T327] softirqs last disabled at (16507): [] __irq_exit_rcu+0x145/0x1c0 [ 13.254527][ T327] Preemption disabled at: [ 13.254527][ T327] [] vprintk_emit+0x31b/0x3e0 [ 13.254533][ T327] CPU: 2 UID: 0 PID: 327 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.254536][ T327] Tainted: [W]=WARN [ 13.254537][ T327] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.254539][ T327] Call Trace: [ 13.254540][ T327] [ 13.254542][ T327] dump_stack_lvl+0x6f/0xa0 [ 13.254547][ T327] ? vprintk_emit+0x31b/0x3e0 [ 13.254550][ T327] __might_resched.cold+0x1fe/0x2c1 [ 13.254554][ T327] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.254558][ T327] ? __kmalloc_noprof+0xdb/0x760 [ 13.254563][ T327] __kmalloc_noprof+0x443/0x760 [ 13.254565][ T327] ? alloc_buf.isra.0+0x4b/0x260 [ 13.254570][ T327] ? do_raw_spin_unlock+0x59/0x250 [ 13.254573][ T327] alloc_buf.isra.0+0x4b/0x260 [ 13.254576][ T327] put_chars+0x1e1/0x2f0 [ 13.254578][ T327] ? desc_read_finalized_seq+0x79/0x120 [ 13.254580][ T327] ? __send_to_port+0x420/0x420 [ 13.254583][ T327] ? rcu_read_lock_any_held+0x3c/0x90 [ 13.254586][ T327] ? validate_chain+0x38b/0xc20 [ 13.254590][ T327] hvc_console_print+0x292/0x780 [ 13.254593][ T327] ? __lock_acquire+0x518/0xc20 [ 13.254594][ T327] ? __lock_acquire+0x518/0xc20 [ 13.254599][ T327] ? hvc_write+0x3a0/0x3a0 [ 13.254600][ T327] ? console_emit_next_record+0x1df/0x4c0 [ 13.254603][ T327] ? rcu_is_watching+0x16/0xd0 [ 13.254606][ T327] ? lock_acquire+0x13c/0x160 [ 13.254610][ T327] console_emit_next_record+0x22f/0x4c0 [ 13.254613][ T327] ? devkmsg_read+0x4b0/0x4b0 [ 13.254615][ T327] ? console_flush_one_record+0x106/0x710 [ 13.254618][ T327] ? rcu_is_watching+0x16/0xd0 [ 13.254620][ T327] ? lock_acquire+0x13c/0x160 [ 13.254624][ T327] console_flush_one_record+0x46f/0x710 [ 13.254628][ T327] ? console_emit_next_record+0x4c0/0x4c0 [ 13.254630][ T327] ? __lock_acquire+0x518/0xc20 [ 13.254635][ T327] console_unlock+0xee/0x1f0 [ 13.254637][ T327] ? console_flush_one_record+0x710/0x710 [ 13.254639][ T327] ? rcu_is_watching+0x16/0xd0 [ 13.254641][ T327] ? lock_acquire+0x60/0x160 [ 13.254645][ T327] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.254647][ T327] ? vprintk_emit+0x320/0x3e0 [ 13.254650][ T327] vprintk_emit+0x37c/0x3e0 [ 13.254654][ T327] ? wake_up_klogd_work_func+0x90/0x90 [ 13.254659][ T327] ? gre_exit+0x3f0/0x3f0 [gre] [ 13.254662][ T327] _printk+0xc7/0x100 [ 13.254666][ T327] ? snapshot_read.cold+0x21/0x21 [ 13.254672][ T327] ? do_one_initcall+0x113/0x4f0 [ 13.254674][ T327] gact_init_module+0x15/0x1000 [act_gact] [ 13.254677][ T327] do_one_initcall+0x124/0x4f0 [ 13.254680][ T327] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 13.254684][ T327] ? do_init_module+0xae/0x8a0 [ 13.254687][ T327] ? kasan_unpoison+0x44/0x70 [ 13.254692][ T327] do_init_module+0x2ad/0x8a0 [ 13.254695][ T327] ? lockdep_hardirqs_on+0x91/0x130 [ 13.254699][ T327] ? free_module+0x470/0x470 [ 13.254704][ T327] ? kfree+0x123/0x590 [ 13.254708][ T327] load_module+0x1424/0x1bb0 [ 13.254715][ T327] ? layout_and_allocate.isra.0+0x680/0x680 [ 13.254719][ T327] ? __ia32_sys_fsconfig+0x180/0x180 [ 13.254722][ T327] ? ovl_real_file+0x172/0x1e0 [ 13.254726][ T327] ? backing_file_read_iter+0x541/0x790 [ 13.254729][ T327] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.254732][ T327] init_module_from_file+0x11f/0x1a0 [ 13.254735][ T327] ? __do_sys_init_module+0x220/0x220 [ 13.254743][ T327] ? __rwlock_init+0x150/0x150 [ 13.254747][ T327] ? do_raw_spin_unlock+0x59/0x250 [ 13.254750][ T327] idempotent_init_module+0x37b/0x7c0 [ 13.254753][ T327] ? init_module_from_file+0x1a0/0x1a0 [ 13.254759][ T327] ? rcu_is_watching+0x16/0xd0 [ 13.254762][ T327] ? cap_capable+0x1d7/0x3d0 [ 13.254767][ T327] __x64_sys_finit_module+0xdf/0x190 [ 13.254769][ T327] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.254773][ T327] do_syscall_64+0xff/0x530 [ 13.254775][ T327] ? exc_page_fault+0xee/0x100 [ 13.254777][ T327] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.254779][ T327] RIP: 0033:0x7fccbd1f537d [ 13.254782][ T327] 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 [ 13.254784][ T327] RSP: 002b:00007ffcdd428468 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 13.254787][ T327] RAX: ffffffffffffffda RBX: 0000563e958b7810 RCX: 00007fccbd1f537d [ 13.254788][ T327] RDX: 0000000000000000 RSI: 0000563e611ccffd RDI: 0000000000000000 [ 13.254789][ T327] RBP: 00007ffcdd428500 R08: 0000000000000000 R09: 0000000000000000 [ 13.254790][ T327] R10: 0000000000000000 R11: 0000000000000246 R12: 0000563e611ccffd [ 13.254791][ T327] R13: 0000563e958b7960 R14: 0000000000040000 R15: 0000000000000000 [ 13.254797][ T327] [ 47.270159][ T626] ip (626) used greatest stack depth: 23328 bytes left [ 47.270179][ T626] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 47.270182][ T626] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 626, name: ip [ 47.270183][ T626] preempt_count: 2, expected: 0 [ 47.270184][ T626] RCU nest depth: 0, expected: 0 [ 47.270185][ T626] locks held by ip/626: 5, last CPU#0: [ 47.270188][ T626] #0: ffffffff8f2027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 47.270201][ T626] #1: ffffffff8f369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 47.270207][ T626] #2: ffffffff8f369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 47.270211][ T626] #3: ffffffff8f289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 47.270215][ T626] #4: ffffffff8f289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 47.270219][ T626] irq event stamp: 27548 [ 47.270220][ T626] hardirqs last enabled at (27547): [] __down_trylock_console_sem+0x86/0xa0 [ 47.270222][ T626] hardirqs last disabled at (27548): [] console_emit_next_record+0x3d4/0x4c0 [ 47.270224][ T626] softirqs last enabled at (26260): [] netlink_release+0x17b/0xcf0 [ 47.270228][ T626] softirqs last disabled at (26258): [] netlink_release+0xd2/0xcf0 [ 47.270230][ T626] Preemption disabled at: [ 47.270231][ T626] [<0000000000000000>] 0x0 [ 47.270238][ T626] CPU: 0 UID: 0 PID: 626 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 47.270242][ T626] Tainted: [W]=WARN [ 47.270243][ T626] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 47.270245][ T626] Call Trace: [ 47.270246][ T626] [ 47.270248][ T626] dump_stack_lvl+0x6f/0xa0 [ 47.270254][ T626] __might_resched.cold+0x1fe/0x2c1 [ 47.270259][ T626] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 47.270263][ T626] ? __kmalloc_noprof+0xdb/0x760 [ 47.270268][ T626] __kmalloc_noprof+0x443/0x760 [ 47.270270][ T626] ? alloc_buf.isra.0+0x4b/0x260 [ 47.270275][ T626] ? do_raw_spin_unlock+0x59/0x250 [ 47.270278][ T626] alloc_buf.isra.0+0x4b/0x260 [ 47.270281][ T626] put_chars+0x1e1/0x2f0 [ 47.270284][ T626] ? __send_to_port+0x420/0x420 [ 47.270285][ T626] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 47.270290][ T626] ? validate_chain+0x38b/0xc20 [ 47.270295][ T626] hvc_console_print+0x292/0x780 [ 47.270301][ T626] ? hvc_write+0x3a0/0x3a0 [ 47.270303][ T626] ? rcu_is_watching+0x16/0xd0 [ 47.270306][ T626] ? lock_acquire+0x13c/0x160 [ 47.270310][ T626] console_emit_next_record+0x22f/0x4c0 [ 47.270313][ T626] ? devkmsg_read+0x4b0/0x4b0 [ 47.270315][ T626] ? console_flush_one_record+0x106/0x710 [ 47.270318][ T626] ? rcu_is_watching+0x16/0xd0 [ 47.270321][ T626] ? lock_acquire+0x13c/0x160 [ 47.270325][ T626] console_flush_one_record+0x46f/0x710 [ 47.270329][ T626] ? console_emit_next_record+0x4c0/0x4c0 [ 47.270330][ T626] ? __lock_acquire+0x518/0xc20 [ 47.270335][ T626] console_unlock+0xee/0x1f0 [ 47.270338][ T626] ? console_flush_one_record+0x710/0x710 [ 47.270340][ T626] ? rcu_is_watching+0x16/0xd0 [ 47.270342][ T626] ? lock_acquire+0x60/0x160 [ 47.270346][ T626] ? __down_trylock_console_sem+0x5e/0xa0 [ 47.270347][ T626] ? vprintk_emit+0x320/0x3e0 [ 47.270351][ T626] vprintk_emit+0x37c/0x3e0 [ 47.270354][ T626] ? wake_up_klogd_work_func+0x90/0x90 [ 47.270358][ T626] ? __lock_acquire+0x518/0xc20 [ 47.270361][ T626] _printk+0xc7/0x100 [ 47.270365][ T626] ? snapshot_read.cold+0x21/0x21 [ 47.270368][ T626] ? do_raw_spin_lock+0x131/0x280 [ 47.270370][ T626] ? __rwlock_init+0x150/0x150 [ 47.270374][ T626] ? do_raw_spin_lock+0x131/0x280 [ 47.270377][ T626] do_exit.cold+0x82/0x9c [ 47.270380][ T626] ? exit_notify+0x890/0x890 [ 47.270382][ T626] ? __lock_release.isra.0+0x69/0x1a0 [ 47.270385][ T626] ? rcu_is_watching+0x16/0xd0 [ 47.270389][ T626] do_group_exit+0xb8/0x370 [ 47.270392][ T626] __x64_sys_exit_group+0x3c/0x50 [ 47.270393][ T626] x64_sys_call+0x1567/0x1570 [ 47.270396][ T626] do_syscall_64+0xff/0x530 [ 47.270399][ T626] ? exc_page_fault+0xee/0x100 [ 47.270402][ T626] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 47.270404][ T626] RIP: 0033:0x7f25444531b8 [ 47.270406][ T626] Code: Unable to access opcode bytes at 0x7f254445318e. [ 47.270407][ T626] RSP: 002b:00007ffc207840f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 47.270410][ T626] RAX: ffffffffffffffda RBX: 00007f2544583f88 RCX: 00007f25444531b8 [ 47.270411][ T626] RDX: 00007f254419dfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 47.270412][ T626] RBP: 00007ffc20784150 R08: 0000000000000000 R09: 0000000000000060 [ 47.270412][ T626] R10: 00007ffc20783f10 R11: 0000000000000246 R12: 0000000000000001 [ 47.270413][ T626] R13: 0000000000000000 R14: 00007f2544582680 R15: 00007f2544583fa0 [ 47.270420][ T626]