[ 10.478352][ T187] ip (187) used greatest stack depth: 24208 bytes left [ 10.478368][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.478370][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: ip [ 10.478371][ T187] preempt_count: 2, expected: 0 [ 10.478372][ T187] RCU nest depth: 0, expected: 0 [ 10.478373][ T187] locks held by ip/187: 5, last CPU#2: [ 10.478375][ T187] #0: ffffffffa68027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.478388][ T187] #1: ffffffffa6969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.478394][ T187] #2: ffffffffa6969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.478398][ T187] #3: ffffffffa6889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.478401][ T187] #4: ffffffffa6889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.478405][ T187] irq event stamp: 41392 [ 10.478406][ T187] hardirqs last enabled at (41391): [] __down_trylock_console_sem+0x86/0xa0 [ 10.478409][ T187] hardirqs last disabled at (41392): [] console_emit_next_record+0x3d4/0x4c0 [ 10.478411][ T187] softirqs last enabled at (40572): [] handle_softirqs+0x67c/0x900 [ 10.478412][ T187] softirqs last disabled at (40565): [] __irq_exit_rcu+0x145/0x1c0 [ 10.478415][ T187] Preemption disabled at: [ 10.478415][ T187] [<0000000000000000>] 0x0 [ 10.478422][ T187] CPU: 2 UID: 0 PID: 187 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.478425][ T187] Tainted: [W]=WARN [ 10.478426][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.478428][ T187] Call Trace: [ 10.478430][ T187] [ 10.478431][ T187] dump_stack_lvl+0x6f/0xa0 [ 10.478438][ T187] __might_resched.cold+0x1fe/0x2c1 [ 10.478443][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.478447][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 10.478452][ T187] __kmalloc_noprof+0x443/0x760 [ 10.478454][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 10.478460][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 10.478463][ T187] alloc_buf.isra.0+0x4b/0x260 [ 10.478466][ T187] put_chars+0x1e1/0x2f0 [ 10.478469][ T187] ? __send_to_port+0x420/0x420 [ 10.478471][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.478476][ T187] ? validate_chain+0x38b/0xc20 [ 10.478481][ T187] hvc_console_print+0x292/0x780 [ 10.478487][ T187] ? hvc_write+0x3a0/0x3a0 [ 10.478489][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.478492][ T187] ? lock_acquire+0x13c/0x160 [ 10.478496][ T187] console_emit_next_record+0x22f/0x4c0 [ 10.478500][ T187] ? devkmsg_read+0x4b0/0x4b0 [ 10.478502][ T187] ? console_flush_one_record+0x106/0x710 [ 10.478505][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.478507][ T187] ? lock_acquire+0x13c/0x160 [ 10.478511][ T187] console_flush_one_record+0x46f/0x710 [ 10.478516][ T187] ? console_emit_next_record+0x4c0/0x4c0 [ 10.478517][ T187] ? __lock_acquire+0x518/0xc20 [ 10.478523][ T187] console_unlock+0xee/0x1f0 [ 10.478526][ T187] ? console_flush_one_record+0x710/0x710 [ 10.478527][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.478530][ T187] ? lock_acquire+0x60/0x160 [ 10.478533][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.478535][ T187] ? vprintk_emit+0x320/0x3e0 [ 10.478539][ T187] vprintk_emit+0x37c/0x3e0 [ 10.478542][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 10.478546][ T187] ? __lock_acquire+0x518/0xc20 [ 10.478549][ T187] _printk+0xc7/0x100 [ 10.478553][ T187] ? snapshot_read.cold+0x21/0x21 [ 10.478556][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.478559][ T187] ? __rwlock_init+0x150/0x150 [ 10.478563][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.478565][ T187] do_exit.cold+0x82/0x9c [ 10.478569][ T187] ? exit_notify+0x890/0x890 [ 10.478571][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 10.478574][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.478578][ T187] do_group_exit+0xb8/0x370 [ 10.478581][ T187] __x64_sys_exit_group+0x3c/0x50 [ 10.478582][ T187] x64_sys_call+0x1567/0x1570 [ 10.478585][ T187] do_syscall_64+0xff/0x530 [ 10.478588][ T187] ? exc_page_fault+0xee/0x100 [ 10.478591][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.478593][ T187] RIP: 0033:0x7f65e98ec1b8 [ 10.478595][ T187] Code: Unable to access opcode bytes at 0x7f65e98ec18e. [ 10.478597][ T187] RSP: 002b:00007ffd05933838 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.478599][ T187] RAX: ffffffffffffffda RBX: 00007f65e9a1cf88 RCX: 00007f65e98ec1b8 [ 10.478600][ T187] RDX: 00007f65e9636fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.478601][ T187] RBP: 00007ffd05933890 R08: 0000000000000000 R09: 0000000000008010 [ 10.478602][ T187] R10: 00007ffd05933650 R11: 0000000000000246 R12: 0000000000000001 [ 10.478603][ T187] R13: 0000000000000000 R14: 00007f65e9a1b680 R15: 00007f65e9a1cfa0 [ 10.478610][ T187] [ 16.708036][ T249] GACT probability NOT on [ 16.708053][ T249] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.708055][ T249] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 249, name: modprobe [ 16.708057][ T249] preempt_count: 1, expected: 0 [ 16.708058][ T249] RCU nest depth: 0, expected: 0 [ 16.708059][ T249] locks held by modprobe/249: 4, last CPU#1: [ 16.708061][ T249] #0: ffffffffa6969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.708074][ T249] #1: ffffffffa6969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.708081][ T249] #2: ffffffffa6889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.708087][ T249] #3: ffffffffa6889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.708093][ T249] irq event stamp: 24754 [ 16.708094][ T249] hardirqs last enabled at (24753): [] __down_trylock_console_sem+0x86/0xa0 [ 16.708096][ T249] hardirqs last disabled at (24754): [] console_emit_next_record+0x3d4/0x4c0 [ 16.708098][ T249] softirqs last enabled at (23378): [] handle_softirqs+0x67c/0x900 [ 16.708101][ T249] softirqs last disabled at (23019): [] __irq_exit_rcu+0x145/0x1c0 [ 16.708104][ T249] Preemption disabled at: [ 16.708104][ T249] [] vprintk_emit+0x31b/0x3e0 [ 16.708110][ T249] CPU: 1 UID: 0 PID: 249 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.708113][ T249] Tainted: [W]=WARN [ 16.708114][ T249] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.708116][ T249] Call Trace: [ 16.708117][ T249] [ 16.708119][ T249] dump_stack_lvl+0x6f/0xa0 [ 16.708124][ T249] ? vprintk_emit+0x31b/0x3e0 [ 16.708127][ T249] __might_resched.cold+0x1fe/0x2c1 [ 16.708131][ T249] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.708137][ T249] ? __kmalloc_noprof+0xdb/0x760 [ 16.708144][ T249] __kmalloc_noprof+0x443/0x760 [ 16.708147][ T249] ? alloc_buf.isra.0+0x4b/0x260 [ 16.708153][ T249] ? do_raw_spin_unlock+0x59/0x250 [ 16.708155][ T249] alloc_buf.isra.0+0x4b/0x260 [ 16.708158][ T249] put_chars+0x1e1/0x2f0 [ 16.708161][ T249] ? desc_read_finalized_seq+0x79/0x120 [ 16.708163][ T249] ? __send_to_port+0x420/0x420 [ 16.708166][ T249] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.708169][ T249] ? validate_chain+0x38b/0xc20 [ 16.708173][ T249] hvc_console_print+0x292/0x780 [ 16.708176][ T249] ? __lock_acquire+0x518/0xc20 [ 16.708178][ T249] ? __lock_acquire+0x518/0xc20 [ 16.708182][ T249] ? hvc_write+0x3a0/0x3a0 [ 16.708184][ T249] ? console_emit_next_record+0x1df/0x4c0 [ 16.708189][ T249] ? rcu_is_watching+0x16/0xd0 [ 16.708194][ T249] ? lock_acquire+0x13c/0x160 [ 16.708198][ T249] console_emit_next_record+0x22f/0x4c0 [ 16.708202][ T249] ? devkmsg_read+0x4b0/0x4b0 [ 16.708204][ T249] ? console_flush_one_record+0x106/0x710 [ 16.708207][ T249] ? rcu_is_watching+0x16/0xd0 [ 16.708209][ T249] ? lock_acquire+0x13c/0x160 [ 16.708213][ T249] console_flush_one_record+0x46f/0x710 [ 16.708217][ T249] ? console_emit_next_record+0x4c0/0x4c0 [ 16.708219][ T249] ? __lock_acquire+0x518/0xc20 [ 16.708224][ T249] console_unlock+0xee/0x1f0 [ 16.708227][ T249] ? console_flush_one_record+0x710/0x710 [ 16.708228][ T249] ? rcu_is_watching+0x16/0xd0 [ 16.708231][ T249] ? lock_acquire+0x60/0x160 [ 16.708235][ T249] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.708237][ T249] ? vprintk_emit+0x320/0x3e0 [ 16.708243][ T249] vprintk_emit+0x37c/0x3e0 [ 16.708247][ T249] ? wake_up_klogd_work_func+0x90/0x90 [ 16.708253][ T249] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 16.708256][ T249] _printk+0xc7/0x100 [ 16.708260][ T249] ? snapshot_read.cold+0x21/0x21 [ 16.708266][ T249] ? do_one_initcall+0x113/0x4f0 [ 16.708269][ T249] gact_init_module+0x15/0x1000 [act_gact] [ 16.708271][ T249] do_one_initcall+0x124/0x4f0 [ 16.708274][ T249] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 16.708278][ T249] ? do_init_module+0xae/0x8a0 [ 16.708282][ T249] ? kasan_unpoison+0x44/0x70 [ 16.708286][ T249] do_init_module+0x2ad/0x8a0 [ 16.708290][ T249] ? lockdep_hardirqs_on+0x91/0x130 [ 16.708294][ T249] ? free_module+0x470/0x470 [ 16.708297][ T249] ? kfree+0x123/0x590 [ 16.708301][ T249] load_module+0x1424/0x1bb0 [ 16.708309][ T249] ? layout_and_allocate.isra.0+0x680/0x680 [ 16.708312][ T249] ? __ia32_sys_fsconfig+0x180/0x180 [ 16.708316][ T249] ? find_held_lock+0x2b/0x80 [ 16.708318][ T249] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.708322][ T249] init_module_from_file+0x11f/0x1a0 [ 16.708326][ T249] ? __do_sys_init_module+0x220/0x220 [ 16.708334][ T249] ? __rwlock_init+0x150/0x150 [ 16.708340][ T249] ? do_raw_spin_unlock+0x59/0x250 [ 16.708345][ T249] idempotent_init_module+0x37b/0x7c0 [ 16.708349][ T249] ? init_module_from_file+0x1a0/0x1a0 [ 16.708355][ T249] ? rcu_is_watching+0x16/0xd0 [ 16.708358][ T249] ? cap_capable+0x1d7/0x3d0 [ 16.708364][ T249] __x64_sys_finit_module+0xdf/0x190 [ 16.708366][ T249] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.708369][ T249] do_syscall_64+0xff/0x530 [ 16.708371][ T249] ? exc_page_fault+0xee/0x100 [ 16.708374][ T249] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.708376][ T249] RIP: 0033:0x7f4d45d1837d [ 16.708380][ T249] 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 [ 16.708382][ T249] RSP: 002b:00007ffc1d8cb408 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 16.708385][ T249] RAX: ffffffffffffffda RBX: 000055d55984a810 RCX: 00007f4d45d1837d [ 16.708386][ T249] RDX: 0000000000000000 RSI: 000055d54c890ffd RDI: 0000000000000000 [ 16.708387][ T249] RBP: 00007ffc1d8cb4a0 R08: 0000000000000000 R09: 0000000000000000 [ 16.708389][ T249] R10: 0000000000000000 R11: 0000000000000246 R12: 000055d54c890ffd [ 16.708390][ T249] R13: 000055d55984a960 R14: 0000000000040000 R15: 0000000000000000 [ 16.708401][ T249] [ 27.436401][ T1282] 8021q: 802.1Q VLAN Support v1.8 [ 27.436419][ T1282] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 27.436421][ T1282] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1282, name: modprobe [ 27.436423][ T1282] preempt_count: 1, expected: 0 [ 27.436424][ T1282] RCU nest depth: 0, expected: 0 [ 27.436425][ T1282] locks held by modprobe/1282: 4, last CPU#2: [ 27.436427][ T1282] #0: ffffffffa6969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 27.436439][ T1282] #1: ffffffffa6969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 27.436443][ T1282] #2: ffffffffa6889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 27.436447][ T1282] #3: ffffffffa6889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 27.436451][ T1282] irq event stamp: 29302 [ 27.436452][ T1282] hardirqs last enabled at (29301): [] __down_trylock_console_sem+0x86/0xa0 [ 27.436455][ T1282] hardirqs last disabled at (29302): [] console_emit_next_record+0x3d4/0x4c0 [ 27.436457][ T1282] softirqs last enabled at (25922): [] handle_softirqs+0x67c/0x900 [ 27.436460][ T1282] softirqs last disabled at (25447): [] __irq_exit_rcu+0x145/0x1c0 [ 27.436462][ T1282] Preemption disabled at: [ 27.436462][ T1282] [] vprintk_emit+0x31b/0x3e0 [ 27.436468][ T1282] CPU: 2 UID: 0 PID: 1282 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.436472][ T1282] Tainted: [W]=WARN [ 27.436473][ T1282] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 27.436474][ T1282] Call Trace: [ 27.436475][ T1282] [ 27.436477][ T1282] dump_stack_lvl+0x6f/0xa0 [ 27.436482][ T1282] ? vprintk_emit+0x31b/0x3e0 [ 27.436484][ T1282] __might_resched.cold+0x1fe/0x2c1 [ 27.436489][ T1282] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 27.436493][ T1282] ? __kmalloc_noprof+0xdb/0x760 [ 27.436498][ T1282] __kmalloc_noprof+0x443/0x760 [ 27.436500][ T1282] ? alloc_buf.isra.0+0x4b/0x260 [ 27.436506][ T1282] ? do_raw_spin_unlock+0x59/0x250 [ 27.436509][ T1282] alloc_buf.isra.0+0x4b/0x260 [ 27.436512][ T1282] put_chars+0x1e1/0x2f0 [ 27.436514][ T1282] ? __send_to_port+0x420/0x420 [ 27.436516][ T1282] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 27.436520][ T1282] ? rcu_read_lock_any_held+0x3c/0x90 [ 27.436523][ T1282] ? validate_chain+0x38b/0xc20 [ 27.436527][ T1282] hvc_console_print+0x292/0x780 [ 27.436530][ T1282] ? __lock_acquire+0x518/0xc20 [ 27.436535][ T1282] ? hvc_write+0x3a0/0x3a0 [ 27.436537][ T1282] ? rcu_is_watching+0x16/0xd0 [ 27.436542][ T1282] console_emit_next_record+0x22f/0x4c0 [ 27.436546][ T1282] ? devkmsg_read+0x4b0/0x4b0 [ 27.436547][ T1282] ? console_flush_one_record+0x106/0x710 [ 27.436550][ T1282] ? rcu_is_watching+0x16/0xd0 [ 27.436553][ T1282] ? lock_acquire+0x13c/0x160 [ 27.436556][ T1282] console_flush_one_record+0x46f/0x710 [ 27.436560][ T1282] ? console_emit_next_record+0x4c0/0x4c0 [ 27.436562][ T1282] ? __lock_acquire+0x518/0xc20 [ 27.436567][ T1282] console_unlock+0xee/0x1f0 [ 27.436570][ T1282] ? console_flush_one_record+0x710/0x710 [ 27.436572][ T1282] ? rcu_is_watching+0x16/0xd0 [ 27.436574][ T1282] ? lock_acquire+0x60/0x160 [ 27.436577][ T1282] ? __down_trylock_console_sem+0x5e/0xa0 [ 27.436579][ T1282] ? vprintk_emit+0x320/0x3e0 [ 27.436582][ T1282] vprintk_emit+0x37c/0x3e0 [ 27.436586][ T1282] ? wake_up_klogd_work_func+0x90/0x90 [ 27.436592][ T1282] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 27.436595][ T1282] _printk+0xc7/0x100 [ 27.436599][ T1282] ? snapshot_read.cold+0x21/0x21 [ 27.436605][ T1282] ? do_one_initcall+0x113/0x4f0 [ 27.436608][ T1282] vlan_proto_init+0x24/0x90 [8021q] [ 27.436611][ T1282] do_one_initcall+0x124/0x4f0 [ 27.436613][ T1282] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 27.436618][ T1282] ? do_init_module+0xae/0x8a0 [ 27.436621][ T1282] ? kasan_unpoison+0x44/0x70 [ 27.436625][ T1282] do_init_module+0x2ad/0x8a0 [ 27.436629][ T1282] ? lockdep_hardirqs_on+0x91/0x130 [ 27.436633][ T1282] ? free_module+0x470/0x470 [ 27.436636][ T1282] ? kfree+0x123/0x590 [ 27.436640][ T1282] load_module+0x1424/0x1bb0 [ 27.436647][ T1282] ? layout_and_allocate.isra.0+0x680/0x680 [ 27.436651][ T1282] ? __ia32_sys_fsconfig+0x180/0x180 [ 27.436654][ T1282] ? ovl_real_file+0x172/0x1e0 [ 27.436658][ T1282] ? backing_file_read_iter+0x541/0x790 [ 27.436661][ T1282] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 27.436664][ T1282] init_module_from_file+0x11f/0x1a0 [ 27.436667][ T1282] ? __do_sys_init_module+0x220/0x220 [ 27.436675][ T1282] ? __rwlock_init+0x150/0x150 [ 27.436678][ T1282] ? do_raw_spin_unlock+0x59/0x250 [ 27.436681][ T1282] idempotent_init_module+0x37b/0x7c0 [ 27.436685][ T1282] ? init_module_from_file+0x1a0/0x1a0 [ 27.436691][ T1282] ? rcu_is_watching+0x16/0xd0 [ 27.436693][ T1282] ? cap_capable+0x1d7/0x3d0 [ 27.436699][ T1282] __x64_sys_finit_module+0xdf/0x190 [ 27.436701][ T1282] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 27.436704][ T1282] do_syscall_64+0xff/0x530 [ 27.436706][ T1282] ? exc_page_fault+0xee/0x100 [ 27.436709][ T1282] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.436711][ T1282] RIP: 0033:0x7f29d5b8437d [ 27.436714][ T1282] 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 [ 27.436716][ T1282] RSP: 002b:00007ffd03b5d928 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 27.436719][ T1282] RAX: ffffffffffffffda RBX: 000055a6db6fb810 RCX: 00007f29d5b8437d [ 27.436720][ T1282] RDX: 0000000000000000 RSI: 000055a6a4b9cffd RDI: 0000000000000000 [ 27.436721][ T1282] RBP: 00007ffd03b5d9c0 R08: 0000000000000000 R09: 0000000000000000 [ 27.436722][ T1282] R10: 0000000000000000 R11: 0000000000000246 R12: 000055a6a4b9cffd [ 27.436723][ T1282] R13: 000055a6db6fb960 R14: 0000000000040000 R15: 0000000000000000 [ 27.436729][ T1282] [ 47.252876][ T3004] gre: GRE over IPv4 demultiplexer driver [ 47.252892][ T3004] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 47.252894][ T3004] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 3004, name: modprobe [ 47.252896][ T3004] preempt_count: 1, expected: 0 [ 47.252897][ T3004] RCU nest depth: 0, expected: 0 [ 47.252898][ T3004] locks held by modprobe/3004: 4, last CPU#0: [ 47.252900][ T3004] #0: ffffffffa6969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 47.252913][ T3004] #1: ffffffffa6969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 47.252917][ T3004] #2: ffffffffa6889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 47.252921][ T3004] #3: ffffffffa6889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 47.252925][ T3004] irq event stamp: 34796 [ 47.252926][ T3004] hardirqs last enabled at (34795): [] __down_trylock_console_sem+0x86/0xa0 [ 47.252929][ T3004] hardirqs last disabled at (34796): [] console_emit_next_record+0x3d4/0x4c0 [ 47.252931][ T3004] softirqs last enabled at (33250): [] handle_softirqs+0x67c/0x900 [ 47.252934][ T3004] softirqs last disabled at (33241): [] __irq_exit_rcu+0x145/0x1c0 [ 47.252936][ T3004] Preemption disabled at: [ 47.252937][ T3004] [] vprintk_emit+0x31b/0x3e0 [ 47.252943][ T3004] CPU: 0 UID: 0 PID: 3004 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 47.252946][ T3004] Tainted: [W]=WARN [ 47.252947][ T3004] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 47.252949][ T3004] Call Trace: [ 47.252953][ T3004] [ 47.252954][ T3004] dump_stack_lvl+0x6f/0xa0 [ 47.252960][ T3004] ? vprintk_emit+0x31b/0x3e0 [ 47.252962][ T3004] __might_resched.cold+0x1fe/0x2c1 [ 47.252967][ T3004] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 47.252971][ T3004] ? __kmalloc_noprof+0xdb/0x760 [ 47.252976][ T3004] __kmalloc_noprof+0x443/0x760 [ 47.252978][ T3004] ? alloc_buf.isra.0+0x4b/0x260 [ 47.252984][ T3004] ? do_raw_spin_unlock+0x59/0x250 [ 47.252987][ T3004] alloc_buf.isra.0+0x4b/0x260 [ 47.252990][ T3004] put_chars+0x1e1/0x2f0 [ 47.252992][ T3004] ? desc_read_finalized_seq+0x79/0x120 [ 47.252994][ T3004] ? __send_to_port+0x420/0x420 [ 47.252997][ T3004] ? rcu_read_lock_any_held+0x3c/0x90 [ 47.253001][ T3004] ? validate_chain+0x38b/0xc20 [ 47.253005][ T3004] hvc_console_print+0x292/0x780 [ 47.253008][ T3004] ? __lock_acquire+0x518/0xc20 [ 47.253009][ T3004] ? __lock_acquire+0x518/0xc20 [ 47.253014][ T3004] ? hvc_write+0x3a0/0x3a0 [ 47.253015][ T3004] ? console_emit_next_record+0x1df/0x4c0 [ 47.253018][ T3004] ? rcu_is_watching+0x16/0xd0 [ 47.253021][ T3004] ? lock_acquire+0x13c/0x160 [ 47.253024][ T3004] console_emit_next_record+0x22f/0x4c0 [ 47.253028][ T3004] ? devkmsg_read+0x4b0/0x4b0 [ 47.253030][ T3004] ? console_flush_one_record+0x106/0x710 [ 47.253033][ T3004] ? rcu_is_watching+0x16/0xd0 [ 47.253036][ T3004] ? lock_acquire+0x13c/0x160 [ 47.253039][ T3004] console_flush_one_record+0x46f/0x710 [ 47.253043][ T3004] ? console_emit_next_record+0x4c0/0x4c0 [ 47.253045][ T3004] ? __lock_acquire+0x518/0xc20 [ 47.253050][ T3004] console_unlock+0xee/0x1f0 [ 47.253053][ T3004] ? console_flush_one_record+0x710/0x710 [ 47.253055][ T3004] ? rcu_is_watching+0x16/0xd0 [ 47.253057][ T3004] ? lock_acquire+0x60/0x160 [ 47.253060][ T3004] ? __down_trylock_console_sem+0x5e/0xa0 [ 47.253062][ T3004] ? vprintk_emit+0x320/0x3e0 [ 47.253065][ T3004] vprintk_emit+0x37c/0x3e0 [ 47.253070][ T3004] ? wake_up_klogd_work_func+0x90/0x90 [ 47.253075][ T3004] ? gre_exit+0x3f0/0x3f0 [gre] [ 47.253078][ T3004] _printk+0xc7/0x100 [ 47.253082][ T3004] ? snapshot_read.cold+0x21/0x21 [ 47.253088][ T3004] ? do_one_initcall+0x113/0x4f0 [ 47.253091][ T3004] gre_init+0x15/0x1000 [gre] [ 47.253093][ T3004] do_one_initcall+0x124/0x4f0 [ 47.253096][ T3004] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 47.253100][ T3004] ? do_init_module+0xae/0x8a0 [ 47.253103][ T3004] ? kasan_unpoison+0x44/0x70 [ 47.253108][ T3004] do_init_module+0x2ad/0x8a0 [ 47.253112][ T3004] ? lockdep_hardirqs_on+0x91/0x130 [ 47.253116][ T3004] ? free_module+0x470/0x470 [ 47.253119][ T3004] ? kfree+0x123/0x590 [ 47.253123][ T3004] load_module+0x1424/0x1bb0 [ 47.253130][ T3004] ? layout_and_allocate.isra.0+0x680/0x680 [ 47.253135][ T3004] ? backing_file_read_iter+0x541/0x790 [ 47.253139][ T3004] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 47.253142][ T3004] init_module_from_file+0x11f/0x1a0 [ 47.253146][ T3004] ? __do_sys_init_module+0x220/0x220 [ 47.253154][ T3004] ? __rwlock_init+0x150/0x150 [ 47.253157][ T3004] ? do_raw_spin_unlock+0x59/0x250 [ 47.253160][ T3004] idempotent_init_module+0x37b/0x7c0 [ 47.253164][ T3004] ? init_module_from_file+0x1a0/0x1a0 [ 47.253170][ T3004] ? rcu_is_watching+0x16/0xd0 [ 47.253172][ T3004] ? cap_capable+0x1d7/0x3d0 [ 47.253179][ T3004] __x64_sys_finit_module+0xdf/0x190 [ 47.253181][ T3004] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 47.253185][ T3004] do_syscall_64+0xff/0x530 [ 47.253192][ T3004] ? exc_page_fault+0xee/0x100 [ 47.253195][ T3004] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 47.253197][ T3004] RIP: 0033:0x7f61dada537d [ 47.253201][ T3004] 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 [ 47.253203][ T3004] RSP: 002b:00007ffe39ebd508 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 47.253206][ T3004] RAX: ffffffffffffffda RBX: 00005653f8499a40 RCX: 00007f61dada537d [ 47.253207][ T3004] RDX: 0000000000000000 RSI: 00005653e9166ffd RDI: 0000000000000001 [ 47.253208][ T3004] RBP: 00007ffe39ebd5a0 R08: 0000000000000000 R09: 0000000000000000 [ 47.253209][ T3004] R10: 0000000000000000 R11: 0000000000000246 R12: 00005653e9166ffd [ 47.253210][ T3004] R13: 00005653f8499a00 R14: 0000000000040000 R15: 0000000000000000 [ 47.253217][ T3004] [ 47.298392][ T3004] ip_gre: GRE over IPv4 tunneling driver