[ 9.427271][ T187] ip (187) used greatest stack depth: 23712 bytes left [ 9.427287][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.427289][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: ip [ 9.427291][ T187] preempt_count: 2, expected: 0 [ 9.427292][ T187] RCU nest depth: 0, expected: 0 [ 9.427293][ T187] locks held by ip/187: 5, last CPU#2: [ 9.427295][ T187] #0: ffffffffb84027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.427308][ T187] #1: ffffffffb8569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.427314][ T187] #2: ffffffffb8569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.427318][ T187] #3: ffffffffb8489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.427322][ T187] #4: ffffffffb8489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.427326][ T187] irq event stamp: 25180 [ 9.427327][ T187] hardirqs last enabled at (25179): [] __down_trylock_console_sem+0x86/0xa0 [ 9.427329][ T187] hardirqs last disabled at (25180): [] console_emit_next_record+0x3d4/0x4c0 [ 9.427332][ T187] softirqs last enabled at (24350): [] handle_softirqs+0x67c/0x900 [ 9.427333][ T187] softirqs last disabled at (24341): [] __irq_exit_rcu+0x145/0x1c0 [ 9.427336][ T187] Preemption disabled at: [ 9.427336][ T187] [<0000000000000000>] 0x0 [ 9.427343][ T187] CPU: 2 UID: 0 PID: 187 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.427347][ T187] Tainted: [W]=WARN [ 9.427348][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.427350][ T187] Call Trace: [ 9.427351][ T187] [ 9.427353][ T187] dump_stack_lvl+0x6f/0xa0 [ 9.427359][ T187] __might_resched.cold+0x1fe/0x2c1 [ 9.427364][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.427368][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 9.427373][ T187] __kmalloc_noprof+0x443/0x760 [ 9.427375][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 9.427381][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 9.427384][ T187] alloc_buf.isra.0+0x4b/0x260 [ 9.427387][ T187] put_chars+0x1e1/0x2f0 [ 9.427390][ T187] ? __send_to_port+0x420/0x420 [ 9.427391][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.427396][ T187] ? validate_chain+0x38b/0xc20 [ 9.427401][ T187] hvc_console_print+0x292/0x780 [ 9.427408][ T187] ? hvc_write+0x3a0/0x3a0 [ 9.427410][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.427412][ T187] ? lock_acquire+0x13c/0x160 [ 9.427416][ T187] console_emit_next_record+0x22f/0x4c0 [ 9.427420][ T187] ? devkmsg_read+0x4b0/0x4b0 [ 9.427422][ T187] ? console_flush_one_record+0x106/0x710 [ 9.427425][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.427427][ T187] ? lock_acquire+0x13c/0x160 [ 9.427431][ T187] console_flush_one_record+0x46f/0x710 [ 9.427435][ T187] ? console_emit_next_record+0x4c0/0x4c0 [ 9.427437][ T187] ? __lock_acquire+0x518/0xc20 [ 9.427442][ T187] console_unlock+0xee/0x1f0 [ 9.427445][ T187] ? console_flush_one_record+0x710/0x710 [ 9.427447][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.427449][ T187] ? lock_acquire+0x60/0x160 [ 9.427453][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.427455][ T187] ? vprintk_emit+0x320/0x3e0 [ 9.427458][ T187] vprintk_emit+0x37c/0x3e0 [ 9.427462][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 9.427465][ T187] ? __lock_acquire+0x518/0xc20 [ 9.427469][ T187] _printk+0xc7/0x100 [ 9.427472][ T187] ? snapshot_read.cold+0x21/0x21 [ 9.427475][ T187] ? do_raw_spin_lock+0x131/0x280 [ 9.427478][ T187] ? __rwlock_init+0x150/0x150 [ 9.427482][ T187] ? do_raw_spin_lock+0x131/0x280 [ 9.427484][ T187] do_exit.cold+0x82/0x9c [ 9.427488][ T187] ? exit_notify+0x890/0x890 [ 9.427490][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 9.427493][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.427497][ T187] do_group_exit+0xb8/0x370 [ 9.427500][ T187] __x64_sys_exit_group+0x3c/0x50 [ 9.427502][ T187] x64_sys_call+0x1567/0x1570 [ 9.427504][ T187] do_syscall_64+0xff/0x530 [ 9.427507][ T187] ? exc_page_fault+0xee/0x100 [ 9.427511][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.427513][ T187] RIP: 0033:0x7fd6e74a71b8 [ 9.427515][ T187] Code: Unable to access opcode bytes at 0x7fd6e74a718e. [ 9.427516][ T187] RSP: 002b:00007ffc027a8e88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.427519][ T187] RAX: ffffffffffffffda RBX: 00007fd6e75d7f88 RCX: 00007fd6e74a71b8 [ 9.427520][ T187] RDX: 00007fd6e71f1fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.427521][ T187] RBP: 00007ffc027a8ee0 R08: 0000000000000000 R09: 0000000000008010 [ 9.427522][ T187] R10: 00007ffc027a8ca0 R11: 0000000000000246 R12: 0000000000000001 [ 9.427523][ T187] R13: 0000000000000000 R14: 00007fd6e75d6680 R15: 00007fd6e75d7fa0 [ 9.427530][ T187] [ 15.979107][ T268] veth2: entered promiscuous mode [ 15.979192][ T268] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.979194][ T268] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 268, name: tcpdump [ 15.979196][ T268] preempt_count: 1, expected: 0 [ 15.979197][ T268] RCU nest depth: 0, expected: 0 [ 15.979198][ T268] locks held by tcpdump/268: 5, last CPU#2: [ 15.979200][ T268] #0: ffffffffb8cd2c40 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 15.979213][ T268] #1: ffffffffb8569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.979219][ T268] #2: ffffffffb8569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.979223][ T268] #3: ffffffffb8489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.979227][ T268] #4: ffffffffb8489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.979231][ T268] irq event stamp: 20574 [ 15.979232][ T268] hardirqs last enabled at (20573): [] __down_trylock_console_sem+0x86/0xa0 [ 15.979235][ T268] hardirqs last disabled at (20574): [] console_emit_next_record+0x3d4/0x4c0 [ 15.979237][ T268] softirqs last enabled at (20546): [] packet_do_bind+0x4b2/0xc80 [ 15.979239][ T268] softirqs last disabled at (20544): [] release_sock+0x21/0x240 [ 15.979243][ T268] Preemption disabled at: [ 15.979244][ T268] [] vprintk_emit+0x31b/0x3e0 [ 15.979250][ T268] CPU: 2 UID: 0 PID: 268 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.979254][ T268] Tainted: [W]=WARN [ 15.979255][ T268] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.979256][ T268] Call Trace: [ 15.979258][ T268] [ 15.979260][ T268] dump_stack_lvl+0x6f/0xa0 [ 15.979266][ T268] ? vprintk_emit+0x31b/0x3e0 [ 15.979268][ T268] __might_resched.cold+0x1fe/0x2c1 [ 15.979273][ T268] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.979277][ T268] ? __kmalloc_noprof+0xdb/0x760 [ 15.979282][ T268] __kmalloc_noprof+0x443/0x760 [ 15.979285][ T268] ? alloc_buf.isra.0+0x4b/0x260 [ 15.979290][ T268] ? do_raw_spin_unlock+0x59/0x250 [ 15.979293][ T268] alloc_buf.isra.0+0x4b/0x260 [ 15.979296][ T268] put_chars+0x1e1/0x2f0 [ 15.979299][ T268] ? __send_to_port+0x420/0x420 [ 15.979303][ T268] ? validate_chain+0x34a/0xc20 [ 15.979307][ T268] hvc_console_print+0x292/0x780 [ 15.979310][ T268] ? mark_usage+0x61/0x170 [ 15.979311][ T268] ? __lock_acquire+0x518/0xc20 [ 15.979313][ T268] ? __lock_acquire+0x518/0xc20 [ 15.979317][ T268] ? hvc_write+0x3a0/0x3a0 [ 15.979319][ T268] ? console_emit_next_record+0x1df/0x4c0 [ 15.979322][ T268] ? rcu_is_watching+0x16/0xd0 [ 15.979326][ T268] ? lock_acquire+0x13c/0x160 [ 15.979330][ T268] console_emit_next_record+0x22f/0x4c0 [ 15.979334][ T268] ? devkmsg_read+0x4b0/0x4b0 [ 15.979336][ T268] ? console_flush_one_record+0x106/0x710 [ 15.979339][ T268] ? rcu_is_watching+0x16/0xd0 [ 15.979341][ T268] ? lock_acquire+0x13c/0x160 [ 15.979345][ T268] console_flush_one_record+0x46f/0x710 [ 15.979349][ T268] ? console_emit_next_record+0x4c0/0x4c0 [ 15.979351][ T268] ? __lock_acquire+0x518/0xc20 [ 15.979356][ T268] console_unlock+0xee/0x1f0 [ 15.979359][ T268] ? console_flush_one_record+0x710/0x710 [ 15.979361][ T268] ? rcu_is_watching+0x16/0xd0 [ 15.979363][ T268] ? lock_acquire+0x60/0x160 [ 15.979367][ T268] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.979368][ T268] ? vprintk_emit+0x320/0x3e0 [ 15.979372][ T268] vprintk_emit+0x37c/0x3e0 [ 15.979375][ T268] ? wake_up_klogd_work_func+0x90/0x90 [ 15.979377][ T268] ? kasan_save_stack+0x3d/0x50 [ 15.979381][ T268] ? kasan_save_track+0x14/0x30 [ 15.979382][ T268] ? __kasan_kmalloc+0x7b/0x90 [ 15.979384][ T268] ? __kmalloc_cache_noprof+0x29a/0x620 [ 15.979386][ T268] ? packet_mc_add+0x13b/0x890 [ 15.979387][ T268] ? packet_setsockopt+0x1953/0x21e0 [ 15.979389][ T268] ? do_sock_setsockopt+0x115/0x490 [ 15.979394][ T268] _printk+0xc7/0x100 [ 15.979397][ T268] ? snapshot_read.cold+0x21/0x21 [ 15.979401][ T268] ? netdev_name+0x43/0x60 [ 15.979405][ T268] ? __netdev_printk+0x17f/0x1d0 [ 15.979409][ T268] netdev_info+0xe2/0x116 [ 15.979411][ T268] ? netdev_notice+0x120/0x120 [ 15.979417][ T268] ? mutex_is_locked+0x1c/0x50 [ 15.979422][ T268] __dev_set_promiscuity.cold+0x95/0x104 [ 15.979426][ T268] netif_set_promiscuity+0x4c/0xc0 [ 15.979430][ T268] dev_set_promiscuity+0x9d/0x150 [ 15.979432][ T268] ? __asan_memset+0x27/0x50 [ 15.979434][ T268] packet_mc_add+0x54e/0x890 [ 15.979436][ T268] ? __might_fault+0x97/0x140 [ 15.979440][ T268] ? __might_fault+0x97/0x140 [ 15.979442][ T268] ? _copy_from_user+0x42/0x90 [ 15.979446][ T268] packet_setsockopt+0x1953/0x21e0 [ 15.979450][ T268] ? packet_bind+0x170/0x170 [ 15.979454][ T268] ? do_sock_getsockopt+0x6f6/0xb20 [ 15.979459][ T268] ? sock_poll+0x6b0/0x6b0 [ 15.979462][ T268] ? rcu_is_watching+0x16/0xd0 [ 15.979465][ T268] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.979468][ T268] ? __local_bh_enable_ip+0xaa/0x150 [ 15.979472][ T268] do_sock_setsockopt+0x115/0x490 [ 15.979480][ T268] ? put_user_ifreq+0x90/0x90 [ 15.979482][ T268] ? rcu_is_watching+0x16/0xd0 [ 15.979489][ T268] __sys_setsockopt+0xe4/0x150 [ 15.979494][ T268] __x64_sys_setsockopt+0xbd/0x180 [ 15.979496][ T268] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.979498][ T268] ? lockdep_hardirqs_on+0x91/0x130 [ 15.979500][ T268] ? do_syscall_64+0xa6/0x530 [ 15.979502][ T268] do_syscall_64+0xff/0x530 [ 15.979503][ T268] ? exc_page_fault+0xee/0x100 [ 15.979506][ T268] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.979508][ T268] RIP: 0033:0x7f61febe22de [ 15.979513][ T268] Code: 55 48 63 c9 48 63 ff 45 89 c9 48 89 e5 48 83 ec 08 6a 2c e8 94 72 f7 ff c9 c3 66 90 f3 0f 1e fa 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 0a c3 66 0f 1f 84 00 00 00 00 00 48 8b 15 e1 [ 15.979514][ T268] RSP: 002b:00007ffca2796d38 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 15.979517][ T268] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f61febe22de [ 15.979519][ T268] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 15.979520][ T268] RBP: 00007ffca2796e70 R08: 0000000000000010 R09: 000056180b206530 [ 15.979520][ T268] R10: 00007ffca2796db0 R11: 0000000000000246 R12: 0000000000000001 [ 15.979521][ T268] R13: 000056180b206918 R14: 000056180b206690 R15: 0000000000000000 [ 15.979528][ T268] [ 33.627506][ T295] 8021q: 802.1Q VLAN Support v1.8 [ 33.627526][ T295] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 33.627529][ T295] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 295, name: modprobe [ 33.627531][ T295] preempt_count: 1, expected: 0 [ 33.627533][ T295] RCU nest depth: 0, expected: 0 [ 33.627534][ T295] locks held by modprobe/295: 4, last CPU#0: [ 33.627537][ T295] #0: ffffffffb8569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 33.627551][ T295] #1: ffffffffb8569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 33.627557][ T295] #2: ffffffffb8489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 33.627563][ T295] #3: ffffffffb8489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 33.627569][ T295] irq event stamp: 23864 [ 33.627570][ T295] hardirqs last enabled at (23863): [] __down_trylock_console_sem+0x86/0xa0 [ 33.627573][ T295] hardirqs last disabled at (23864): [] console_emit_next_record+0x3d4/0x4c0 [ 33.627576][ T295] softirqs last enabled at (21038): [] handle_softirqs+0x67c/0x900 [ 33.627580][ T295] softirqs last disabled at (20833): [] __irq_exit_rcu+0x145/0x1c0 [ 33.627584][ T295] Preemption disabled at: [ 33.627584][ T295] [] vprintk_emit+0x31b/0x3e0 [ 33.627591][ T295] CPU: 0 UID: 0 PID: 295 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 33.627596][ T295] Tainted: [W]=WARN [ 33.627597][ T295] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.627599][ T295] Call Trace: [ 33.627601][ T295] [ 33.627603][ T295] dump_stack_lvl+0x6f/0xa0 [ 33.627610][ T295] ? vprintk_emit+0x31b/0x3e0 [ 33.627613][ T295] __might_resched.cold+0x1fe/0x2c1 [ 33.627619][ T295] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 33.627625][ T295] ? __kmalloc_noprof+0xdb/0x760 [ 33.627632][ T295] __kmalloc_noprof+0x443/0x760 [ 33.627635][ T295] ? alloc_buf.isra.0+0x4b/0x260 [ 33.627644][ T295] ? do_raw_spin_unlock+0x59/0x250 [ 33.627647][ T295] alloc_buf.isra.0+0x4b/0x260 [ 33.627653][ T295] put_chars+0x1e1/0x2f0 [ 33.627657][ T295] ? __send_to_port+0x420/0x420 [ 33.627659][ T295] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 33.627665][ T295] ? rcu_read_lock_any_held+0x3c/0x90 [ 33.627668][ T295] ? validate_chain+0x38b/0xc20 [ 33.627676][ T295] hvc_console_print+0x292/0x780 [ 33.627679][ T295] ? __lock_acquire+0x518/0xc20 [ 33.627688][ T295] ? hvc_write+0x3a0/0x3a0 [ 33.627692][ T295] ? rcu_is_watching+0x16/0xd0 [ 33.627700][ T295] console_emit_next_record+0x22f/0x4c0 [ 33.627706][ T295] ? devkmsg_read+0x4b0/0x4b0 [ 33.627708][ T295] ? console_flush_one_record+0x106/0x710 [ 33.627713][ T295] ? rcu_is_watching+0x16/0xd0 [ 33.627717][ T295] ? lock_acquire+0x13c/0x160 [ 33.627724][ T295] console_flush_one_record+0x46f/0x710 [ 33.627730][ T295] ? console_emit_next_record+0x4c0/0x4c0 [ 33.627733][ T295] ? __lock_acquire+0x518/0xc20 [ 33.627741][ T295] console_unlock+0xee/0x1f0 [ 33.627746][ T295] ? console_flush_one_record+0x710/0x710 [ 33.627748][ T295] ? rcu_is_watching+0x16/0xd0 [ 33.627752][ T295] ? lock_acquire+0x60/0x160 [ 33.627758][ T295] ? __down_trylock_console_sem+0x5e/0xa0 [ 33.627760][ T295] ? vprintk_emit+0x320/0x3e0 [ 33.627766][ T295] vprintk_emit+0x37c/0x3e0 [ 33.627771][ T295] ? wake_up_klogd_work_func+0x90/0x90 [ 33.627781][ T295] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 33.627786][ T295] _printk+0xc7/0x100 [ 33.627791][ T295] ? snapshot_read.cold+0x21/0x21 [ 33.627801][ T295] ? do_one_initcall+0x113/0x4f0 [ 33.627806][ T295] vlan_proto_init+0x24/0x90 [8021q] [ 33.627811][ T295] do_one_initcall+0x124/0x4f0 [ 33.627815][ T295] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 33.627822][ T295] ? do_init_module+0xae/0x8a0 [ 33.627826][ T295] ? kasan_unpoison+0x44/0x70 [ 33.627834][ T295] do_init_module+0x2ad/0x8a0 [ 33.627839][ T295] ? lockdep_hardirqs_on+0x91/0x130 [ 33.627845][ T295] ? free_module+0x470/0x470 [ 33.627850][ T295] ? kfree+0x123/0x590 [ 33.627857][ T295] load_module+0x1424/0x1bb0 [ 33.627869][ T295] ? layout_and_allocate.isra.0+0x680/0x680 [ 33.627877][ T295] ? __ia32_sys_fsconfig+0x180/0x180 [ 33.627881][ T295] ? ovl_real_file+0x172/0x1e0 [ 33.627887][ T295] ? backing_file_read_iter+0x541/0x790 [ 33.627891][ T295] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 33.627897][ T295] init_module_from_file+0x11f/0x1a0 [ 33.627902][ T295] ? __do_sys_init_module+0x220/0x220 [ 33.627916][ T295] ? __rwlock_init+0x150/0x150 [ 33.627921][ T295] ? do_raw_spin_unlock+0x59/0x250 [ 33.627926][ T295] idempotent_init_module+0x37b/0x7c0 [ 33.627932][ T295] ? init_module_from_file+0x1a0/0x1a0 [ 33.627942][ T295] ? rcu_is_watching+0x16/0xd0 [ 33.627946][ T295] ? cap_capable+0x1d7/0x3d0 [ 33.627955][ T295] __x64_sys_finit_module+0xdf/0x190 [ 33.627958][ T295] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 33.627963][ T295] do_syscall_64+0xff/0x530 [ 33.627965][ T295] ? exc_page_fault+0xee/0x100 [ 33.627970][ T295] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.627973][ T295] RIP: 0033:0x7fb63528237d [ 33.627977][ T295] 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 [ 33.627979][ T295] RSP: 002b:00007ffe02db9ef8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 33.627983][ T295] RAX: ffffffffffffffda RBX: 0000564bd01b1810 RCX: 00007fb63528237d [ 33.627985][ T295] RDX: 0000000000000000 RSI: 0000564baaa81ffd RDI: 0000000000000000 [ 33.627987][ T295] RBP: 00007ffe02db9f90 R08: 0000000000000000 R09: 0000000000000000 [ 33.627988][ T295] R10: 0000000000000000 R11: 0000000000000246 R12: 0000564baaa81ffd [ 33.627989][ T295] R13: 0000564bd01b1960 R14: 0000000000040000 R15: 0000000000000000 [ 33.628001][ T295] WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr [ 333.841690][ T268] veth2: left promiscuous mode [ 333.841767][ T268] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 333.841770][ T268] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 268, name: tcpdump [ 333.841772][ T268] preempt_count: 1, expected: 0 [ 333.841773][ T268] RCU nest depth: 0, expected: 0 [ 333.841775][ T268] locks held by tcpdump/268: 6, last CPU#0: [ 333.841778][ T268] #0: ff1100000c55ecb8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 333.841794][ T268] #1: ffffffffb8cd2c40 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 333.841802][ T268] #2: ffffffffb8569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 333.841811][ T268] #3: ffffffffb8569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 333.841817][ T268] #4: ffffffffb8489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 333.841823][ T268] #5: ffffffffb8489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 333.841830][ T268] irq event stamp: 44002 [ 333.841831][ T268] hardirqs last enabled at (44001): [] __down_trylock_console_sem+0x86/0xa0 [ 333.841835][ T268] hardirqs last disabled at (44002): [] console_emit_next_record+0x3d4/0x4c0 [ 333.841838][ T268] softirqs last enabled at (43840): [] packet_setsockopt+0xcdf/0x21e0 [ 333.841841][ T268] softirqs last disabled at (43838): [] release_sock+0x21/0x240 [ 333.841846][ T268] Preemption disabled at: [ 333.841847][ T268] [] vprintk_emit+0x31b/0x3e0 [ 333.841854][ T268] CPU: 0 UID: 72 PID: 268 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 333.841859][ T268] Tainted: [W]=WARN [ 333.841860][ T268] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 333.841863][ T268] Call Trace: [ 333.841865][ T268] [ 333.841872][ T268] dump_stack_lvl+0x6f/0xa0 [ 333.841880][ T268] ? vprintk_emit+0x31b/0x3e0 [ 333.841889][ T268] __might_resched.cold+0x1fe/0x2c1 [ 333.841895][ T268] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 333.841902][ T268] ? __kmalloc_noprof+0xdb/0x760 [ 333.841910][ T268] __kmalloc_noprof+0x443/0x760 [ 333.841914][ T268] ? alloc_buf.isra.0+0x4b/0x260 [ 333.841923][ T268] ? do_raw_spin_unlock+0x59/0x250 [ 333.841927][ T268] alloc_buf.isra.0+0x4b/0x260 [ 333.841933][ T268] put_chars+0x1e1/0x2f0 [ 333.841938][ T268] ? __send_to_port+0x420/0x420 [ 333.841940][ T268] ? check_prev_add+0xef/0xe90 [ 333.841948][ T268] ? validate_chain+0x34a/0xc20 [ 333.841955][ T268] hvc_console_print+0x292/0x780 [ 333.841959][ T268] ? mark_usage+0x61/0x170 [ 333.841963][ T268] ? __lock_acquire+0x518/0xc20 [ 333.841965][ T268] ? __lock_acquire+0x518/0xc20 [ 333.841973][ T268] ? hvc_write+0x3a0/0x3a0 [ 333.841976][ T268] ? lock_acquire.part.0+0xd4/0x280 [ 333.841984][ T268] ? lock_acquire+0x13c/0x160 [ 333.841992][ T268] console_emit_next_record+0x22f/0x4c0 [ 333.841999][ T268] ? devkmsg_read+0x4b0/0x4b0 [ 333.842001][ T268] ? console_flush_one_record+0x106/0x710 [ 333.842007][ T268] ? rcu_is_watching+0x16/0xd0 [ 333.842013][ T268] ? lock_acquire+0x13c/0x160 [ 333.842020][ T268] console_flush_one_record+0x46f/0x710 [ 333.842028][ T268] ? console_emit_next_record+0x4c0/0x4c0 [ 333.842030][ T268] ? __lock_acquire+0x518/0xc20 [ 333.842041][ T268] console_unlock+0xee/0x1f0 [ 333.842045][ T268] ? console_flush_one_record+0x710/0x710 [ 333.842048][ T268] ? rcu_is_watching+0x16/0xd0 [ 333.842052][ T268] ? lock_acquire+0x60/0x160 [ 333.842059][ T268] ? __down_trylock_console_sem+0x5e/0xa0 [ 333.842061][ T268] ? vprintk_emit+0x320/0x3e0 [ 333.842067][ T268] vprintk_emit+0x37c/0x3e0 [ 333.842074][ T268] ? wake_up_klogd_work_func+0x90/0x90 [ 333.842080][ T268] ? __lock_acquire+0x518/0xc20 [ 333.842086][ T268] _printk+0xc7/0x100 [ 333.842092][ T268] ? snapshot_read.cold+0x21/0x21 [ 333.842094][ T268] ? lock_acquire.part.0+0xd4/0x280 [ 333.842101][ T268] ? rcu_is_watching+0x16/0xd0 [ 333.842104][ T268] ? netdev_name+0x43/0x60 [ 333.842109][ T268] ? __netdev_printk+0x17f/0x1d0 [ 333.842117][ T268] netdev_info+0xe2/0x116 [ 333.842121][ T268] ? netdev_notice+0x120/0x120 [ 333.842123][ T268] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 333.842127][ T268] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 333.842133][ T268] ? ww_mutex_lock+0x160/0x160 [ 333.842137][ T268] ? lock_acquire.part.0+0xd4/0x280 [ 333.842140][ T268] ? ref_tracker_alloc+0x430/0x430 [ 333.842145][ T268] ? packet_release+0x363/0xc40 [ 333.842149][ T268] ? __fput+0x363/0xac0 [ 333.842153][ T268] ? mutex_is_locked+0x1c/0x50 [ 333.842159][ T268] __dev_set_promiscuity.cold+0x95/0x104 [ 333.842166][ T268] netif_set_promiscuity+0x4c/0xc0 [ 333.842173][ T268] dev_set_promiscuity+0x9d/0x150 [ 333.842179][ T268] packet_release+0x4cb/0xc40 [ 333.842187][ T268] ? packet_set_ring+0x1740/0x1740 [ 333.842193][ T268] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 333.842202][ T268] __sock_release+0xb8/0x280 [ 333.842208][ T268] sock_close+0x18/0x20 [ 333.842211][ T268] __fput+0x363/0xac0 [ 333.842220][ T268] fput_close_sync+0xde/0x1b0 [ 333.842223][ T268] ? alloc_file_clone+0xe0/0xe0 [ 333.842227][ T268] ? do_raw_spin_unlock+0x59/0x250 [ 333.842235][ T268] __x64_sys_close+0x8b/0xf0 [ 333.842240][ T268] do_syscall_64+0xff/0x530 [ 333.842243][ T268] ? irq_exit_rcu+0x1a/0x30 [ 333.842250][ T268] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 333.842253][ T268] RIP: 0033:0x7f61feb5954e [ 333.842258][ T268] 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 [ 333.842261][ T268] RSP: 002b:00007ffca2796ea0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 333.842265][ T268] RAX: ffffffffffffffda RBX: 000056180b206690 RCX: 00007f61feb5954e [ 333.842267][ T268] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 333.842269][ T268] RBP: 00007ffca2796eb0 R08: 0000000000000000 R09: 0000000000000000 [ 333.842270][ T268] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 333.842272][ T268] R13: 00000000fffffffe R14: 00005617eb563760 R15: 0000000000000001 [ 333.842287][ T268] WAIT TIMEOUT stderr