[ 9.454886][ T169] netconsole: network logging started [ 9.454903][ T169] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.454906][ T169] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 169, name: modprobe [ 9.454907][ T169] preempt_count: 1, expected: 0 [ 9.454908][ T169] RCU nest depth: 0, expected: 0 [ 9.454909][ T169] locks held by modprobe/169: 4, last CPU#0: [ 9.454911][ T169] #0: ffffffffbb599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.454923][ T169] #1: ffffffffbb599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.454928][ T169] #2: ffffffffbb489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.454932][ T169] #3: ffffffffbb489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.454936][ T169] irq event stamp: 29030 [ 9.454937][ T169] hardirqs last enabled at (29029): [] __down_trylock_console_sem+0x86/0xa0 [ 9.454939][ T169] hardirqs last disabled at (29030): [] console_emit_next_record+0x3f8/0x4f0 [ 9.454941][ T169] softirqs last enabled at (26594): [] handle_softirqs+0x67c/0x900 [ 9.454944][ T169] softirqs last disabled at (26587): [] __irq_exit_rcu+0x145/0x1c0 [ 9.454947][ T169] Preemption disabled at: [ 9.454948][ T169] [] vprintk_emit+0x31b/0x3e0 [ 9.454953][ T169] CPU: 0 UID: 0 PID: 169 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.454957][ T169] Tainted: [W]=WARN [ 9.454958][ T169] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.454959][ T169] Call Trace: [ 9.454961][ T169] [ 9.454962][ T169] dump_stack_lvl+0x6f/0xa0 [ 9.454968][ T169] ? vprintk_emit+0x31b/0x3e0 [ 9.454970][ T169] __might_resched.cold+0x1fe/0x2c1 [ 9.454974][ T169] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.454978][ T169] ? __kmalloc_noprof+0xdb/0x760 [ 9.454982][ T169] __kmalloc_noprof+0x443/0x760 [ 9.454984][ T169] ? alloc_buf.isra.0+0x4b/0x260 [ 9.454990][ T169] ? do_raw_spin_unlock+0x59/0x250 [ 9.454992][ T169] alloc_buf.isra.0+0x4b/0x260 [ 9.454995][ T169] put_chars+0x1e1/0x2f0 [ 9.454998][ T169] ? __send_to_port+0x420/0x420 [ 9.455001][ T169] ? validate_chain+0x38b/0xc20 [ 9.455006][ T169] hvc_console_print+0x292/0x780 [ 9.455012][ T169] ? hvc_write+0x3a0/0x3a0 [ 9.455015][ T169] ? rcu_is_watching+0x16/0xd0 [ 9.455018][ T169] ? lock_acquire+0x13c/0x160 [ 9.455022][ T169] console_emit_next_record+0x252/0x4f0 [ 9.455026][ T169] ? devkmsg_read+0x4e0/0x4e0 [ 9.455030][ T169] ? rcu_is_watching+0x16/0xd0 [ 9.455032][ T169] ? lock_acquire+0x13c/0x160 [ 9.455036][ T169] console_flush_one_record+0x46f/0x710 [ 9.455039][ T169] ? console_emit_next_record+0x4f0/0x4f0 [ 9.455041][ T169] ? __lock_acquire+0x518/0xc20 [ 9.455046][ T169] console_unlock+0xee/0x1f0 [ 9.455048][ T169] ? console_flush_one_record+0x710/0x710 [ 9.455050][ T169] ? rcu_is_watching+0x16/0xd0 [ 9.455052][ T169] ? lock_acquire+0x60/0x160 [ 9.455055][ T169] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.455056][ T169] ? vprintk_emit+0x320/0x3e0 [ 9.455060][ T169] vprintk_emit+0x37c/0x3e0 [ 9.455063][ T169] ? wake_up_klogd_work_func+0x90/0x90 [ 9.455065][ T169] ? find_held_lock+0x2b/0x80 [ 9.455068][ T169] ? __lock_release.isra.0+0x69/0x1a0 [ 9.455070][ T169] ? fast_dput+0x316/0x540 [ 9.455074][ T169] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 9.455078][ T169] _printk+0xc7/0x100 [ 9.455082][ T169] ? snapshot_read.cold+0x21/0x21 [ 9.455085][ T169] ? __up_write+0x2e5/0x5f0 [ 9.455088][ T169] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 9.455092][ T169] ? configfs_register_subsystem+0x340/0x570 [ 9.455096][ T169] init_netconsole+0x4a8/0x1000 [netconsole] [ 9.455100][ T169] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 9.455106][ T169] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 9.455109][ T169] do_one_initcall+0x124/0x4f0 [ 9.455112][ T169] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.455117][ T169] ? do_init_module+0xae/0x8a0 [ 9.455120][ T169] ? kasan_unpoison+0x44/0x70 [ 9.455125][ T169] do_init_module+0x2ad/0x8a0 [ 9.455129][ T169] ? lockdep_hardirqs_on+0x91/0x130 [ 9.455133][ T169] ? free_module+0x470/0x470 [ 9.455136][ T169] ? kfree+0x123/0x590 [ 9.455140][ T169] load_module+0x1424/0x1bb0 [ 9.455146][ T169] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.455150][ T169] ? __ia32_sys_fsconfig+0x180/0x180 [ 9.455153][ T169] ? ovl_real_file+0x172/0x1e0 [ 9.455156][ T169] ? backing_file_read_iter+0x541/0x790 [ 9.455160][ T169] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.455164][ T169] init_module_from_file+0x11f/0x1a0 [ 9.455167][ T169] ? __do_sys_init_module+0x220/0x220 [ 9.455174][ T169] ? __rwlock_init+0x150/0x150 [ 9.455178][ T169] ? do_raw_spin_unlock+0x59/0x250 [ 9.455180][ T169] idempotent_init_module+0x37b/0x7c0 [ 9.455184][ T169] ? init_module_from_file+0x1a0/0x1a0 [ 9.455190][ T169] ? rcu_is_watching+0x16/0xd0 [ 9.455192][ T169] ? cap_capable+0x1d7/0x3d0 [ 9.455201][ T169] __x64_sys_finit_module+0xdf/0x190 [ 9.455203][ T169] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.455207][ T169] do_syscall_64+0xff/0x530 [ 9.455208][ T169] ? exc_page_fault+0xee/0x100 [ 9.455211][ T169] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.455213][ T169] RIP: 0033:0x7f382326d37d [ 9.455217][ T169] 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 [ 9.455218][ T169] RSP: 002b:00007ffd4f3542d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.455221][ T169] RAX: ffffffffffffffda RBX: 000056049a4e6700 RCX: 00007f382326d37d [ 9.455223][ T169] RDX: 0000000000000000 RSI: 0000560483ba9ffd RDI: 0000000000000005 [ 9.455224][ T169] RBP: 00007ffd4f354370 R08: 0000000000000000 R09: 0000000000000000 [ 9.455224][ T169] R10: 0000000000000000 R11: 0000000000000246 R12: 0000560483ba9ffd [ 9.455225][ T169] R13: 000056049a4e6810 R14: 0000000000040000 R15: 0000000000000000 [ 9.455232][ T169] [ 9.942360][ T88] netdevsim netdevsim761 eni761np1: renamed from eth0 [ 9.951371][ T86] netdevsim netdevsim257 eni257np1: renamed from eth1 [ 10.448971][ T157] printk: console [netcon_ext0] enabled [ 10.449373][ T157] netconsole: netconsole: local port 6665 [ 10.449715][ T157] netconsole: netconsole: local IPv4 address 192.0.2.1 [ 10.450037][ T157] netconsole: netconsole: interface name 'eni257np1' [ 10.450429][ T157] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 10.450777][ T157] netconsole: netconsole: remote port 6666 [ 10.451158][ T157] netconsole: netconsole: remote IPv4 address 192.0.2.2 [ 10.451477][ T157] netconsole: netconsole: remote ethernet address e2:28:a3:09:6e:75 [ 10.457215][ T157] netconsole: network logging started [ 10.457227][ T157] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.457229][ T157] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 157, name: bash [ 10.457231][ T157] preempt_count: 1, expected: 0 [ 10.457232][ T157] RCU nest depth: 0, expected: 0 [ 10.457233][ T157] locks held by bash/157: 8, last CPU#2: [ 10.457236][ T157] #0: ff11000009fe4430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 10.457249][ T157] #1: ff1100000c341c80 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 10.457257][ T157] #2: ff11000008eb72b0 (&p->frag_sem){.+.+}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 10.457261][ T157] #3: ffffffffc02c1880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 10.457267][ T157] #4: ffffffffbb599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.457273][ T157] #5: ffffffffbb599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.457277][ T157] #6: ffffffffbb489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.457281][ T157] #7: ffffffffbb489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.457285][ T157] irq event stamp: 107576 [ 10.457287][ T157] hardirqs last enabled at (107575): [] __down_trylock_console_sem+0x86/0xa0 [ 10.457289][ T157] hardirqs last disabled at (107576): [] console_emit_next_record+0x3f8/0x4f0 [ 10.457291][ T157] softirqs last enabled at (107504): [] __alloc_skb+0x4c5/0x5f0 [ 10.457294][ T157] softirqs last disabled at (107502): [] __alloc_skb+0x4c5/0x5f0 [ 10.457296][ T157] Preemption disabled at: [ 10.457297][ T157] [] vprintk_emit+0x31b/0x3e0 [ 10.457303][ T157] CPU: 2 UID: 0 PID: 157 Comm: bash Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.457307][ T157] Tainted: [W]=WARN [ 10.457308][ T157] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.457309][ T157] Call Trace: [ 10.457311][ T157] [ 10.457313][ T157] dump_stack_lvl+0x6f/0xa0 [ 10.457318][ T157] ? vprintk_emit+0x31b/0x3e0 [ 10.457321][ T157] __might_resched.cold+0x1fe/0x2c1 [ 10.457325][ T157] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.457329][ T157] ? __kmalloc_noprof+0xdb/0x760 [ 10.457334][ T157] __kmalloc_noprof+0x443/0x760 [ 10.457336][ T157] ? alloc_buf.isra.0+0x4b/0x260 [ 10.457342][ T157] ? do_raw_spin_unlock+0x59/0x250 [ 10.457344][ T157] alloc_buf.isra.0+0x4b/0x260 [ 10.457347][ T157] put_chars+0x1e1/0x2f0 [ 10.457350][ T157] ? __send_to_port+0x420/0x420 [ 10.457351][ T157] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.457356][ T157] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.457358][ T157] ? validate_chain+0x38b/0xc20 [ 10.457363][ T157] hvc_console_print+0x292/0x780 [ 10.457366][ T157] ? __lock_acquire+0x518/0xc20 [ 10.457371][ T157] ? hvc_write+0x3a0/0x3a0 [ 10.457373][ T157] ? rcu_is_watching+0x16/0xd0 [ 10.457378][ T157] console_emit_next_record+0x252/0x4f0 [ 10.457382][ T157] ? devkmsg_read+0x4e0/0x4e0 [ 10.457387][ T157] ? rcu_is_watching+0x16/0xd0 [ 10.457389][ T157] ? lock_acquire+0x13c/0x160 [ 10.457393][ T157] console_flush_one_record+0x46f/0x710 [ 10.457397][ T157] ? console_emit_next_record+0x4f0/0x4f0 [ 10.457398][ T157] ? __lock_acquire+0x518/0xc20 [ 10.457408][ T157] console_unlock+0xee/0x1f0 [ 10.457411][ T157] ? console_flush_one_record+0x710/0x710 [ 10.457413][ T157] ? rcu_is_watching+0x16/0xd0 [ 10.457415][ T157] ? lock_acquire+0x60/0x160 [ 10.457419][ T157] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.457420][ T157] ? vprintk_emit+0x320/0x3e0 [ 10.457424][ T157] vprintk_emit+0x37c/0x3e0 [ 10.457428][ T157] ? wake_up_klogd_work_func+0x90/0x90 [ 10.457430][ T157] ? rcu_gp_is_expedited+0x54/0x70 [ 10.457433][ T157] ? synchronize_rcu+0x22e/0x350 [ 10.457438][ T157] _printk+0xc7/0x100 [ 10.457442][ T157] ? snapshot_read.cold+0x21/0x21 [ 10.457444][ T157] ? __lock_release.isra.0+0x69/0x1a0 [ 10.457448][ T157] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 10.457449][ T157] ? lockdep_hardirqs_on+0x91/0x130 [ 10.457453][ T157] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 10.457457][ T157] ? __free_object+0x2ad/0x490 [ 10.457462][ T157] enabled_store.cold+0x178/0x1ae [netconsole] [ 10.457464][ T157] ? __kasan_kmalloc+0x7b/0x90 [ 10.457468][ T157] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 10.457470][ T157] ? down_write_killable_nested+0x270/0x270 [ 10.457472][ T157] ? __kmalloc_cache_noprof+0x241/0x620 [ 10.457474][ T157] ? configfs_write_iter+0x336/0x4b0 [ 10.457478][ T157] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 10.457480][ T157] configfs_write_iter+0x2c0/0x4b0 [ 10.457483][ T157] ? configfs_bin_write_iter+0x530/0x530 [ 10.457486][ T157] new_sync_write+0x33e/0x760 [ 10.457489][ T157] ? __lock_acquire+0x518/0xc20 [ 10.457491][ T157] ? new_sync_read+0x750/0x750 [ 10.457495][ T157] ? lock_acquire.part.0+0xd4/0x280 [ 10.457496][ T157] ? ksys_write+0x116/0x250 [ 10.457503][ T157] vfs_write+0x6a2/0xbd0 [ 10.457507][ T157] ksys_write+0x116/0x250 [ 10.457510][ T157] ? __ia32_sys_read+0xc0/0xc0 [ 10.457512][ T157] ? do_raw_spin_unlock+0x59/0x250 [ 10.457515][ T157] ? rcu_is_watching+0x16/0xd0 [ 10.457518][ T157] do_syscall_64+0xff/0x530 [ 10.457520][ T157] ? exc_page_fault+0xee/0x100 [ 10.457523][ T157] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.457525][ T157] RIP: 0033:0x7f50d3cd654e [ 10.457529][ T157] 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 [ 10.457531][ T157] RSP: 002b:00007fff90a3a320 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 10.457534][ T157] RAX: ffffffffffffffda RBX: 00007f50d3e57580 RCX: 00007f50d3cd654e [ 10.457535][ T157] RDX: 0000000000000002 RSI: 000055f097f650f0 RDI: 0000000000000001 [ 10.457536][ T157] RBP: 00007fff90a3a330 R08: 0000000000000000 R09: 0000000000000000 [ 10.457537][ T157] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000002 [ 10.457538][ T157] R13: 0000000000000002 R14: 000055f097f650f0 R15: 0000000000000000 [ 10.457545][ T157] [ 12.046781][ T239] mkdir (239) used greatest stack depth: 24640 bytes left [ 12.046803][ T239] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.046806][ T239] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 239, name: mkdir [ 12.046808][ T239] preempt_count: 2, expected: 0 [ 12.046809][ T239] RCU nest depth: 0, expected: 0 [ 12.046810][ T239] locks held by mkdir/239: 5, last CPU#0: [ 12.046812][ T239] #0: ffffffffbb4027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.046825][ T239] #1: ffffffffbb599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.046831][ T239] #2: ffffffffbb599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.046835][ T239] #3: ffffffffbb489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.046839][ T239] #4: ffffffffbb489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.046844][ T239] irq event stamp: 13260 [ 12.046845][ T239] hardirqs last enabled at (13259): [] __down_trylock_console_sem+0x86/0xa0 [ 12.046848][ T239] hardirqs last disabled at (13260): [] console_emit_next_record+0x3f8/0x4f0 [ 12.046850][ T239] softirqs last enabled at (10526): [] handle_softirqs+0x67c/0x900 [ 12.046853][ T239] softirqs last disabled at (8983): [] __irq_exit_rcu+0x145/0x1c0 [ 12.046856][ T239] Preemption disabled at: [ 12.046856][ T239] [<0000000000000000>] 0x0 [ 12.046863][ T239] CPU: 0 UID: 0 PID: 239 Comm: mkdir Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.046867][ T239] Tainted: [W]=WARN [ 12.046868][ T239] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.046870][ T239] Call Trace: [ 12.046872][ T239] [ 12.046874][ T239] dump_stack_lvl+0x6f/0xa0 [ 12.046879][ T239] __might_resched.cold+0x1fe/0x2c1 [ 12.046884][ T239] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.046888][ T239] ? __kmalloc_noprof+0xdb/0x760 [ 12.046892][ T239] __kmalloc_noprof+0x443/0x760 [ 12.046895][ T239] ? alloc_buf.isra.0+0x4b/0x260 [ 12.046901][ T239] ? do_raw_spin_unlock+0x59/0x250 [ 12.046903][ T239] alloc_buf.isra.0+0x4b/0x260 [ 12.046907][ T239] put_chars+0x1e1/0x2f0 [ 12.046909][ T239] ? __send_to_port+0x420/0x420 [ 12.046911][ T239] ? printk_get_next_message+0x2fe/0x7d0 [ 12.046914][ T239] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.046917][ T239] ? validate_chain+0x38b/0xc20 [ 12.046921][ T239] hvc_console_print+0x292/0x780 [ 12.046924][ T239] ? __lock_acquire+0x518/0xc20 [ 12.046926][ T239] ? __lock_acquire+0x518/0xc20 [ 12.046932][ T239] ? hvc_write+0x3a0/0x3a0 [ 12.046935][ T239] ? rcu_is_watching+0x16/0xd0 [ 12.046938][ T239] ? lock_acquire+0x13c/0x160 [ 12.046942][ T239] console_emit_next_record+0x252/0x4f0 [ 12.046946][ T239] ? devkmsg_read+0x4e0/0x4e0 [ 12.046950][ T239] ? rcu_is_watching+0x16/0xd0 [ 12.046953][ T239] ? lock_acquire+0x13c/0x160 [ 12.046956][ T239] console_flush_one_record+0x46f/0x710 [ 12.046960][ T239] ? console_emit_next_record+0x4f0/0x4f0 [ 12.046962][ T239] ? __lock_acquire+0x518/0xc20 [ 12.046967][ T239] console_unlock+0xee/0x1f0 [ 12.046970][ T239] ? console_flush_one_record+0x710/0x710 [ 12.046971][ T239] ? rcu_is_watching+0x16/0xd0 [ 12.046973][ T239] ? lock_acquire+0x60/0x160 [ 12.046977][ T239] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.046978][ T239] ? vprintk_emit+0x320/0x3e0 [ 12.046982][ T239] vprintk_emit+0x37c/0x3e0 [ 12.046985][ T239] ? wake_up_klogd_work_func+0x90/0x90 [ 12.046989][ T239] ? __lock_acquire+0x518/0xc20 [ 12.046992][ T239] _printk+0xc7/0x100 [ 12.046996][ T239] ? snapshot_read.cold+0x21/0x21 [ 12.046999][ T239] ? do_raw_spin_lock+0x131/0x280 [ 12.047001][ T239] ? __rwlock_init+0x150/0x150 [ 12.047005][ T239] ? do_raw_spin_lock+0x131/0x280 [ 12.047007][ T239] do_exit.cold+0x82/0x9c [ 12.047011][ T239] ? exit_notify+0x890/0x890 [ 12.047013][ T239] ? __lock_release.isra.0+0x69/0x1a0 [ 12.047015][ T239] ? rcu_is_watching+0x16/0xd0 [ 12.047019][ T239] do_group_exit+0xb8/0x370 [ 12.047023][ T239] __x64_sys_exit_group+0x3c/0x50 [ 12.047025][ T239] x64_sys_call+0x1567/0x1570 [ 12.047028][ T239] do_syscall_64+0xff/0x530 [ 12.047031][ T239] ? exc_page_fault+0xee/0x100 [ 12.047035][ T239] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.047037][ T239] RIP: 0033:0x7f2c64df41b8 [ 12.047039][ T239] Code: Unable to access opcode bytes at 0x7f2c64df418e. [ 12.047040][ T239] RSP: 002b:00007fff62939578 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.047043][ T239] RAX: ffffffffffffffda RBX: 00007f2c64f24f88 RCX: 00007f2c64df41b8 [ 12.047045][ T239] RDX: 00007f2c64c51b48 RSI: fffffffffffffec8 RDI: 0000000000000000 [ 12.047046][ T239] RBP: 00007fff629395d0 R08: 0000000000000000 R09: 0000000000000001 [ 12.047047][ T239] R10: 00007fff629393f0 R11: 0000000000000246 R12: 0000000000000002 [ 12.047048][ T239] R13: 0000000000000000 R14: 00007f2c64f23680 R15: 00007f2c64f24fa0 [ 12.047055][ T239] [ 16.575318][ T157] printk: console [netcon_ext0] disabled [ 16.575343][ T157] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.575345][ T157] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 157, name: bash [ 16.575347][ T157] preempt_count: 1, expected: 0 [ 16.575348][ T157] RCU nest depth: 0, expected: 0 [ 16.575349][ T157] locks held by bash/157: 9, last CPU#0: [ 16.575352][ T157] #0: ff11000009fe4430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 16.575365][ T157] #1: ff1100000a259980 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 16.575372][ T157] #2: ff11000008eb72b0 (&p->frag_sem){.+.+}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 16.575376][ T157] #3: ffffffffc02c1880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 16.575383][ T157] #4: ffffffffbb59a240 (console_mutex){+.+.}-{4:4}, at: unregister_console+0x16/0x40 [ 16.575389][ T157] #5: ffffffffbb599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.575393][ T157] #6: ffffffffbb599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.575397][ T157] #7: ffffffffbb489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.575401][ T157] #8: ffffffffbb489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 16.575406][ T157] irq event stamp: 586644 [ 16.575408][ T157] hardirqs last enabled at (586643): [] __down_trylock_console_sem+0x86/0xa0 [ 16.575410][ T157] hardirqs last disabled at (586644): [] console_emit_next_record+0x3f8/0x4f0 [ 16.575412][ T157] softirqs last enabled at (586566): [] handle_softirqs+0x67c/0x900 [ 16.575415][ T157] softirqs last disabled at (586559): [] __irq_exit_rcu+0x145/0x1c0 [ 16.575418][ T157] Preemption disabled at: [ 16.575419][ T157] [] vprintk_emit+0x31b/0x3e0 [ 16.575425][ T157] CPU: 0 UID: 0 PID: 157 Comm: bash Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.575429][ T157] Tainted: [W]=WARN [ 16.575435][ T157] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.575437][ T157] Call Trace: [ 16.575439][ T157] [ 16.575442][ T157] dump_stack_lvl+0x6f/0xa0 [ 16.575449][ T157] ? vprintk_emit+0x31b/0x3e0 [ 16.575452][ T157] __might_resched.cold+0x1fe/0x2c1 [ 16.575458][ T157] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.575463][ T157] ? __kmalloc_noprof+0xdb/0x760 [ 16.575467][ T157] __kmalloc_noprof+0x443/0x760 [ 16.575469][ T157] ? alloc_buf.isra.0+0x4b/0x260 [ 16.575475][ T157] ? do_raw_spin_unlock+0x59/0x250 [ 16.575477][ T157] alloc_buf.isra.0+0x4b/0x260 [ 16.575481][ T157] put_chars+0x1e1/0x2f0 [ 16.575484][ T157] ? __send_to_port+0x420/0x420 [ 16.575485][ T157] ? desc_read_finalized_seq+0x41/0x120 [ 16.575489][ T157] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.575492][ T157] ? validate_chain+0x38b/0xc20 [ 16.575496][ T157] hvc_console_print+0x292/0x780 [ 16.575499][ T157] ? __lock_acquire+0x518/0xc20 [ 16.575500][ T157] ? __lock_acquire+0x518/0xc20 [ 16.575505][ T157] ? hvc_write+0x3a0/0x3a0 [ 16.575506][ T157] ? console_emit_next_record+0x202/0x4f0 [ 16.575509][ T157] ? rcu_is_watching+0x16/0xd0 [ 16.575513][ T157] ? lock_acquire+0x13c/0x160 [ 16.575517][ T157] console_emit_next_record+0x252/0x4f0 [ 16.575521][ T157] ? devkmsg_read+0x4e0/0x4e0 [ 16.575525][ T157] ? rcu_is_watching+0x16/0xd0 [ 16.575528][ T157] ? lock_acquire+0x13c/0x160 [ 16.575531][ T157] console_flush_one_record+0x46f/0x710 [ 16.575536][ T157] ? console_emit_next_record+0x4f0/0x4f0 [ 16.575537][ T157] ? __lock_acquire+0x518/0xc20 [ 16.575543][ T157] console_unlock+0xee/0x1f0 [ 16.575545][ T157] ? console_flush_one_record+0x710/0x710 [ 16.575547][ T157] ? rcu_is_watching+0x16/0xd0 [ 16.575549][ T157] ? lock_acquire+0x60/0x160 [ 16.575553][ T157] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.575554][ T157] ? vprintk_emit+0x320/0x3e0 [ 16.575558][ T157] vprintk_emit+0x37c/0x3e0 [ 16.575561][ T157] ? wake_up_klogd_work_func+0x90/0x90 [ 16.575564][ T157] ? lock_acquire+0x13c/0x160 [ 16.575566][ T157] ? rcu_is_watching+0x16/0xd0 [ 16.575567][ T157] ? rcu_is_watching+0x16/0xd0 [ 16.575571][ T157] _printk+0xc7/0x100 [ 16.575575][ T157] ? snapshot_read.cold+0x21/0x21 [ 16.575578][ T157] ? find_held_lock+0x2b/0x80 [ 16.575582][ T157] ? ww_mutex_lock+0x160/0x160 [ 16.575585][ T157] ? __lock_release.isra.0+0x69/0x1a0 [ 16.575590][ T157] unregister_console_locked.cold+0x88/0x6f7 [ 16.575594][ T157] ? console_suspend+0x150/0x150 [ 16.575600][ T157] ? console_list_lock+0x4c/0x60 [ 16.575602][ T157] unregister_console+0x1f/0x40 [ 16.575604][ T157] enabled_store+0x5b0/0x750 [netconsole] [ 16.575607][ T157] ? __kasan_kmalloc+0x7b/0x90 [ 16.575610][ T157] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 16.575613][ T157] ? down_write_killable_nested+0x270/0x270 [ 16.575614][ T157] ? __kmalloc_cache_noprof+0x240/0x620 [ 16.575617][ T157] ? configfs_write_iter+0x336/0x4b0 [ 16.575621][ T157] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 16.575623][ T157] configfs_write_iter+0x2c0/0x4b0 [ 16.575626][ T157] ? configfs_bin_write_iter+0x530/0x530 [ 16.575629][ T157] new_sync_write+0x33e/0x760 [ 16.575632][ T157] ? __lock_acquire+0x518/0xc20 [ 16.575634][ T157] ? new_sync_read+0x750/0x750 [ 16.575638][ T157] ? lock_acquire.part.0+0xd4/0x280 [ 16.575639][ T157] ? ksys_write+0x116/0x250 [ 16.575646][ T157] vfs_write+0x6a2/0xbd0 [ 16.575650][ T157] ksys_write+0x116/0x250 [ 16.575653][ T157] ? __ia32_sys_read+0xc0/0xc0 [ 16.575656][ T157] ? rcu_is_watching+0x16/0xd0 [ 16.575658][ T157] ? rcu_is_watching+0x16/0xd0 [ 16.575662][ T157] do_syscall_64+0xff/0x530 [ 16.575664][ T157] ? exc_page_fault+0xee/0x100 [ 16.575667][ T157] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.575670][ T157] RIP: 0033:0x7f50d3cd654e [ 16.575673][ T157] 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 [ 16.575675][ T157] RSP: 002b:00007fff90a398a0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 16.575679][ T157] RAX: ffffffffffffffda RBX: 00007f50d3e57580 RCX: 00007f50d3cd654e [ 16.575680][ T157] RDX: 0000000000000002 RSI: 000055f097f650f0 RDI: 0000000000000001 [ 16.575681][ T157] RBP: 00007fff90a398b0 R08: 0000000000000000 R09: 0000000000000000 [ 16.575682][ T157] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000002 [ 16.575683][ T157] R13: 0000000000000002 R14: 000055f097f650f0 R15: 0000000000000000 [ 16.575690][ T157]