[ 10.960139][ T251] gre: GRE over IPv4 demultiplexer driver [ 10.960155][ T251] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.960157][ T251] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 251, name: modprobe [ 10.960159][ T251] preempt_count: 1, expected: 0 [ 10.960160][ T251] RCU nest depth: 0, expected: 0 [ 10.960161][ T251] locks held by modprobe/251: 4, last CPU#3: [ 10.960163][ T251] #0: ffffffff95169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.960174][ T251] #1: ffffffff95169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.960179][ T251] #2: ffffffff95089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.960183][ T251] #3: ffffffff95089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.960187][ T251] irq event stamp: 30716 [ 10.960188][ T251] hardirqs last enabled at (30715): [] __down_trylock_console_sem+0x86/0xa0 [ 10.960190][ T251] hardirqs last disabled at (30716): [] console_emit_next_record+0x3d4/0x4c0 [ 10.960193][ T251] softirqs last enabled at (29926): [] handle_softirqs+0x67c/0x900 [ 10.960196][ T251] softirqs last disabled at (29919): [] __irq_exit_rcu+0x145/0x1c0 [ 10.960198][ T251] Preemption disabled at: [ 10.960199][ T251] [] vprintk_emit+0x31b/0x3e0 [ 10.960205][ T251] CPU: 3 UID: 0 PID: 251 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.960208][ T251] Tainted: [W]=WARN [ 10.960209][ T251] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.960211][ T251] Call Trace: [ 10.960213][ T251] [ 10.960214][ T251] dump_stack_lvl+0x6f/0xa0 [ 10.960220][ T251] ? vprintk_emit+0x31b/0x3e0 [ 10.960222][ T251] __might_resched.cold+0x1fe/0x2c1 [ 10.960227][ T251] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.960231][ T251] ? __kmalloc_noprof+0xdb/0x760 [ 10.960236][ T251] __kmalloc_noprof+0x443/0x760 [ 10.960239][ T251] ? alloc_buf.isra.0+0x4b/0x260 [ 10.960245][ T251] ? do_raw_spin_unlock+0x59/0x250 [ 10.960248][ T251] alloc_buf.isra.0+0x4b/0x260 [ 10.960251][ T251] put_chars+0x1e1/0x2f0 [ 10.960253][ T251] ? desc_read_finalized_seq+0x79/0x120 [ 10.960255][ T251] ? __send_to_port+0x420/0x420 [ 10.960258][ T251] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.960261][ T251] ? validate_chain+0x38b/0xc20 [ 10.960265][ T251] hvc_console_print+0x292/0x780 [ 10.960268][ T251] ? __lock_acquire+0x518/0xc20 [ 10.960270][ T251] ? __lock_acquire+0x518/0xc20 [ 10.960274][ T251] ? hvc_write+0x3a0/0x3a0 [ 10.960276][ T251] ? console_emit_next_record+0x1df/0x4c0 [ 10.960279][ T251] ? rcu_is_watching+0x16/0xd0 [ 10.960282][ T251] ? lock_acquire+0x13c/0x160 [ 10.960286][ T251] console_emit_next_record+0x22f/0x4c0 [ 10.960289][ T251] ? devkmsg_read+0x4b0/0x4b0 [ 10.960291][ T251] ? console_flush_one_record+0x106/0x710 [ 10.960294][ T251] ? rcu_is_watching+0x16/0xd0 [ 10.960297][ T251] ? lock_acquire+0x13c/0x160 [ 10.960301][ T251] console_flush_one_record+0x46f/0x710 [ 10.960305][ T251] ? console_emit_next_record+0x4c0/0x4c0 [ 10.960307][ T251] ? __lock_acquire+0x518/0xc20 [ 10.960312][ T251] console_unlock+0xee/0x1f0 [ 10.960315][ T251] ? console_flush_one_record+0x710/0x710 [ 10.960316][ T251] ? rcu_is_watching+0x16/0xd0 [ 10.960319][ T251] ? lock_acquire+0x60/0x160 [ 10.960322][ T251] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.960324][ T251] ? vprintk_emit+0x320/0x3e0 [ 10.960327][ T251] vprintk_emit+0x37c/0x3e0 [ 10.960331][ T251] ? wake_up_klogd_work_func+0x90/0x90 [ 10.960337][ T251] ? gre_exit+0x3f0/0x3f0 [gre] [ 10.960340][ T251] _printk+0xc7/0x100 [ 10.960344][ T251] ? snapshot_read.cold+0x21/0x21 [ 10.960350][ T251] ? do_one_initcall+0x113/0x4f0 [ 10.960353][ T251] gre_init+0x15/0x1000 [gre] [ 10.960355][ T251] do_one_initcall+0x124/0x4f0 [ 10.960358][ T251] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 10.960363][ T251] ? do_init_module+0xae/0x8a0 [ 10.960366][ T251] ? kasan_unpoison+0x44/0x70 [ 10.960371][ T251] do_init_module+0x2ad/0x8a0 [ 10.960374][ T251] ? lockdep_hardirqs_on+0x91/0x130 [ 10.960379][ T251] ? free_module+0x470/0x470 [ 10.960382][ T251] ? kfree+0x123/0x590 [ 10.960386][ T251] load_module+0x1424/0x1bb0 [ 10.960393][ T251] ? layout_and_allocate.isra.0+0x680/0x680 [ 10.960399][ T251] ? backing_file_read_iter+0x541/0x790 [ 10.960402][ T251] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.960406][ T251] init_module_from_file+0x11f/0x1a0 [ 10.960409][ T251] ? __do_sys_init_module+0x220/0x220 [ 10.960417][ T251] ? __rwlock_init+0x150/0x150 [ 10.960421][ T251] ? do_raw_spin_unlock+0x59/0x250 [ 10.960424][ T251] idempotent_init_module+0x37b/0x7c0 [ 10.960428][ T251] ? init_module_from_file+0x1a0/0x1a0 [ 10.960434][ T251] ? rcu_is_watching+0x16/0xd0 [ 10.960436][ T251] ? cap_capable+0x1d7/0x3d0 [ 10.960442][ T251] __x64_sys_finit_module+0xdf/0x190 [ 10.960444][ T251] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.960448][ T251] do_syscall_64+0xff/0x530 [ 10.960450][ T251] ? exc_page_fault+0xee/0x100 [ 10.960452][ T251] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.960455][ T251] RIP: 0033:0x7fbd97ec237d [ 10.960458][ T251] 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.960460][ T251] RSP: 002b:00007ffd0ca28fc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 10.960462][ T251] RAX: ffffffffffffffda RBX: 0000564965c41a40 RCX: 00007fbd97ec237d [ 10.960464][ T251] RDX: 0000000000000000 RSI: 000056495969affd RDI: 0000000000000001 [ 10.960465][ T251] RBP: 00007ffd0ca29060 R08: 0000000000000000 R09: 0000000000000000 [ 10.960465][ T251] R10: 0000000000000000 R11: 0000000000000246 R12: 000056495969affd [ 10.960466][ T251] R13: 0000564965c41a00 R14: 0000000000040000 R15: 0000000000000000 [ 10.960473][ T251] [ 10.989916][ T251] ip_gre: GRE over IPv4 tunneling driver [ 11.583104][ T273] 8021q: 802.1Q VLAN Support v1.8 [ 12.639983][ T311] GACT probability NOT on [ 12.639998][ T311] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.640000][ T311] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 311, name: modprobe [ 12.640001][ T311] preempt_count: 1, expected: 0 [ 12.640002][ T311] RCU nest depth: 0, expected: 0 [ 12.640003][ T311] locks held by modprobe/311: 4, last CPU#3: [ 12.640005][ T311] #0: ffffffff95169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.640017][ T311] #1: ffffffff95169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.640021][ T311] #2: ffffffff95089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.640030][ T311] #3: ffffffff95089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.640034][ T311] irq event stamp: 23624 [ 12.640035][ T311] hardirqs last enabled at (23623): [] __down_trylock_console_sem+0x86/0xa0 [ 12.640037][ T311] hardirqs last disabled at (23624): [] console_emit_next_record+0x3d4/0x4c0 [ 12.640039][ T311] softirqs last enabled at (22678): [] handle_softirqs+0x67c/0x900 [ 12.640042][ T311] softirqs last disabled at (21889): [] __irq_exit_rcu+0x145/0x1c0 [ 12.640044][ T311] Preemption disabled at: [ 12.640045][ T311] [] vprintk_emit+0x31b/0x3e0 [ 12.640050][ T311] CPU: 3 UID: 0 PID: 311 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.640054][ T311] Tainted: [W]=WARN [ 12.640055][ T311] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.640056][ T311] Call Trace: [ 12.640058][ T311] [ 12.640059][ T311] dump_stack_lvl+0x6f/0xa0 [ 12.640065][ T311] ? vprintk_emit+0x31b/0x3e0 [ 12.640067][ T311] __might_resched.cold+0x1fe/0x2c1 [ 12.640071][ T311] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.640075][ T311] ? __kmalloc_noprof+0xdb/0x760 [ 12.640080][ T311] __kmalloc_noprof+0x443/0x760 [ 12.640083][ T311] ? alloc_buf.isra.0+0x4b/0x260 [ 12.640088][ T311] ? do_raw_spin_unlock+0x59/0x250 [ 12.640091][ T311] alloc_buf.isra.0+0x4b/0x260 [ 12.640094][ T311] put_chars+0x1e1/0x2f0 [ 12.640096][ T311] ? desc_read_finalized_seq+0x79/0x120 [ 12.640098][ T311] ? __send_to_port+0x420/0x420 [ 12.640100][ T311] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.640104][ T311] ? validate_chain+0x38b/0xc20 [ 12.640108][ T311] hvc_console_print+0x292/0x780 [ 12.640110][ T311] ? __lock_acquire+0x518/0xc20 [ 12.640112][ T311] ? __lock_acquire+0x518/0xc20 [ 12.640116][ T311] ? hvc_write+0x3a0/0x3a0 [ 12.640117][ T311] ? console_emit_next_record+0x1df/0x4c0 [ 12.640120][ T311] ? rcu_is_watching+0x16/0xd0 [ 12.640123][ T311] ? lock_acquire+0x13c/0x160 [ 12.640127][ T311] console_emit_next_record+0x22f/0x4c0 [ 12.640130][ T311] ? devkmsg_read+0x4b0/0x4b0 [ 12.640132][ T311] ? console_flush_one_record+0x106/0x710 [ 12.640135][ T311] ? rcu_is_watching+0x16/0xd0 [ 12.640137][ T311] ? lock_acquire+0x13c/0x160 [ 12.640141][ T311] console_flush_one_record+0x46f/0x710 [ 12.640145][ T311] ? console_emit_next_record+0x4c0/0x4c0 [ 12.640147][ T311] ? __lock_acquire+0x518/0xc20 [ 12.640152][ T311] console_unlock+0xee/0x1f0 [ 12.640155][ T311] ? console_flush_one_record+0x710/0x710 [ 12.640156][ T311] ? rcu_is_watching+0x16/0xd0 [ 12.640159][ T311] ? lock_acquire+0x60/0x160 [ 12.640162][ T311] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.640164][ T311] ? vprintk_emit+0x320/0x3e0 [ 12.640167][ T311] vprintk_emit+0x37c/0x3e0 [ 12.640171][ T311] ? wake_up_klogd_work_func+0x90/0x90 [ 12.640176][ T311] ? gre_exit+0x3f0/0x3f0 [gre] [ 12.640179][ T311] _printk+0xc7/0x100 [ 12.640182][ T311] ? snapshot_read.cold+0x21/0x21 [ 12.640188][ T311] ? do_one_initcall+0x113/0x4f0 [ 12.640191][ T311] gact_init_module+0x15/0x1000 [act_gact] [ 12.640194][ T311] do_one_initcall+0x124/0x4f0 [ 12.640196][ T311] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.640201][ T311] ? do_init_module+0xae/0x8a0 [ 12.640204][ T311] ? kasan_unpoison+0x44/0x70 [ 12.640208][ T311] do_init_module+0x2ad/0x8a0 [ 12.640212][ T311] ? lockdep_hardirqs_on+0x91/0x130 [ 12.640216][ T311] ? free_module+0x470/0x470 [ 12.640219][ T311] ? kfree+0x123/0x590 [ 12.640223][ T311] load_module+0x1424/0x1bb0 [ 12.640230][ T311] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.640234][ T311] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.640237][ T311] ? find_held_lock+0x2b/0x80 [ 12.640239][ T311] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.640243][ T311] init_module_from_file+0x11f/0x1a0 [ 12.640246][ T311] ? __do_sys_init_module+0x220/0x220 [ 12.640254][ T311] ? __rwlock_init+0x150/0x150 [ 12.640257][ T311] ? do_raw_spin_unlock+0x59/0x250 [ 12.640260][ T311] idempotent_init_module+0x37b/0x7c0 [ 12.640264][ T311] ? init_module_from_file+0x1a0/0x1a0 [ 12.640270][ T311] ? rcu_is_watching+0x16/0xd0 [ 12.640272][ T311] ? cap_capable+0x1d7/0x3d0 [ 12.640278][ T311] __x64_sys_finit_module+0xdf/0x190 [ 12.640280][ T311] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.640283][ T311] do_syscall_64+0xff/0x530 [ 12.640285][ T311] ? exc_page_fault+0xee/0x100 [ 12.640288][ T311] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.640290][ T311] RIP: 0033:0x7fd08af3a37d [ 12.640293][ T311] 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.640295][ T311] RSP: 002b:00007ffe9ad9e318 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.640298][ T311] RAX: ffffffffffffffda RBX: 000056467a551810 RCX: 00007fd08af3a37d [ 12.640299][ T311] RDX: 0000000000000000 RSI: 0000564657261ffd RDI: 0000000000000000 [ 12.640300][ T311] RBP: 00007ffe9ad9e3b0 R08: 0000000000000000 R09: 0000000000000000 [ 12.640301][ T311] R10: 0000000000000000 R11: 0000000000000246 R12: 0000564657261ffd [ 12.640301][ T311] R13: 000056467a551960 R14: 0000000000040000 R15: 0000000000000000 [ 12.640308][ T311] [ 12.682758][ T309] tc (309) used greatest stack depth: 24104 bytes left