[ 10.231158][ T187] ip (187) used greatest stack depth: 23632 bytes left [ 10.231174][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.231176][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: ip [ 10.231178][ T187] preempt_count: 2, expected: 0 [ 10.231179][ T187] RCU nest depth: 0, expected: 0 [ 10.231180][ T187] locks held by ip/187: 5, last CPU#2: [ 10.231183][ T187] #0: ffffffff8a4027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.231197][ T187] #1: ffffffff8a569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.231203][ T187] #2: ffffffff8a569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.231207][ T187] #3: ffffffff8a489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.231211][ T187] #4: ffffffff8a489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.231215][ T187] irq event stamp: 33262 [ 10.231216][ T187] hardirqs last enabled at (33261): [] __down_trylock_console_sem+0x86/0xa0 [ 10.231218][ T187] hardirqs last disabled at (33262): [] console_emit_next_record+0x3d4/0x4c0 [ 10.231221][ T187] softirqs last enabled at (31992): [] netlink_release+0x17b/0xcf0 [ 10.231225][ T187] softirqs last disabled at (31990): [] netlink_release+0xd2/0xcf0 [ 10.231227][ T187] Preemption disabled at: [ 10.231228][ T187] [<0000000000000000>] 0x0 [ 10.231234][ T187] CPU: 2 UID: 0 PID: 187 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.231238][ T187] Tainted: [W]=WARN [ 10.231239][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.231240][ T187] Call Trace: [ 10.231242][ T187] [ 10.231243][ T187] dump_stack_lvl+0x6f/0xa0 [ 10.231250][ T187] __might_resched.cold+0x1fe/0x2c1 [ 10.231255][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.231259][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 10.231264][ T187] __kmalloc_noprof+0x443/0x760 [ 10.231267][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 10.231272][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 10.231275][ T187] alloc_buf.isra.0+0x4b/0x260 [ 10.231278][ T187] put_chars+0x1e1/0x2f0 [ 10.231281][ T187] ? __send_to_port+0x420/0x420 [ 10.231282][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.231287][ T187] ? validate_chain+0x38b/0xc20 [ 10.231292][ T187] hvc_console_print+0x292/0x780 [ 10.231298][ T187] ? hvc_write+0x3a0/0x3a0 [ 10.231301][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.231303][ T187] ? lock_acquire+0x13c/0x160 [ 10.231307][ T187] console_emit_next_record+0x22f/0x4c0 [ 10.231311][ T187] ? devkmsg_read+0x4b0/0x4b0 [ 10.231313][ T187] ? console_flush_one_record+0x106/0x710 [ 10.231316][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.231318][ T187] ? lock_acquire+0x13c/0x160 [ 10.231322][ T187] console_flush_one_record+0x46f/0x710 [ 10.231327][ T187] ? console_emit_next_record+0x4c0/0x4c0 [ 10.231329][ T187] ? __lock_acquire+0x518/0xc20 [ 10.231334][ T187] console_unlock+0xee/0x1f0 [ 10.231337][ T187] ? console_flush_one_record+0x710/0x710 [ 10.231339][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.231341][ T187] ? lock_acquire+0x60/0x160 [ 10.231345][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.231347][ T187] ? vprintk_emit+0x320/0x3e0 [ 10.231350][ T187] vprintk_emit+0x37c/0x3e0 [ 10.231354][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 10.231357][ T187] ? __lock_acquire+0x518/0xc20 [ 10.231361][ T187] _printk+0xc7/0x100 [ 10.231365][ T187] ? snapshot_read.cold+0x21/0x21 [ 10.231368][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.231370][ T187] ? __rwlock_init+0x150/0x150 [ 10.231374][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.231377][ T187] do_exit.cold+0x82/0x9c [ 10.231381][ T187] ? exit_notify+0x890/0x890 [ 10.231383][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 10.231386][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.231390][ T187] do_group_exit+0xb8/0x370 [ 10.231393][ T187] __x64_sys_exit_group+0x3c/0x50 [ 10.231395][ T187] x64_sys_call+0x1567/0x1570 [ 10.231397][ T187] do_syscall_64+0xff/0x530 [ 10.231400][ T187] ? exc_page_fault+0xee/0x100 [ 10.231403][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.231406][ T187] RIP: 0033:0x7fe251c421b8 [ 10.231408][ T187] Code: Unable to access opcode bytes at 0x7fe251c4218e. [ 10.231409][ T187] RSP: 002b:00007ffccae42fe8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.231411][ T187] RAX: ffffffffffffffda RBX: 00007fe251d72f88 RCX: 00007fe251c421b8 [ 10.231413][ T187] RDX: 00007fe25198cfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.231414][ T187] RBP: 00007ffccae43040 R08: 0000000000000000 R09: 0000000000008010 [ 10.231414][ T187] R10: 00007ffccae42e00 R11: 0000000000000246 R12: 0000000000000001 [ 10.231415][ T187] R13: 0000000000000000 R14: 00007fe251d71680 R15: 00007fe251d72fa0 [ 10.231423][ T187] [ 12.149816][ T261] gre: GRE over IPv4 demultiplexer driver [ 12.149836][ T261] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.149840][ T261] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 261, name: modprobe [ 12.149842][ T261] preempt_count: 1, expected: 0 [ 12.149843][ T261] RCU nest depth: 0, expected: 0 [ 12.149844][ T261] locks held by modprobe/261: 4, last CPU#0: [ 12.149846][ T261] #0: ffffffff8a569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.149860][ T261] #1: ffffffff8a569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.149864][ T261] #2: ffffffff8a489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.149868][ T261] #3: ffffffff8a489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.149872][ T261] irq event stamp: 21542 [ 12.149873][ T261] hardirqs last enabled at (21541): [] __down_trylock_console_sem+0x86/0xa0 [ 12.149876][ T261] hardirqs last disabled at (21542): [] console_emit_next_record+0x3d4/0x4c0 [ 12.149878][ T261] softirqs last enabled at (19480): [] handle_softirqs+0x67c/0x900 [ 12.149881][ T261] softirqs last disabled at (19473): [] __irq_exit_rcu+0x145/0x1c0 [ 12.149883][ T261] Preemption disabled at: [ 12.149884][ T261] [] vprintk_emit+0x31b/0x3e0 [ 12.149890][ T261] CPU: 0 UID: 0 PID: 261 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.149893][ T261] Tainted: [W]=WARN [ 12.149894][ T261] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.149896][ T261] Call Trace: [ 12.149898][ T261] [ 12.149899][ T261] dump_stack_lvl+0x6f/0xa0 [ 12.149905][ T261] ? vprintk_emit+0x31b/0x3e0 [ 12.149907][ T261] __might_resched.cold+0x1fe/0x2c1 [ 12.149912][ T261] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.149916][ T261] ? __kmalloc_noprof+0xdb/0x760 [ 12.149921][ T261] __kmalloc_noprof+0x443/0x760 [ 12.149924][ T261] ? alloc_buf.isra.0+0x4b/0x260 [ 12.149929][ T261] ? do_raw_spin_unlock+0x59/0x250 [ 12.149932][ T261] alloc_buf.isra.0+0x4b/0x260 [ 12.149935][ T261] put_chars+0x1e1/0x2f0 [ 12.149937][ T261] ? desc_read_finalized_seq+0x79/0x120 [ 12.149939][ T261] ? __send_to_port+0x420/0x420 [ 12.149942][ T261] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.149946][ T261] ? validate_chain+0x38b/0xc20 [ 12.149950][ T261] hvc_console_print+0x292/0x780 [ 12.149953][ T261] ? __lock_acquire+0x518/0xc20 [ 12.149954][ T261] ? __lock_acquire+0x518/0xc20 [ 12.149959][ T261] ? hvc_write+0x3a0/0x3a0 [ 12.149960][ T261] ? console_emit_next_record+0x1df/0x4c0 [ 12.149963][ T261] ? rcu_is_watching+0x16/0xd0 [ 12.149966][ T261] ? lock_acquire+0x13c/0x160 [ 12.149970][ T261] console_emit_next_record+0x22f/0x4c0 [ 12.149974][ T261] ? devkmsg_read+0x4b0/0x4b0 [ 12.149976][ T261] ? console_flush_one_record+0x106/0x710 [ 12.149979][ T261] ? rcu_is_watching+0x16/0xd0 [ 12.149982][ T261] ? lock_acquire+0x13c/0x160 [ 12.149985][ T261] console_flush_one_record+0x46f/0x710 [ 12.149990][ T261] ? console_emit_next_record+0x4c0/0x4c0 [ 12.149991][ T261] ? __lock_acquire+0x518/0xc20 [ 12.149997][ T261] console_unlock+0xee/0x1f0 [ 12.150000][ T261] ? console_flush_one_record+0x710/0x710 [ 12.150002][ T261] ? rcu_is_watching+0x16/0xd0 [ 12.150004][ T261] ? lock_acquire+0x60/0x160 [ 12.150008][ T261] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.150009][ T261] ? vprintk_emit+0x320/0x3e0 [ 12.150014][ T261] vprintk_emit+0x37c/0x3e0 [ 12.150020][ T261] ? wake_up_klogd_work_func+0x90/0x90 [ 12.150028][ T261] ? gre_exit+0x3f0/0x3f0 [gre] [ 12.150032][ T261] _printk+0xc7/0x100 [ 12.150037][ T261] ? snapshot_read.cold+0x21/0x21 [ 12.150053][ T261] ? do_one_initcall+0x113/0x4f0 [ 12.150058][ T261] gre_init+0x15/0x1000 [gre] [ 12.150061][ T261] do_one_initcall+0x124/0x4f0 [ 12.150064][ T261] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.150068][ T261] ? do_init_module+0xae/0x8a0 [ 12.150072][ T261] ? kasan_unpoison+0x44/0x70 [ 12.150076][ T261] do_init_module+0x2ad/0x8a0 [ 12.150080][ T261] ? lockdep_hardirqs_on+0x91/0x130 [ 12.150084][ T261] ? free_module+0x470/0x470 [ 12.150087][ T261] ? kfree+0x123/0x590 [ 12.150091][ T261] load_module+0x1424/0x1bb0 [ 12.150099][ T261] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.150104][ T261] ? backing_file_read_iter+0x541/0x790 [ 12.150107][ T261] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.150111][ T261] init_module_from_file+0x11f/0x1a0 [ 12.150114][ T261] ? __do_sys_init_module+0x220/0x220 [ 12.150122][ T261] ? __rwlock_init+0x150/0x150 [ 12.150126][ T261] ? do_raw_spin_unlock+0x59/0x250 [ 12.150129][ T261] idempotent_init_module+0x37b/0x7c0 [ 12.150133][ T261] ? init_module_from_file+0x1a0/0x1a0 [ 12.150139][ T261] ? rcu_is_watching+0x16/0xd0 [ 12.150141][ T261] ? cap_capable+0x1d7/0x3d0 [ 12.150147][ T261] __x64_sys_finit_module+0xdf/0x190 [ 12.150149][ T261] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.150153][ T261] do_syscall_64+0xff/0x530 [ 12.150155][ T261] ? exc_page_fault+0xee/0x100 [ 12.150157][ T261] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.150159][ T261] RIP: 0033:0x7fd29166337d [ 12.150163][ T261] 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.150165][ T261] RSP: 002b:00007fff901c11d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.150168][ T261] RAX: ffffffffffffffda RBX: 000056477f53ed30 RCX: 00007fd29166337d [ 12.150169][ T261] RDX: 0000000000000000 RSI: 0000564755b98ffd RDI: 0000000000000000 [ 12.150170][ T261] RBP: 00007fff901c1270 R08: 0000000000000000 R09: 0000000000000000 [ 12.150171][ T261] R10: 0000000000000000 R11: 0000000000000246 R12: 0000564755b98ffd [ 12.150172][ T261] R13: 000056477f53ecf0 R14: 0000000000040000 R15: 0000000000000000 [ 12.150178][ T261] [ 12.217997][ T261] ip6_gre: GRE over IPv6 tunneling driver [ 12.302792][ T12] ip6_tunnel: g1 xmit: Local address not yet configured! [ 12.302875][ T12] [ 12.302877][ T12] ============================= [ 12.302878][ T12] WARNING: suspicious RCU usage [ 12.302881][ T12] 7.2.0-virtme #1 Tainted: G W [ 12.302882][ T12] ----------------------------- [ 12.302883][ T12] kernel/sched/core.c:9196 Illegal context switch in RCU-bh read-side critical section! [ 12.302886][ T12] [ 12.302886][ T12] other info that might help us debug this: [ 12.302886][ T12] [ 12.302886][ T12] [ 12.302886][ T12] rcu_scheduler_active = 2, debug_locks = 1 [ 12.302888][ T12] locks held by kworker/u16:0/12: 11, last CPU#0: [ 12.302891][ T12] #0: ff11000008a5f140 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 12.302907][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 12.302912][ T12] #2: ffffffff8acd2c40 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x11a/0x930 [ 12.302920][ T12] #3: ffffffff8a580b00 (rcu_read_lock){....}-{1:3}, at: ndisc_send_skb+0x175/0x1520 [ 12.302926][ T12] #4: ffffffff8a580b00 (rcu_read_lock){....}-{1:3}, at: ip6_output+0x11d/0x7f0 [ 12.302931][ T12] #5: ffffffff8a580aa0 (rcu_read_lock_bh){....}-{1:3}, at: __dev_queue_xmit+0x1fc/0x1b80 [ 12.302938][ T12] #6: ffffffff8a580b00 (rcu_read_lock){....}-{1:3}, at: ip6_tnl_xmit_ctl+0xfd/0x390 [ip6_tunnel] [ 12.302947][ T12] #7: ffffffff8a569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.302954][ T12] #8: ffffffff8a569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.302959][ T12] #9: ffffffff8a489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.302964][ T12] #10: ffffffff8a489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.302970][ T12] [ 12.302970][ T12] stack backtrace: [ 12.302973][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.302977][ T12] Tainted: [W]=WARN [ 12.302979][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.302981][ T12] Workqueue: ipv6_addrconf addrconf_dad_work [ 12.302985][ T12] Call Trace: [ 12.302988][ T12] [ 12.302990][ T12] dump_stack_lvl+0x6f/0xa0 [ 12.302998][ T12] lockdep_rcu_suspicious.cold+0x37/0x8a [ 12.303007][ T12] __might_resched+0x2ac/0x390 [ 12.303013][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.303018][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 12.303025][ T12] __kmalloc_noprof+0x443/0x760 [ 12.303029][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 12.303038][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 12.303041][ T12] alloc_buf.isra.0+0x4b/0x260 [ 12.303052][ T12] put_chars+0x1e1/0x2f0 [ 12.303055][ T12] ? check_prev_add+0x316/0xe90 [ 12.303059][ T12] ? __send_to_port+0x420/0x420 [ 12.303064][ T12] ? validate_chain+0x34a/0xc20 [ 12.303073][ T12] hvc_console_print+0x292/0x780 [ 12.303085][ T12] ? hvc_write+0x3a0/0x3a0 [ 12.303089][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.303095][ T12] ? lock_acquire+0x13c/0x160 [ 12.303102][ T12] console_emit_next_record+0x22f/0x4c0 [ 12.303109][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 12.303111][ T12] ? console_flush_one_record+0x106/0x710 [ 12.303117][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.303121][ T12] ? lock_acquire+0x13c/0x160 [ 12.303128][ T12] console_flush_one_record+0x46f/0x710 [ 12.303136][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 12.303138][ T12] ? __lock_acquire+0x518/0xc20 [ 12.303149][ T12] console_unlock+0xee/0x1f0 [ 12.303153][ T12] ? console_flush_one_record+0x710/0x710 [ 12.303156][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.303159][ T12] ? lock_acquire+0x60/0x160 [ 12.303166][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.303169][ T12] ? vprintk_emit+0x320/0x3e0 [ 12.303174][ T12] vprintk_emit+0x37c/0x3e0 [ 12.303181][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 12.303185][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 12.303194][ T12] _printk+0xc7/0x100 [ 12.303199][ T12] ? snapshot_read.cold+0x21/0x21 [ 12.303201][ T12] ? ___ratelimit+0x4e7/0xa00 [ 12.303210][ T12] ? idr_get_free+0x830/0x830 [ 12.303219][ T12] ip6_tnl_xmit_ctl.cold+0x75/0x7a [ip6_tunnel] [ 12.303227][ T12] ip6gre_tunnel_xmit+0x1f5/0xd40 [ip6_gre] [ 12.303235][ T12] ? __gre6_xmit+0x1910/0x1910 [ip6_gre] [ 12.303239][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.303243][ T12] ? __bfs+0x1e6/0x310 [ 12.303249][ T12] ? mark_usage+0x61/0x170 [ 12.303252][ T12] ? netif_skb_features+0x658/0x1430 [ 12.303265][ T12] dev_hard_start_xmit+0xf4/0x620 [ 12.303271][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.303277][ T12] __dev_queue_xmit+0xc0a/0x1b80 [ 12.303283][ T12] ? __lock_acquire+0x518/0xc20 [ 12.303286][ T12] ? ipv6_set_opt_hdr+0x2b1/0x5a0 [ 12.303295][ T12] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 12.303297][ T12] ? find_held_lock+0x2b/0x80 [ 12.303302][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 12.303304][ T12] ? __rwlock_init+0x150/0x150 [ 12.303308][ T12] ? mark_held_locks+0x40/0x70 [ 12.303313][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 12.303316][ T12] ? __local_bh_enable_ip+0xaa/0x150 [ 12.303319][ T12] ? __local_bh_enable_ip+0xaa/0x150 [ 12.303323][ T12] ? ___neigh_create+0x811/0x1070 [ 12.303334][ T12] ip6_finish_output2+0x423/0x1300 [ 12.303342][ T12] ? ip6_dst_lookup+0x80/0x80 [ 12.303344][ T12] ? find_held_lock+0x2b/0x80 [ 12.303349][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 12.303354][ T12] ? ip6_mtu+0x15d/0x310 [ 12.303361][ T12] ip6_finish_output+0x646/0xda0 [ 12.303368][ T12] ip6_output+0x23f/0x7f0 [ 12.303374][ T12] ? ip6_finish_output+0xda0/0xda0 [ 12.303377][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 12.303380][ T12] ? find_held_lock+0x2b/0x80 [ 12.303385][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 12.303387][ T12] ? __local_bh_enable_ip+0xaa/0x150 [ 12.303395][ T12] ndisc_send_skb+0xba3/0x1520 [ 12.303404][ T12] ? ndisc_recv_na+0xea0/0xea0 [ 12.303415][ T12] ? __asan_memset+0x27/0x50 [ 12.303424][ T12] addrconf_dad_completed+0x37e/0xe10 [ 12.303429][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 12.303433][ T12] ? addrconf_rs_timer+0x770/0x770 [ 12.303437][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 12.303439][ T12] ? __rwlock_init+0x150/0x150 [ 12.303443][ T12] ? mark_held_locks+0x40/0x70 [ 12.303449][ T12] ? addrconf_dad_begin+0x2e1/0x540 [ 12.303453][ T12] addrconf_dad_begin+0x2e1/0x540 [ 12.303455][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 12.303460][ T12] ? addrconf_dad_completed+0xe10/0xe10 [ 12.303463][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 12.303466][ T12] ? __rwlock_init+0x150/0x150 [ 12.303469][ T12] ? mark_held_locks+0x40/0x70 [ 12.303477][ T12] addrconf_dad_work+0x170/0x930 [ 12.303488][ T12] ? addrconf_dad_begin+0x540/0x540 [ 12.303494][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.303497][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.303500][ T12] ? lock_acquire+0x13c/0x160 [ 12.303503][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.303511][ T12] process_one_work+0xe3e/0x1560 [ 12.303525][ T12] ? __queue_delayed_work+0x470/0x470 [ 12.303530][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 12.303546][ T12] worker_thread+0x4f1/0xd60 [ 12.303561][ T12] ? rescuer_thread+0x1340/0x1340 [ 12.303564][ T12] kthread+0x367/0x460 [ 12.303568][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.303572][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.303577][ T12] ret_from_fork+0x474/0x6b0 [ 12.303583][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 12.303589][ T12] ? __switch_to+0x5a3/0xe00 [ 12.303594][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.303599][ T12] ret_from_fork_asm+0x11/0x20 [ 12.303615][ T12] [ 12.380946][ T12] ip6_tunnel: g1 xmit: Local address not yet configured! [ 12.911021][ T282] 8021q: 802.1Q VLAN Support v1.8 [ 14.032060][ T320] GACT probability NOT on [ 14.032078][ T320] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.032082][ T320] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 320, name: modprobe [ 14.032084][ T320] preempt_count: 1, expected: 0 [ 14.032085][ T320] RCU nest depth: 0, expected: 0 [ 14.032085][ T320] locks held by modprobe/320: 4, last CPU#3: [ 14.032088][ T320] #0: ffffffff8a569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.032101][ T320] #1: ffffffff8a569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.032105][ T320] #2: ffffffff8a489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.032109][ T320] #3: ffffffff8a489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.032113][ T320] irq event stamp: 17432 [ 14.032114][ T320] hardirqs last enabled at (17431): [] __down_trylock_console_sem+0x86/0xa0 [ 14.032117][ T320] hardirqs last disabled at (17432): [] console_emit_next_record+0x3d4/0x4c0 [ 14.032119][ T320] softirqs last enabled at (16246): [] handle_softirqs+0x67c/0x900 [ 14.032122][ T320] softirqs last disabled at (15511): [] __irq_exit_rcu+0x145/0x1c0 [ 14.032124][ T320] Preemption disabled at: [ 14.032125][ T320] [] vprintk_emit+0x31b/0x3e0 [ 14.032130][ T320] CPU: 3 UID: 0 PID: 320 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.032134][ T320] Tainted: [W]=WARN [ 14.032135][ T320] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.032137][ T320] Call Trace: [ 14.032139][ T320] [ 14.032140][ T320] dump_stack_lvl+0x6f/0xa0 [ 14.032146][ T320] ? vprintk_emit+0x31b/0x3e0 [ 14.032148][ T320] __might_resched.cold+0x1fe/0x2c1 [ 14.032153][ T320] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.032157][ T320] ? __kmalloc_noprof+0xdb/0x760 [ 14.032162][ T320] __kmalloc_noprof+0x443/0x760 [ 14.032164][ T320] ? alloc_buf.isra.0+0x4b/0x260 [ 14.032170][ T320] ? do_raw_spin_unlock+0x59/0x250 [ 14.032173][ T320] alloc_buf.isra.0+0x4b/0x260 [ 14.032176][ T320] put_chars+0x1e1/0x2f0 [ 14.032178][ T320] ? desc_read_finalized_seq+0x79/0x120 [ 14.032180][ T320] ? __send_to_port+0x420/0x420 [ 14.032183][ T320] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.032186][ T320] ? validate_chain+0x38b/0xc20 [ 14.032191][ T320] hvc_console_print+0x292/0x780 [ 14.032193][ T320] ? __lock_acquire+0x518/0xc20 [ 14.032195][ T320] ? __lock_acquire+0x518/0xc20 [ 14.032199][ T320] ? hvc_write+0x3a0/0x3a0 [ 14.032200][ T320] ? console_emit_next_record+0x1df/0x4c0 [ 14.032204][ T320] ? rcu_is_watching+0x16/0xd0 [ 14.032206][ T320] ? lock_acquire+0x13c/0x160 [ 14.032210][ T320] console_emit_next_record+0x22f/0x4c0 [ 14.032214][ T320] ? devkmsg_read+0x4b0/0x4b0 [ 14.032216][ T320] ? console_flush_one_record+0x106/0x710 [ 14.032219][ T320] ? rcu_is_watching+0x16/0xd0 [ 14.032221][ T320] ? lock_acquire+0x13c/0x160 [ 14.032225][ T320] console_flush_one_record+0x46f/0x710 [ 14.032229][ T320] ? console_emit_next_record+0x4c0/0x4c0 [ 14.032231][ T320] ? __lock_acquire+0x518/0xc20 [ 14.032236][ T320] console_unlock+0xee/0x1f0 [ 14.032239][ T320] ? console_flush_one_record+0x710/0x710 [ 14.032241][ T320] ? rcu_is_watching+0x16/0xd0 [ 14.032243][ T320] ? lock_acquire+0x60/0x160 [ 14.032246][ T320] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.032248][ T320] ? vprintk_emit+0x320/0x3e0 [ 14.032251][ T320] vprintk_emit+0x37c/0x3e0 [ 14.032256][ T320] ? wake_up_klogd_work_func+0x90/0x90 [ 14.032261][ T320] ? gre_exit+0x3f0/0x3f0 [gre] [ 14.032264][ T320] _printk+0xc7/0x100 [ 14.032268][ T320] ? snapshot_read.cold+0x21/0x21 [ 14.032274][ T320] ? do_one_initcall+0x113/0x4f0 [ 14.032277][ T320] gact_init_module+0x15/0x1000 [act_gact] [ 14.032280][ T320] do_one_initcall+0x124/0x4f0 [ 14.032283][ T320] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 14.032287][ T320] ? do_init_module+0xae/0x8a0 [ 14.032290][ T320] ? kasan_unpoison+0x44/0x70 [ 14.032295][ T320] do_init_module+0x2ad/0x8a0 [ 14.032299][ T320] ? lockdep_hardirqs_on+0x91/0x130 [ 14.032303][ T320] ? free_module+0x470/0x470 [ 14.032306][ T320] ? kfree+0x123/0x590 [ 14.032310][ T320] load_module+0x1424/0x1bb0 [ 14.032317][ T320] ? layout_and_allocate.isra.0+0x680/0x680 [ 14.032321][ T320] ? __ia32_sys_fsconfig+0x180/0x180 [ 14.032323][ T320] ? ovl_real_file+0x172/0x1e0 [ 14.032327][ T320] ? backing_file_read_iter+0x541/0x790 [ 14.032330][ T320] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.032334][ T320] init_module_from_file+0x11f/0x1a0 [ 14.032338][ T320] ? __do_sys_init_module+0x220/0x220 [ 14.032346][ T320] ? __rwlock_init+0x150/0x150 [ 14.032349][ T320] ? do_raw_spin_unlock+0x59/0x250 [ 14.032352][ T320] idempotent_init_module+0x37b/0x7c0 [ 14.032356][ T320] ? init_module_from_file+0x1a0/0x1a0 [ 14.032362][ T320] ? rcu_is_watching+0x16/0xd0 [ 14.032364][ T320] ? cap_capable+0x1d7/0x3d0 [ 14.032370][ T320] __x64_sys_finit_module+0xdf/0x190 [ 14.032372][ T320] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.032376][ T320] do_syscall_64+0xff/0x530 [ 14.032378][ T320] ? exc_page_fault+0xee/0x100 [ 14.032380][ T320] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.032383][ T320] RIP: 0033:0x7f72f47b337d [ 14.032387][ T320] 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 [ 14.032388][ T320] RSP: 002b:00007ffe0e21bed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 14.032391][ T320] RAX: ffffffffffffffda RBX: 00005560860ee810 RCX: 00007f72f47b337d [ 14.032392][ T320] RDX: 0000000000000000 RSI: 000055605a8a1ffd RDI: 0000000000000000 [ 14.032393][ T320] RBP: 00007ffe0e21bf70 R08: 0000000000000000 R09: 0000000000000000 [ 14.032394][ T320] R10: 0000000000000000 R11: 0000000000000246 R12: 000055605a8a1ffd [ 14.032395][ T320] R13: 00005560860ee960 R14: 0000000000040000 R15: 0000000000000000 [ 14.032402][ T320] [ 14.500147][ T12] ip6_tunnel: g2 xmit: Local address not yet configured! [ 14.547856][ T12] ip6_tunnel: g2 xmit: Local address not yet configured! [ 96.527924][ C0] clocksource: Watchdog remote CPU 3 read timed out [ 96.527961][ C0] [ 96.527963][ C0] ======================================================== [ 96.527964][ C0] WARNING: possible irq lock inversion dependency detected [ 96.527967][ C0] 7.2.0-virtme #1 Tainted: G W [ 96.527968][ C0] -------------------------------------------------------- [ 96.527969][ C0] mausezahn/451 just changed the state of lock: [ 96.527970][ C0] ffffffff8a489660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 96.527984][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 96.527985][ C0] (fs_reclaim){+.+.}-{0:0} [ 96.527987][ C0] [ 96.527987][ C0] [ 96.527987][ C0] and interrupts could create inverse lock ordering between them. [ 96.527987][ C0] [ 96.527988][ C0] [ 96.527988][ C0] other info that might help us debug this: [ 96.527988][ C0] Possible interrupt unsafe locking scenario: [ 96.527988][ C0] [ 96.527989][ C0] CPU0 CPU1 [ 96.527989][ C0] ---- ---- [ 96.527990][ C0] lock(fs_reclaim); [ 96.527991][ C0] local_irq_disable(); [ 96.527991][ C0] lock(console_owner); [ 96.527992][ C0] lock(fs_reclaim); [ 96.527993][ C0] [ 96.527994][ C0] lock(console_owner); [ 96.527994][ C0] [ 96.527994][ C0] *** DEADLOCK *** [ 96.527994][ C0] [ 96.527995][ C0] locks held by mausezahn/451: 6, last CPU#0: [ 96.527996][ C0] #0: ffffffff8a580b00 (rcu_read_lock){....}-{1:3}, at: ip_output+0xa9/0x660 [ 96.528002][ C0] #1: ffffffff8a580b00 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x25c/0x1bc0 [ 96.528006][ C0] #2: ffa0000000007ca8 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 96.528011][ C0] #3: ffffffff8a5ce8b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 96.528015][ C0] #4: ffffffff8a569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 96.528018][ C0] #5: ffffffff8a569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 96.528021][ C0] [ 96.528021][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 96.528025][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 96.528027][ C0] HARDIRQ-ON-W at: [ 96.528029][ C0] __lock_acquire+0x388/0xc20 [ 96.528032][ C0] lock_acquire.part.0+0xd4/0x280 [ 96.528034][ C0] fs_reclaim_acquire+0xd5/0x120 [ 96.528041][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 96.528044][ C0] kthread_create_worker_on_node+0xea/0x210 [ 96.528047][ C0] workqueue_init+0x2a/0x680 [ 96.528051][ C0] kernel_init_freeable+0x2fe/0x630 [ 96.528053][ C0] kernel_init+0x21/0x150 [ 96.528056][ C0] ret_from_fork+0x474/0x6b0 [ 96.528059][ C0] ret_from_fork_asm+0x11/0x20 [ 96.528062][ C0] SOFTIRQ-ON-W at: [ 96.528063][ C0] __lock_acquire+0x388/0xc20 [ 96.528064][ C0] lock_acquire.part.0+0xd4/0x280 [ 96.528066][ C0] fs_reclaim_acquire+0xd5/0x120 [ 96.528067][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 96.528068][ C0] kthread_create_worker_on_node+0xea/0x210 [ 96.528070][ C0] workqueue_init+0x2a/0x680 [ 96.528071][ C0] kernel_init_freeable+0x2fe/0x630 [ 96.528072][ C0] kernel_init+0x21/0x150 [ 96.528073][ C0] ret_from_fork+0x474/0x6b0 [ 96.528074][ C0] ret_from_fork_asm+0x11/0x20 [ 96.528076][ C0] INITIAL USE at: [ 96.528076][ C0] __lock_acquire+0x388/0xc20 [ 96.528078][ C0] lock_acquire.part.0+0xd4/0x280 [ 96.528079][ C0] fs_reclaim_acquire+0xd5/0x120 [ 96.528080][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 96.528082][ C0] kthread_create_worker_on_node+0xea/0x210 [ 96.528083][ C0] workqueue_init+0x2a/0x680 [ 96.528084][ C0] kernel_init_freeable+0x2fe/0x630 [ 96.528085][ C0] kernel_init+0x21/0x150 [ 96.528087][ C0] ret_from_fork+0x474/0x6b0 [ 96.528088][ C0] ret_from_fork_asm+0x11/0x20 [ 96.528089][ C0] } [ 96.528090][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 96.528094][ C0] ... acquired at: [ 96.528095][ C0] __lock_acquire+0x518/0xc20 [ 96.528096][ C0] lock_acquire.part.0+0xd4/0x280 [ 96.528097][ C0] fs_reclaim_acquire+0xd5/0x120 [ 96.528098][ C0] __kmalloc_noprof+0xd3/0x760 [ 96.528100][ C0] alloc_buf.isra.0+0x4b/0x260 [ 96.528103][ C0] put_chars+0x1e1/0x2f0 [ 96.528104][ C0] hvc_console_print+0x292/0x780 [ 96.528106][ C0] console_emit_next_record+0x22f/0x4c0 [ 96.528107][ C0] console_flush_one_record+0x46f/0x710 [ 96.528109][ C0] console_unlock+0xee/0x1f0 [ 96.528110][ C0] vprintk_emit+0x37c/0x3e0 [ 96.528112][ C0] dev_vprintk_emit+0x27f/0x2c0 [ 96.528115][ C0] dev_printk_emit+0xb9/0xee [ 96.528117][ C0] _dev_info+0xe2/0x116 [ 96.528119][ C0] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 96.528121][ C0] cmos_do_probe+0x73b/0x98a [ 96.528123][ C0] platform_probe+0xfe/0x1f0 [ 96.528126][ C0] call_driver_probe+0x61/0x1c0 [ 96.528128][ C0] really_probe+0x199/0x760 [ 96.528129][ C0] __driver_probe_device+0x24f/0x440 [ 96.528131][ C0] driver_probe_device+0x4a/0xf0 [ 96.528132][ C0] __driver_attach+0x1b8/0x540 [ 96.528133][ C0] bus_for_each_dev+0x130/0x1e0 [ 96.528134][ C0] bus_add_driver+0x2c8/0x530 [ 96.528136][ C0] driver_register+0x1a3/0x390 [ 96.528137][ C0] __platform_driver_probe+0x13f/0x270 [ 96.528139][ C0] cmos_init+0x31/0x40 [ 96.528142][ C0] do_one_initcall+0x124/0x4f0 [ 96.528143][ C0] kernel_init_freeable+0x596/0x630 [ 96.528144][ C0] kernel_init+0x21/0x150 [ 96.528145][ C0] ret_from_fork+0x474/0x6b0 [ 96.528147][ C0] ret_from_fork_asm+0x11/0x20 [ 96.528148][ C0] [ 96.528148][ C0] -> (console_owner){..-.}-{0:0} { [ 96.528150][ C0] IN-SOFTIRQ-W at: [ 96.528150][ C0] __lock_acquire+0x388/0xc20 [ 96.528152][ C0] lock_acquire.part.0+0xd4/0x280 [ 96.528153][ C0] console_lock_spinning_enable+0x5c/0x60 [ 96.528155][ C0] console_emit_next_record+0x1d1/0x4c0 [ 96.528156][ C0] console_flush_one_record+0x46f/0x710 [ 96.528158][ C0] console_unlock+0xee/0x1f0 [ 96.528159][ C0] vprintk_emit+0x37c/0x3e0 [ 96.528161][ C0] _printk+0xc7/0x100 [ 96.528164][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 96.528166][ C0] call_timer_fn+0x160/0x4d0 [ 96.528167][ C0] __run_timers+0x68f/0xaa0 [ 96.528169][ C0] run_timer_softirq+0xf0/0x160 [ 96.528170][ C0] handle_softirqs+0x1d3/0x900 [ 96.528173][ C0] do_softirq+0xac/0xe0 [ 96.528174][ C0] __local_bh_enable_ip+0x118/0x150 [ 96.528175][ C0] __dev_queue_xmit+0x979/0x1b80 [ 96.528178][ C0] ip_finish_output2+0xd9b/0x1bc0 [ 96.528180][ C0] ip_output+0x1ca/0x660 [ 96.528181][ C0] raw_send_hdrinc+0xf5d/0x1740 [ 96.528183][ C0] raw_sendmsg+0x12ba/0x1cc0 [ 96.528185][ C0] __sys_sendto+0x2aa/0x400 [ 96.528187][ C0] __x64_sys_sendto+0xe4/0x1f0 [ 96.528189][ C0] do_syscall_64+0xff/0x530 [ 96.528190][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 96.528192][ C0] INITIAL USE at: [ 96.528193][ C0] } [ 96.528193][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 96.528196][ C0] ... acquired at: [ 96.528197][ C0] mark_lock+0x1d7/0xa00 [ 96.528198][ C0] mark_usage+0x42/0x170 [ 96.528200][ C0] __lock_acquire+0x388/0xc20 [ 96.528201][ C0] lock_acquire.part.0+0xd4/0x280 [ 96.528202][ C0] console_lock_spinning_enable+0x5c/0x60 [ 96.528204][ C0] console_emit_next_record+0x1d1/0x4c0 [ 96.528205][ C0] console_flush_one_record+0x46f/0x710 [ 96.528207][ C0] console_unlock+0xee/0x1f0 [ 96.528208][ C0] vprintk_emit+0x37c/0x3e0 [ 96.528210][ C0] _printk+0xc7/0x100 [ 96.528211][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 96.528212][ C0] call_timer_fn+0x160/0x4d0 [ 96.528214][ C0] __run_timers+0x68f/0xaa0 [ 96.528215][ C0] run_timer_softirq+0xf0/0x160 [ 96.528216][ C0] handle_softirqs+0x1d3/0x900 [ 96.528218][ C0] do_softirq+0xac/0xe0 [ 96.528219][ C0] __local_bh_enable_ip+0x118/0x150 [ 96.528220][ C0] __dev_queue_xmit+0x979/0x1b80 [ 96.528221][ C0] ip_finish_output2+0xd9b/0x1bc0 [ 96.528223][ C0] ip_output+0x1ca/0x660 [ 96.528224][ C0] raw_send_hdrinc+0xf5d/0x1740 [ 96.528226][ C0] raw_sendmsg+0x12ba/0x1cc0 [ 96.528227][ C0] __sys_sendto+0x2aa/0x400 [ 96.528228][ C0] __x64_sys_sendto+0xe4/0x1f0 [ 96.528229][ C0] do_syscall_64+0xff/0x530 [ 96.528230][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 96.528231][ C0] [ 96.528232][ C0] [ 96.528232][ C0] stack backtrace: [ 96.528235][ C0] CPU: 0 UID: 0 PID: 451 Comm: mausezahn Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 96.528238][ C0] Tainted: [W]=WARN [ 96.528239][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 96.528240][ C0] Call Trace: [ 96.528241][ C0] [ 96.528243][ C0] dump_stack_lvl+0x6f/0xa0 [ 96.528247][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 96.528249][ C0] mark_lock_irq+0x989/0x9c0 [ 96.528252][ C0] mark_lock+0x1d7/0xa00 [ 96.528254][ C0] mark_usage+0x42/0x170 [ 96.528256][ C0] __lock_acquire+0x388/0xc20 [ 96.528258][ C0] lock_acquire.part.0+0xd4/0x280 [ 96.528260][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 96.528262][ C0] ? rcu_is_watching+0x16/0xd0 [ 96.528265][ C0] ? lock_acquire+0x13c/0x160 [ 96.528267][ C0] console_lock_spinning_enable+0x5c/0x60 [ 96.528269][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 96.528270][ C0] console_emit_next_record+0x1d1/0x4c0 [ 96.528272][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 96.528274][ C0] ? console_flush_one_record+0x106/0x710 [ 96.528276][ C0] ? rcu_is_watching+0x16/0xd0 [ 96.528278][ C0] ? lock_acquire+0x13c/0x160 [ 96.528280][ C0] console_flush_one_record+0x46f/0x710 [ 96.528282][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 96.528284][ C0] ? __lock_acquire+0x518/0xc20 [ 96.528286][ C0] console_unlock+0xee/0x1f0 [ 96.528288][ C0] ? console_flush_one_record+0x710/0x710 [ 96.528289][ C0] ? rcu_is_watching+0x16/0xd0 [ 96.528291][ C0] ? lock_acquire+0x60/0x160 [ 96.528293][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 96.528295][ C0] ? vprintk_emit+0x320/0x3e0 [ 96.528297][ C0] vprintk_emit+0x37c/0x3e0 [ 96.528299][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 96.528302][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 96.528303][ C0] _printk+0xc7/0x100 [ 96.528305][ C0] ? snapshot_read.cold+0x21/0x21 [ 96.528307][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 96.528309][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 96.528311][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 96.528312][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 96.528314][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 96.528316][ C0] call_timer_fn+0x160/0x4d0 [ 96.528318][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 96.528319][ C0] ? find_held_lock+0x2b/0x80 [ 96.528321][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 96.528323][ C0] ? rcu_is_watching+0x16/0xd0 [ 96.528325][ C0] __run_timers+0x68f/0xaa0 [ 96.528327][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 96.528329][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 96.528330][ C0] ? __lock_acquire+0x518/0xc20 [ 96.528332][ C0] ? trace_rcu_batch_end+0x2b0/0x310 [ 96.528335][ C0] ? __rwlock_init+0x150/0x150 [ 96.528337][ C0] run_timer_softirq+0xf0/0x160 [ 96.528339][ C0] ? rcu_is_watching+0x16/0xd0 [ 96.528340][ C0] ? __run_timers+0xaa0/0xaa0 [ 96.528342][ C0] ? rcu_is_watching+0x16/0xd0 [ 96.528344][ C0] handle_softirqs+0x1d3/0x900 [ 96.528346][ C0] ? _local_bh_enable+0xc0/0xc0 [ 96.528347][ C0] ? _local_bh_enable+0xc0/0xc0 [ 96.528349][ C0] ? __dev_queue_xmit+0x964/0x1b80 [ 96.528351][ C0] do_softirq+0xac/0xe0 [ 96.528352][ C0] [ 96.528353][ C0] [ 96.528353][ C0] __local_bh_enable_ip+0x118/0x150 [ 96.528355][ C0] __dev_queue_xmit+0x979/0x1b80 [ 96.528357][ C0] ? net_dim+0x616/0xd70 [ 96.528361][ C0] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 96.528362][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 96.528364][ C0] ? find_held_lock+0x2b/0x80 [ 96.528366][ C0] ? neigh_hh_output+0x152/0x4c0 [ 96.528369][ C0] ip_finish_output2+0xd9b/0x1bc0 [ 96.528371][ C0] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 96.528373][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 96.528374][ C0] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 96.528376][ C0] ? rcu_is_watching+0x16/0xd0 [ 96.528378][ C0] ip_output+0x1ca/0x660 [ 96.528380][ C0] ? ip_finish_output+0x460/0x460 [ 96.528383][ C0] ? __get_random_u32_below+0x15/0x70 [ 96.528386][ C0] raw_send_hdrinc+0xf5d/0x1740 [ 96.528388][ C0] ? nf_hook.constprop.0+0x340/0x340 [ 96.528390][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 96.528391][ C0] ? raw_sendmsg+0x992/0x1cc0 [ 96.528393][ C0] raw_sendmsg+0x12ba/0x1cc0 [ 96.528395][ C0] ? rcu_read_lock_any_held+0x3c/0x90 [ 96.528397][ C0] ? raw_send_hdrinc+0x1740/0x1740 [ 96.528398][ C0] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 96.528402][ C0] ? __might_fault+0x97/0x140 [ 96.528406][ C0] ? __might_fault+0x97/0x140 [ 96.528408][ C0] ? __might_fault+0x97/0x140 [ 96.528410][ C0] __sys_sendto+0x2aa/0x400 [ 96.528411][ C0] ? __ia32_sys_getpeername+0xd0/0xd0 [ 96.528414][ C0] ? __schedule+0x1239/0x20e0 [ 96.528415][ C0] ? __schedule+0xfa5/0x20e0 [ 96.528417][ C0] ? xfd_validate_state+0x2a/0x140 [ 96.528420][ C0] __x64_sys_sendto+0xe4/0x1f0 [ 96.528422][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 96.528424][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 96.528426][ C0] ? do_syscall_64+0xa6/0x530 [ 96.528427][ C0] do_syscall_64+0xff/0x530 [ 96.528428][ C0] ? irq_exit_rcu+0x1a/0x30 [ 96.528430][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 96.528431][ C0] RIP: 0033:0x7f006e33354e [ 96.528435][ C0] 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 [ 96.528437][ C0] RSP: 002b:00007ffd53056d50 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 96.528440][ C0] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f006e33354e [ 96.528441][ C0] RDX: 000000000000005c RSI: 0000560124379ac0 RDI: 0000000000000005 [ 96.528442][ C0] RBP: 00007ffd53056d60 R08: 00007ffd53056db0 R09: 0000000000000010 [ 96.528443][ C0] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000005c [ 96.528444][ C0] R13: 0000560124379830 R14: 0000000000000000 R15: 0000000000000000 [ 96.528446][ C0] [ 96.528451][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 96.528453][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 451, name: mausezahn [ 96.528454][ C0] preempt_count: 103, expected: 0 [ 96.528455][ C0] RCU nest depth: 2, expected: 0 [ 96.528456][ C0] INFO: lockdep is turned off. [ 96.528456][ C0] irq event stamp: 31846491 [ 96.528457][ C0] hardirqs last enabled at (31846490): [] __down_trylock_console_sem+0x86/0xa0 [ 96.528459][ C0] hardirqs last disabled at (31846491): [] console_emit_next_record+0x3d4/0x4c0 [ 96.528461][ C0] softirqs last enabled at (31846334): [] __dev_queue_xmit+0x964/0x1b80 [ 96.528463][ C0] softirqs last disabled at (31846335): [] do_softirq+0xac/0xe0 [ 96.528464][ C0] Preemption disabled at: [ 96.528465][ C0] [] __dev_queue_xmit+0x204/0x1b80 [ 96.528468][ C0] CPU: 0 UID: 0 PID: 451 Comm: mausezahn Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 96.528470][ C0] Tainted: [W]=WARN [ 96.528470][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 96.528471][ C0] Call Trace: [ 96.528471][ C0] [ 96.528472][ C0] dump_stack_lvl+0x6f/0xa0 [ 96.528474][ C0] ? __dev_queue_xmit+0x204/0x1b80 [ 96.528476][ C0] __might_resched.cold+0x1fe/0x2c1 [ 96.528479][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 96.528484][ C0] ? rcu_is_watching+0x16/0xd0 [ 96.528486][ C0] __kmalloc_noprof+0x443/0x760 [ 96.528488][ C0] ? __rwlock_init+0x150/0x150 [ 96.528489][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 96.528491][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 96.528493][ C0] alloc_buf.isra.0+0x4b/0x260 [ 96.528495][ C0] put_chars+0x1e1/0x2f0 [ 96.528496][ C0] ? __send_to_port+0x420/0x420 [ 96.528499][ C0] hvc_console_print+0x292/0x780 [ 96.528501][ C0] ? __lock_acquire+0x388/0xc20 [ 96.528503][ C0] ? hvc_write+0x3a0/0x3a0 [ 96.528504][ C0] ? rcu_is_watching+0x16/0xd0 [ 96.528506][ C0] ? lock_acquire+0x13c/0x160 [ 96.528508][ C0] console_emit_next_record+0x22f/0x4c0 [ 96.528511][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 96.528512][ C0] ? console_flush_one_record+0x106/0x710 [ 96.528514][ C0] ? rcu_is_watching+0x16/0xd0 [ 96.528516][ C0] ? lock_acquire+0x13c/0x160 [ 96.528518][ C0] console_flush_one_record+0x46f/0x710 [ 96.528520][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 96.528522][ C0] ? __lock_acquire+0x518/0xc20 [ 96.528524][ C0] console_unlock+0xee/0x1f0 [ 96.528526][ C0] ? console_flush_one_record+0x710/0x710 [ 96.528528][ C0] ? rcu_is_watching+0x16/0xd0 [ 96.528529][ C0] ? lock_acquire+0x60/0x160 [ 96.528531][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 96.528533][ C0] ? vprintk_emit+0x320/0x3e0 [ 96.528535][ C0] vprintk_emit+0x37c/0x3e0 [ 96.528537][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 96.528539][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 96.528541][ C0] _printk+0xc7/0x100 [ 96.528543][ C0] ? snapshot_read.cold+0x21/0x21 [ 96.528545][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 96.528546][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 96.528549][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 96.528550][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 96.528552][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 96.528553][ C0] call_timer_fn+0x160/0x4d0 [ 96.528555][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 96.528557][ C0] ? find_held_lock+0x2b/0x80 [ 96.528558][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 96.528560][ C0] ? rcu_is_watching+0x16/0xd0 [ 96.528562][ C0] __run_timers+0x68f/0xaa0 [ 96.528564][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 96.528566][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 96.528568][ C0] ? __lock_acquire+0x518/0xc20 [ 96.528569][ C0] ? trace_rcu_batch_end+0x2b0/0x310 [ 96.528572][ C0] ? __rwlock_init+0x150/0x150 [ 96.528574][ C0] run_timer_softirq+0xf0/0x160 [ 96.528576][ C0] ? rcu_is_watching+0x16/0xd0 [ 96.528577][ C0] ? __run_timers+0xaa0/0xaa0 [ 96.528579][ C0] ? rcu_is_watching+0x16/0xd0 [ 96.528581][ C0] handle_softirqs+0x1d3/0x900 [ 96.528583][ C0] ? _local_bh_enable+0xc0/0xc0 [ 96.528584][ C0] ? _local_bh_enable+0xc0/0xc0 [ 96.528586][ C0] ? __dev_queue_xmit+0x964/0x1b80 [ 96.528588][ C0] do_softirq+0xac/0xe0 [ 96.528589][ C0] [ 96.528589][ C0] [ 96.528590][ C0] __local_bh_enable_ip+0x118/0x150 [ 96.528592][ C0] __dev_queue_xmit+0x979/0x1b80 [ 96.528593][ C0] ? net_dim+0x616/0xd70 [ 96.528596][ C0] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 96.528597][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 96.528599][ C0] ? find_held_lock+0x2b/0x80 [ 96.528601][ C0] ? neigh_hh_output+0x152/0x4c0 [ 96.528603][ C0] ip_finish_output2+0xd9b/0x1bc0 [ 96.528605][ C0] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 96.528607][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 96.528609][ C0] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 96.528611][ C0] ? rcu_is_watching+0x16/0xd0 [ 96.528613][ C0] ip_output+0x1ca/0x660 [ 96.528615][ C0] ? ip_finish_output+0x460/0x460 [ 96.528617][ C0] ? __get_random_u32_below+0x15/0x70 [ 96.528620][ C0] raw_send_hdrinc+0xf5d/0x1740 [ 96.528622][ C0] ? nf_hook.constprop.0+0x340/0x340 [ 96.528624][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 96.528625][ C0] ? raw_sendmsg+0x992/0x1cc0 [ 96.528627][ C0] raw_sendmsg+0x12ba/0x1cc0 [ 96.528629][ C0] ? rcu_read_lock_any_held+0x3c/0x90 [ 96.528630][ C0] ? raw_send_hdrinc+0x1740/0x1740 [ 96.528632][ C0] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 96.528636][ C0] ? __might_fault+0x97/0x140 [ 96.528638][ C0] ? __might_fault+0x97/0x140 [ 96.528640][ C0] ? __might_fault+0x97/0x140 [ 96.528641][ C0] __sys_sendto+0x2aa/0x400 [ 96.528643][ C0] ? __ia32_sys_getpeername+0xd0/0xd0 [ 96.528646][ C0] ? __schedule+0x1239/0x20e0 [ 96.528647][ C0] ? __schedule+0xfa5/0x20e0 [ 96.528649][ C0] ? xfd_validate_state+0x2a/0x140 [ 96.528651][ C0] __x64_sys_sendto+0xe4/0x1f0 [ 96.528653][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 96.528654][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 96.528656][ C0] ? do_syscall_64+0xa6/0x530 [ 96.528657][ C0] do_syscall_64+0xff/0x530 [ 96.528658][ C0] ? irq_exit_rcu+0x1a/0x30 [ 96.528660][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 96.528661][ C0] RIP: 0033:0x7f006e33354e [ 96.528662][ C0] 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 [ 96.528663][ C0] RSP: 002b:00007ffd53056d50 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 96.528664][ C0] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f006e33354e [ 96.528665][ C0] RDX: 000000000000005c RSI: 0000560124379ac0 RDI: 0000000000000005 [ 96.528666][ C0] RBP: 00007ffd53056d60 R08: 00007ffd53056db0 R09: 0000000000000010 [ 96.528667][ C0] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000005c [ 96.528667][ C0] R13: 0000560124379830 R14: 0000000000000000 R15: 0000000000000000 [ 96.528669][ C0]