[ 9.918575][ T188] ip (188) used greatest stack depth: 24016 bytes left [ 9.918592][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.918594][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 9.918595][ T188] preempt_count: 2, expected: 0 [ 9.918596][ T188] RCU nest depth: 0, expected: 0 [ 9.918597][ T188] locks held by ip/188: 5, last CPU#1: [ 9.918599][ T188] #0: ffffffff920027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.918612][ T188] #1: ffffffff92169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.918618][ T188] #2: ffffffff92169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.918621][ T188] #3: ffffffff92089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.918625][ T188] #4: ffffffff92089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.918629][ T188] irq event stamp: 38560 [ 9.918630][ T188] hardirqs last enabled at (38559): [] __down_trylock_console_sem+0x86/0xa0 [ 9.918633][ T188] hardirqs last disabled at (38560): [] console_emit_next_record+0x3d4/0x4c0 [ 9.918635][ T188] softirqs last enabled at (37590): [] handle_softirqs+0x67c/0x900 [ 9.918637][ T188] softirqs last disabled at (37585): [] __irq_exit_rcu+0x145/0x1c0 [ 9.918639][ T188] Preemption disabled at: [ 9.918640][ T188] [<0000000000000000>] 0x0 [ 9.918646][ T188] CPU: 1 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.918650][ T188] Tainted: [W]=WARN [ 9.918651][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.918661][ T188] Call Trace: [ 9.918663][ T188] [ 9.918664][ T188] dump_stack_lvl+0x6f/0xa0 [ 9.918670][ T188] __might_resched.cold+0x1fe/0x2c1 [ 9.918675][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.918679][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 9.918684][ T188] __kmalloc_noprof+0x443/0x760 [ 9.918686][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 9.918692][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 9.918695][ T188] alloc_buf.isra.0+0x4b/0x260 [ 9.918698][ T188] put_chars+0x1e1/0x2f0 [ 9.918701][ T188] ? __send_to_port+0x420/0x420 [ 9.918702][ T188] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.918707][ T188] ? validate_chain+0x38b/0xc20 [ 9.918712][ T188] hvc_console_print+0x292/0x780 [ 9.918718][ T188] ? hvc_write+0x3a0/0x3a0 [ 9.918720][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.918723][ T188] ? lock_acquire+0x13c/0x160 [ 9.918727][ T188] console_emit_next_record+0x22f/0x4c0 [ 9.918731][ T188] ? devkmsg_read+0x4b0/0x4b0 [ 9.918733][ T188] ? console_flush_one_record+0x106/0x710 [ 9.918736][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.918738][ T188] ? lock_acquire+0x13c/0x160 [ 9.918742][ T188] console_flush_one_record+0x46f/0x710 [ 9.918746][ T188] ? console_emit_next_record+0x4c0/0x4c0 [ 9.918748][ T188] ? __lock_acquire+0x518/0xc20 [ 9.918753][ T188] console_unlock+0xee/0x1f0 [ 9.918756][ T188] ? console_flush_one_record+0x710/0x710 [ 9.918758][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.918760][ T188] ? lock_acquire+0x60/0x160 [ 9.918764][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.918766][ T188] ? vprintk_emit+0x320/0x3e0 [ 9.918769][ T188] vprintk_emit+0x37c/0x3e0 [ 9.918773][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 9.918776][ T188] ? __lock_acquire+0x518/0xc20 [ 9.918780][ T188] _printk+0xc7/0x100 [ 9.918784][ T188] ? snapshot_read.cold+0x21/0x21 [ 9.918787][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.918789][ T188] ? __rwlock_init+0x150/0x150 [ 9.918793][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.918796][ T188] do_exit.cold+0x82/0x9c [ 9.918803][ T188] ? exit_notify+0x890/0x890 [ 9.918805][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 9.918807][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.918812][ T188] do_group_exit+0xb8/0x370 [ 9.918814][ T188] __x64_sys_exit_group+0x3c/0x50 [ 9.918816][ T188] x64_sys_call+0x1567/0x1570 [ 9.918818][ T188] do_syscall_64+0xff/0x530 [ 9.918822][ T188] ? exc_page_fault+0xee/0x100 [ 9.918825][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.918827][ T188] RIP: 0033:0x7f53bdf801b8 [ 9.918829][ T188] Code: Unable to access opcode bytes at 0x7f53bdf8018e. [ 9.918830][ T188] RSP: 002b:00007ffd3b68b4e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.918833][ T188] RAX: ffffffffffffffda RBX: 00007f53be0b0f88 RCX: 00007f53bdf801b8 [ 9.918834][ T188] RDX: 00007f53bdccafc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.918835][ T188] RBP: 00007ffd3b68b540 R08: 0000000000000000 R09: 0000000000008010 [ 9.918836][ T188] R10: 00007ffd3b68b300 R11: 0000000000000246 R12: 0000000000000001 [ 9.918837][ T188] R13: 0000000000000000 R14: 00007f53be0af680 R15: 00007f53be0b0fa0 [ 9.918843][ T188] [ 16.102146][ T250] GACT probability NOT on [ 16.102165][ T250] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.102168][ T250] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 250, name: modprobe [ 16.102170][ T250] preempt_count: 1, expected: 0 [ 16.102171][ T250] RCU nest depth: 0, expected: 0 [ 16.102172][ T250] locks held by modprobe/250: 4, last CPU#3: [ 16.102174][ T250] #0: ffffffff92169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.102187][ T250] #1: ffffffff92169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.102191][ T250] #2: ffffffff92089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.102195][ T250] #3: ffffffff92089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.102199][ T250] irq event stamp: 22622 [ 16.102200][ T250] hardirqs last enabled at (22621): [] __down_trylock_console_sem+0x86/0xa0 [ 16.102202][ T250] hardirqs last disabled at (22622): [] console_emit_next_record+0x3d4/0x4c0 [ 16.102204][ T250] softirqs last enabled at (17850): [] handle_softirqs+0x67c/0x900 [ 16.102208][ T250] softirqs last disabled at (17845): [] __irq_exit_rcu+0x145/0x1c0 [ 16.102210][ T250] Preemption disabled at: [ 16.102211][ T250] [] vprintk_emit+0x31b/0x3e0 [ 16.102216][ T250] CPU: 3 UID: 0 PID: 250 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.102220][ T250] Tainted: [W]=WARN [ 16.102221][ T250] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.102224][ T250] Call Trace: [ 16.102225][ T250] [ 16.102227][ T250] dump_stack_lvl+0x6f/0xa0 [ 16.102232][ T250] ? vprintk_emit+0x31b/0x3e0 [ 16.102234][ T250] __might_resched.cold+0x1fe/0x2c1 [ 16.102239][ T250] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.102243][ T250] ? __kmalloc_noprof+0xdb/0x760 [ 16.102248][ T250] __kmalloc_noprof+0x443/0x760 [ 16.102250][ T250] ? alloc_buf.isra.0+0x4b/0x260 [ 16.102255][ T250] ? do_raw_spin_unlock+0x59/0x250 [ 16.102258][ T250] alloc_buf.isra.0+0x4b/0x260 [ 16.102261][ T250] put_chars+0x1e1/0x2f0 [ 16.102263][ T250] ? desc_read_finalized_seq+0x79/0x120 [ 16.102265][ T250] ? __send_to_port+0x420/0x420 [ 16.102268][ T250] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.102272][ T250] ? validate_chain+0x38b/0xc20 [ 16.102276][ T250] hvc_console_print+0x292/0x780 [ 16.102279][ T250] ? __lock_acquire+0x518/0xc20 [ 16.102280][ T250] ? __lock_acquire+0x518/0xc20 [ 16.102285][ T250] ? hvc_write+0x3a0/0x3a0 [ 16.102286][ T250] ? console_emit_next_record+0x1df/0x4c0 [ 16.102289][ T250] ? rcu_is_watching+0x16/0xd0 [ 16.102292][ T250] ? lock_acquire+0x13c/0x160 [ 16.102296][ T250] console_emit_next_record+0x22f/0x4c0 [ 16.102299][ T250] ? devkmsg_read+0x4b0/0x4b0 [ 16.102301][ T250] ? console_flush_one_record+0x106/0x710 [ 16.102304][ T250] ? rcu_is_watching+0x16/0xd0 [ 16.102306][ T250] ? lock_acquire+0x13c/0x160 [ 16.102310][ T250] console_flush_one_record+0x46f/0x710 [ 16.102314][ T250] ? console_emit_next_record+0x4c0/0x4c0 [ 16.102316][ T250] ? __lock_acquire+0x518/0xc20 [ 16.102321][ T250] console_unlock+0xee/0x1f0 [ 16.102323][ T250] ? console_flush_one_record+0x710/0x710 [ 16.102325][ T250] ? rcu_is_watching+0x16/0xd0 [ 16.102327][ T250] ? lock_acquire+0x60/0x160 [ 16.102331][ T250] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.102333][ T250] ? vprintk_emit+0x320/0x3e0 [ 16.102336][ T250] vprintk_emit+0x37c/0x3e0 [ 16.102340][ T250] ? wake_up_klogd_work_func+0x90/0x90 [ 16.102345][ T250] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 16.102348][ T250] _printk+0xc7/0x100 [ 16.102351][ T250] ? snapshot_read.cold+0x21/0x21 [ 16.102357][ T250] ? do_one_initcall+0x113/0x4f0 [ 16.102360][ T250] gact_init_module+0x15/0x1000 [act_gact] [ 16.102363][ T250] do_one_initcall+0x124/0x4f0 [ 16.102365][ T250] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 16.102370][ T250] ? do_init_module+0xae/0x8a0 [ 16.102373][ T250] ? kasan_unpoison+0x44/0x70 [ 16.102377][ T250] do_init_module+0x2ad/0x8a0 [ 16.102381][ T250] ? lockdep_hardirqs_on+0x91/0x130 [ 16.102385][ T250] ? free_module+0x470/0x470 [ 16.102388][ T250] ? kfree+0x123/0x590 [ 16.102392][ T250] load_module+0x1424/0x1bb0 [ 16.102399][ T250] ? layout_and_allocate.isra.0+0x680/0x680 [ 16.102403][ T250] ? __ia32_sys_fsconfig+0x180/0x180 [ 16.102406][ T250] ? find_held_lock+0x2b/0x80 [ 16.102409][ T250] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.102413][ T250] init_module_from_file+0x11f/0x1a0 [ 16.102416][ T250] ? __do_sys_init_module+0x220/0x220 [ 16.102424][ T250] ? __rwlock_init+0x150/0x150 [ 16.102427][ T250] ? do_raw_spin_unlock+0x59/0x250 [ 16.102430][ T250] idempotent_init_module+0x37b/0x7c0 [ 16.102433][ T250] ? init_module_from_file+0x1a0/0x1a0 [ 16.102439][ T250] ? rcu_is_watching+0x16/0xd0 [ 16.102442][ T250] ? cap_capable+0x1d7/0x3d0 [ 16.102448][ T250] __x64_sys_finit_module+0xdf/0x190 [ 16.102450][ T250] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.102453][ T250] do_syscall_64+0xff/0x530 [ 16.102455][ T250] ? exc_page_fault+0xee/0x100 [ 16.102458][ T250] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.102460][ T250] RIP: 0033:0x7fce48c5a37d [ 16.102463][ T250] 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.102465][ T250] RSP: 002b:00007ffd918c42a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 16.102468][ T250] RAX: ffffffffffffffda RBX: 000055ad85d7f810 RCX: 00007fce48c5a37d [ 16.102469][ T250] RDX: 0000000000000000 RSI: 000055ad66ce2ffd RDI: 0000000000000000 [ 16.102470][ T250] RBP: 00007ffd918c4340 R08: 0000000000000000 R09: 0000000000000000 [ 16.102471][ T250] R10: 0000000000000000 R11: 0000000000000246 R12: 000055ad66ce2ffd [ 16.102472][ T250] R13: 000055ad85d7f960 R14: 0000000000040000 R15: 0000000000000000 [ 16.102478][ T250] [ 27.445303][ T1138] 8021q: 802.1Q VLAN Support v1.8 [ 27.445322][ T1138] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 27.445325][ T1138] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1138, name: modprobe [ 27.445326][ T1138] preempt_count: 1, expected: 0 [ 27.445327][ T1138] RCU nest depth: 0, expected: 0 [ 27.445328][ T1138] locks held by modprobe/1138: 4, last CPU#3: [ 27.445330][ T1138] #0: ffffffff92169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 27.445343][ T1138] #1: ffffffff92169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 27.445347][ T1138] #2: ffffffff92089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 27.445351][ T1138] #3: ffffffff92089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 27.445354][ T1138] irq event stamp: 30696 [ 27.445355][ T1138] hardirqs last enabled at (30695): [] __down_trylock_console_sem+0x86/0xa0 [ 27.445358][ T1138] hardirqs last disabled at (30696): [] console_emit_next_record+0x3d4/0x4c0 [ 27.445360][ T1138] softirqs last enabled at (28100): [] handle_softirqs+0x67c/0x900 [ 27.445363][ T1138] softirqs last disabled at (27323): [] __irq_exit_rcu+0x145/0x1c0 [ 27.445365][ T1138] Preemption disabled at: [ 27.445366][ T1138] [] vprintk_emit+0x31b/0x3e0 [ 27.445372][ T1138] CPU: 3 UID: 0 PID: 1138 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.445375][ T1138] Tainted: [W]=WARN [ 27.445376][ T1138] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 27.445379][ T1138] Call Trace: [ 27.445380][ T1138] [ 27.445382][ T1138] dump_stack_lvl+0x6f/0xa0 [ 27.445387][ T1138] ? vprintk_emit+0x31b/0x3e0 [ 27.445389][ T1138] __might_resched.cold+0x1fe/0x2c1 [ 27.445394][ T1138] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 27.445398][ T1138] ? __kmalloc_noprof+0xdb/0x760 [ 27.445403][ T1138] __kmalloc_noprof+0x443/0x760 [ 27.445405][ T1138] ? alloc_buf.isra.0+0x4b/0x260 [ 27.445411][ T1138] ? do_raw_spin_unlock+0x59/0x250 [ 27.445414][ T1138] alloc_buf.isra.0+0x4b/0x260 [ 27.445417][ T1138] put_chars+0x1e1/0x2f0 [ 27.445420][ T1138] ? __send_to_port+0x420/0x420 [ 27.445421][ T1138] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 27.445426][ T1138] ? rcu_read_lock_any_held+0x3c/0x90 [ 27.445428][ T1138] ? validate_chain+0x38b/0xc20 [ 27.445433][ T1138] hvc_console_print+0x292/0x780 [ 27.445435][ T1138] ? __lock_acquire+0x518/0xc20 [ 27.445440][ T1138] ? hvc_write+0x3a0/0x3a0 [ 27.445443][ T1138] ? rcu_is_watching+0x16/0xd0 [ 27.445447][ T1138] console_emit_next_record+0x22f/0x4c0 [ 27.445451][ T1138] ? devkmsg_read+0x4b0/0x4b0 [ 27.445453][ T1138] ? console_flush_one_record+0x106/0x710 [ 27.445456][ T1138] ? rcu_is_watching+0x16/0xd0 [ 27.445458][ T1138] ? lock_acquire+0x13c/0x160 [ 27.445462][ T1138] console_flush_one_record+0x46f/0x710 [ 27.445466][ T1138] ? console_emit_next_record+0x4c0/0x4c0 [ 27.445468][ T1138] ? __lock_acquire+0x518/0xc20 [ 27.445472][ T1138] console_unlock+0xee/0x1f0 [ 27.445475][ T1138] ? console_flush_one_record+0x710/0x710 [ 27.445477][ T1138] ? rcu_is_watching+0x16/0xd0 [ 27.445479][ T1138] ? lock_acquire+0x60/0x160 [ 27.445483][ T1138] ? __down_trylock_console_sem+0x5e/0xa0 [ 27.445484][ T1138] ? vprintk_emit+0x320/0x3e0 [ 27.445488][ T1138] vprintk_emit+0x37c/0x3e0 [ 27.445492][ T1138] ? wake_up_klogd_work_func+0x90/0x90 [ 27.445497][ T1138] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 27.445501][ T1138] _printk+0xc7/0x100 [ 27.445505][ T1138] ? snapshot_read.cold+0x21/0x21 [ 27.445511][ T1138] ? do_one_initcall+0x113/0x4f0 [ 27.445514][ T1138] vlan_proto_init+0x24/0x90 [8021q] [ 27.445517][ T1138] do_one_initcall+0x124/0x4f0 [ 27.445519][ T1138] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 27.445524][ T1138] ? do_init_module+0xae/0x8a0 [ 27.445527][ T1138] ? kasan_unpoison+0x44/0x70 [ 27.445532][ T1138] do_init_module+0x2ad/0x8a0 [ 27.445535][ T1138] ? lockdep_hardirqs_on+0x91/0x130 [ 27.445539][ T1138] ? free_module+0x470/0x470 [ 27.445542][ T1138] ? kfree+0x123/0x590 [ 27.445546][ T1138] load_module+0x1424/0x1bb0 [ 27.445553][ T1138] ? layout_and_allocate.isra.0+0x680/0x680 [ 27.445557][ T1138] ? __ia32_sys_fsconfig+0x180/0x180 [ 27.445559][ T1138] ? ovl_real_file+0x172/0x1e0 [ 27.445563][ T1138] ? backing_file_read_iter+0x541/0x790 [ 27.445567][ T1138] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 27.445570][ T1138] init_module_from_file+0x11f/0x1a0 [ 27.445573][ T1138] ? __do_sys_init_module+0x220/0x220 [ 27.445581][ T1138] ? __rwlock_init+0x150/0x150 [ 27.445585][ T1138] ? do_raw_spin_unlock+0x59/0x250 [ 27.445588][ T1138] idempotent_init_module+0x37b/0x7c0 [ 27.445591][ T1138] ? init_module_from_file+0x1a0/0x1a0 [ 27.445597][ T1138] ? rcu_is_watching+0x16/0xd0 [ 27.445599][ T1138] ? cap_capable+0x1d7/0x3d0 [ 27.445605][ T1138] __x64_sys_finit_module+0xdf/0x190 [ 27.445607][ T1138] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 27.445610][ T1138] do_syscall_64+0xff/0x530 [ 27.445612][ T1138] ? exc_page_fault+0xee/0x100 [ 27.445615][ T1138] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.445617][ T1138] RIP: 0033:0x7fb13758137d [ 27.445620][ T1138] 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.445622][ T1138] RSP: 002b:00007ffe56531bc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 27.445625][ T1138] RAX: ffffffffffffffda RBX: 000055d7cff48810 RCX: 00007fb13758137d [ 27.445626][ T1138] RDX: 0000000000000000 RSI: 000055d7c2fb2ffd RDI: 0000000000000000 [ 27.445627][ T1138] RBP: 00007ffe56531c60 R08: 0000000000000000 R09: 0000000000000000 [ 27.445628][ T1138] R10: 0000000000000000 R11: 0000000000000246 R12: 000055d7c2fb2ffd [ 27.445629][ T1138] R13: 000055d7cff48960 R14: 0000000000040000 R15: 0000000000000000 [ 27.445635][ T1138] [ 47.812127][ T2800] gre: GRE over IPv4 demultiplexer driver [ 47.812143][ T2800] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 47.812146][ T2800] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 2800, name: modprobe [ 47.812148][ T2800] preempt_count: 1, expected: 0 [ 47.812149][ T2800] RCU nest depth: 0, expected: 0 [ 47.812150][ T2800] locks held by modprobe/2800: 4, last CPU#2: [ 47.812152][ T2800] #0: ffffffff92169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 47.812164][ T2800] #1: ffffffff92169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 47.812168][ T2800] #2: ffffffff92089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 47.812172][ T2800] #3: ffffffff92089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 47.812176][ T2800] irq event stamp: 44884 [ 47.812177][ T2800] hardirqs last enabled at (44883): [] __down_trylock_console_sem+0x86/0xa0 [ 47.812179][ T2800] hardirqs last disabled at (44884): [] console_emit_next_record+0x3d4/0x4c0 [ 47.812181][ T2800] softirqs last enabled at (44064): [] handle_softirqs+0x67c/0x900 [ 47.812185][ T2800] softirqs last disabled at (44059): [] __irq_exit_rcu+0x145/0x1c0 [ 47.812187][ T2800] Preemption disabled at: [ 47.812188][ T2800] [] vprintk_emit+0x31b/0x3e0 [ 47.812193][ T2800] CPU: 2 UID: 0 PID: 2800 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 47.812196][ T2800] Tainted: [W]=WARN [ 47.812197][ T2800] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 47.812199][ T2800] Call Trace: [ 47.812201][ T2800] [ 47.812202][ T2800] dump_stack_lvl+0x6f/0xa0 [ 47.812208][ T2800] ? vprintk_emit+0x31b/0x3e0 [ 47.812210][ T2800] __might_resched.cold+0x1fe/0x2c1 [ 47.812214][ T2800] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 47.812218][ T2800] ? __kmalloc_noprof+0xdb/0x760 [ 47.812223][ T2800] __kmalloc_noprof+0x443/0x760 [ 47.812225][ T2800] ? alloc_buf.isra.0+0x4b/0x260 [ 47.812231][ T2800] ? do_raw_spin_unlock+0x59/0x250 [ 47.812234][ T2800] alloc_buf.isra.0+0x4b/0x260 [ 47.812237][ T2800] put_chars+0x1e1/0x2f0 [ 47.812239][ T2800] ? desc_read_finalized_seq+0x79/0x120 [ 47.812241][ T2800] ? __send_to_port+0x420/0x420 [ 47.812244][ T2800] ? rcu_read_lock_any_held+0x3c/0x90 [ 47.812247][ T2800] ? validate_chain+0x38b/0xc20 [ 47.812251][ T2800] hvc_console_print+0x292/0x780 [ 47.812254][ T2800] ? __lock_acquire+0x518/0xc20 [ 47.812256][ T2800] ? __lock_acquire+0x518/0xc20 [ 47.812260][ T2800] ? hvc_write+0x3a0/0x3a0 [ 47.812261][ T2800] ? console_emit_next_record+0x1df/0x4c0 [ 47.812264][ T2800] ? rcu_is_watching+0x16/0xd0 [ 47.812267][ T2800] ? lock_acquire+0x13c/0x160 [ 47.812271][ T2800] console_emit_next_record+0x22f/0x4c0 [ 47.812274][ T2800] ? devkmsg_read+0x4b0/0x4b0 [ 47.812276][ T2800] ? console_flush_one_record+0x106/0x710 [ 47.812279][ T2800] ? rcu_is_watching+0x16/0xd0 [ 47.812281][ T2800] ? lock_acquire+0x13c/0x160 [ 47.812285][ T2800] console_flush_one_record+0x46f/0x710 [ 47.812289][ T2800] ? console_emit_next_record+0x4c0/0x4c0 [ 47.812291][ T2800] ? __lock_acquire+0x518/0xc20 [ 47.812296][ T2800] console_unlock+0xee/0x1f0 [ 47.812298][ T2800] ? console_flush_one_record+0x710/0x710 [ 47.812300][ T2800] ? rcu_is_watching+0x16/0xd0 [ 47.812302][ T2800] ? lock_acquire+0x60/0x160 [ 47.812306][ T2800] ? __down_trylock_console_sem+0x5e/0xa0 [ 47.812307][ T2800] ? vprintk_emit+0x320/0x3e0 [ 47.812311][ T2800] vprintk_emit+0x37c/0x3e0 [ 47.812315][ T2800] ? wake_up_klogd_work_func+0x90/0x90 [ 47.812320][ T2800] ? gre_exit+0x3f0/0x3f0 [gre] [ 47.812323][ T2800] _printk+0xc7/0x100 [ 47.812327][ T2800] ? snapshot_read.cold+0x21/0x21 [ 47.812333][ T2800] ? do_one_initcall+0x113/0x4f0 [ 47.812336][ T2800] gre_init+0x15/0x1000 [gre] [ 47.812338][ T2800] do_one_initcall+0x124/0x4f0 [ 47.812340][ T2800] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 47.812345][ T2800] ? do_init_module+0xae/0x8a0 [ 47.812348][ T2800] ? kasan_unpoison+0x44/0x70 [ 47.812352][ T2800] do_init_module+0x2ad/0x8a0 [ 47.812356][ T2800] ? lockdep_hardirqs_on+0x91/0x130 [ 47.812360][ T2800] ? free_module+0x470/0x470 [ 47.812363][ T2800] ? kfree+0x123/0x590 [ 47.812367][ T2800] load_module+0x1424/0x1bb0 [ 47.812374][ T2800] ? layout_and_allocate.isra.0+0x680/0x680 [ 47.812379][ T2800] ? backing_file_read_iter+0x541/0x790 [ 47.812383][ T2800] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 47.812387][ T2800] init_module_from_file+0x11f/0x1a0 [ 47.812390][ T2800] ? __do_sys_init_module+0x220/0x220 [ 47.812397][ T2800] ? __rwlock_init+0x150/0x150 [ 47.812401][ T2800] ? do_raw_spin_unlock+0x59/0x250 [ 47.812404][ T2800] idempotent_init_module+0x37b/0x7c0 [ 47.812407][ T2800] ? init_module_from_file+0x1a0/0x1a0 [ 47.812413][ T2800] ? rcu_is_watching+0x16/0xd0 [ 47.812415][ T2800] ? cap_capable+0x1d7/0x3d0 [ 47.812421][ T2800] __x64_sys_finit_module+0xdf/0x190 [ 47.812423][ T2800] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 47.812426][ T2800] do_syscall_64+0xff/0x530 [ 47.812428][ T2800] ? exc_page_fault+0xee/0x100 [ 47.812431][ T2800] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 47.812433][ T2800] RIP: 0033:0x7fc35055837d [ 47.812436][ T2800] 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.812438][ T2800] RSP: 002b:00007fff5fecbf98 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 47.812441][ T2800] RAX: ffffffffffffffda RBX: 0000563ee081aa40 RCX: 00007fc35055837d [ 47.812443][ T2800] RDX: 0000000000000000 RSI: 0000563eb8576ffd RDI: 0000000000000001 [ 47.812443][ T2800] RBP: 00007fff5fecc030 R08: 0000000000000000 R09: 0000000000000000 [ 47.812444][ T2800] R10: 0000000000000000 R11: 0000000000000246 R12: 0000563eb8576ffd [ 47.812445][ T2800] R13: 0000563ee081aa00 R14: 0000000000040000 R15: 0000000000000000 [ 47.812451][ T2800] [ 47.854537][ T2800] ip_gre: GRE over IPv4 tunneling driver