[ 164.791424][ T257] tcp_fastopen_ba (257) used greatest stack depth: 24720 bytes left [ 164.791447][ T257] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 164.791449][ T257] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 257, name: tcp_fastopen_ba [ 164.791451][ T257] preempt_count: 2, expected: 0 [ 164.791452][ T257] RCU nest depth: 0, expected: 0 [ 164.791453][ T257] locks held by tcp_fastopen_ba/257: 5, last CPU#3: [ 164.791455][ T257] #0: ffffffff97e167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 164.791467][ T257] #1: ffffffff97f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 164.791472][ T257] #2: ffffffff97f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 164.791476][ T257] #3: ffffffff97e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 164.791480][ T257] #4: ffffffff97e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 164.791484][ T257] irq event stamp: 15850988 [ 164.791485][ T257] hardirqs last enabled at (15850987): [] __down_trylock_console_sem+0x86/0xa0 [ 164.791489][ T257] hardirqs last disabled at (15850988): [] console_emit_next_record+0x3d4/0x4c0 [ 164.791491][ T257] softirqs last enabled at (15850926): [] handle_softirqs+0x67c/0x900 [ 164.791493][ T257] softirqs last disabled at (15850919): [] __irq_exit_rcu+0x145/0x1c0 [ 164.791495][ T257] Preemption disabled at: [ 164.791496][ T257] [<0000000000000000>] 0x0 [ 164.791503][ T257] CPU: 3 UID: 0 PID: 257 Comm: tcp_fastopen_ba Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 164.791507][ T257] Tainted: [W]=WARN [ 164.791508][ T257] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 164.791510][ T257] Call Trace: [ 164.791511][ T257] [ 164.791513][ T257] dump_stack_lvl+0x6f/0xa0 [ 164.791519][ T257] __might_resched.cold+0x1fe/0x2c1 [ 164.791524][ T257] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 164.791528][ T257] ? __kmalloc_noprof+0xdb/0x760 [ 164.791533][ T257] __kmalloc_noprof+0x443/0x760 [ 164.791535][ T257] ? alloc_buf.isra.0+0x4b/0x260 [ 164.791542][ T257] ? do_raw_spin_unlock+0x59/0x250 [ 164.791545][ T257] alloc_buf.isra.0+0x4b/0x260 [ 164.791549][ T257] put_chars+0x1e1/0x2f0 [ 164.791551][ T257] ? __send_to_port+0x420/0x420 [ 164.791553][ T257] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 164.791556][ T257] ? validate_chain+0x38b/0xc20 [ 164.791562][ T257] hvc_console_print+0x292/0x780 [ 164.791570][ T257] ? hvc_write+0x3a0/0x3a0 [ 164.791574][ T257] ? rcu_is_watching+0x16/0xd0 [ 164.791577][ T257] ? lock_acquire+0x13c/0x160 [ 164.791583][ T257] console_emit_next_record+0x22f/0x4c0 [ 164.791589][ T257] ? devkmsg_read+0x4b0/0x4b0 [ 164.791591][ T257] ? console_flush_one_record+0x106/0x710 [ 164.791597][ T257] ? rcu_is_watching+0x16/0xd0 [ 164.791599][ T257] ? lock_acquire+0x13c/0x160 [ 164.791603][ T257] console_flush_one_record+0x46f/0x710 [ 164.791608][ T257] ? console_emit_next_record+0x4c0/0x4c0 [ 164.791610][ T257] ? __lock_acquire+0x518/0xc20 [ 164.791615][ T257] console_unlock+0xee/0x1f0 [ 164.791618][ T257] ? console_flush_one_record+0x710/0x710 [ 164.791620][ T257] ? rcu_is_watching+0x16/0xd0 [ 164.791622][ T257] ? lock_acquire+0xe0/0x160 [ 164.791626][ T257] ? __down_trylock_console_sem+0x5e/0xa0 [ 164.791627][ T257] ? vprintk_emit+0x320/0x3e0 [ 164.791630][ T257] vprintk_emit+0x37c/0x3e0 [ 164.791633][ T257] ? wake_up_klogd_work_func+0x90/0x90 [ 164.791636][ T257] ? __lock_acquire+0x518/0xc20 [ 164.791640][ T257] _printk+0xc7/0x100 [ 164.791643][ T257] ? snapshot_read.cold+0x21/0x21 [ 164.791646][ T257] ? do_raw_spin_lock+0x131/0x280 [ 164.791649][ T257] ? __rwlock_init+0x150/0x150 [ 164.791653][ T257] ? do_raw_spin_lock+0x131/0x280 [ 164.791656][ T257] do_exit.cold+0x82/0x9c [ 164.791660][ T257] ? exit_notify+0x890/0x890 [ 164.791661][ T257] ? __lock_release.isra.0+0x69/0x1a0 [ 164.791664][ T257] ? rcu_is_watching+0x16/0xd0 [ 164.791668][ T257] do_group_exit+0xb8/0x370 [ 164.791671][ T257] __x64_sys_exit_group+0x3c/0x50 [ 164.791672][ T257] x64_sys_call+0x1567/0x1570 [ 164.791675][ T257] do_syscall_64+0xff/0x530 [ 164.791679][ T257] ? exc_page_fault+0xee/0x100 [ 164.791682][ T257] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 164.791685][ T257] RIP: 0033:0x7fe93a3ca1b8 [ 164.791687][ T257] Code: Unable to access opcode bytes at 0x7fe93a3ca18e. [ 164.791688][ T257] RSP: 002b:00007ffd50b2f7e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 164.791691][ T257] RAX: ffffffffffffffda RBX: 00007fe93a4faf88 RCX: 00007fe93a3ca1b8 [ 164.791692][ T257] RDX: 00007fe93a307a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 164.791693][ T257] RBP: 00007ffd50b2f840 R08: 0000000000000000 R09: 0000000000000005 [ 164.791694][ T257] R10: 00007ffd50b2f680 R11: 0000000000000246 R12: 0000000000000001 [ 164.791695][ T257] R13: 0000000000000000 R14: 00007fe93a4f9680 R15: 00007fe93a4fafa0 [ 164.791702][ T257]