[ 12.468950][ T293] 8021q: 802.1Q VLAN Support v1.8 [ 12.468969][ T293] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.468972][ T293] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 293, name: modprobe [ 12.468974][ T293] preempt_count: 1, expected: 0 [ 12.468975][ T293] RCU nest depth: 0, expected: 0 [ 12.468976][ T293] locks held by modprobe/293: 4, last CPU#3: [ 12.468978][ T293] #0: ffffffff9f969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.468991][ T293] #1: ffffffff9f969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.468995][ T293] #2: ffffffff9f889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.468999][ T293] #3: ffffffff9f889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.469003][ T293] irq event stamp: 28354 [ 12.469004][ T293] hardirqs last enabled at (28353): [] __down_trylock_console_sem+0x86/0xa0 [ 12.469006][ T293] hardirqs last disabled at (28354): [] console_emit_next_record+0x3d4/0x4c0 [ 12.469008][ T293] softirqs last enabled at (25622): [] handle_softirqs+0x67c/0x900 [ 12.469011][ T293] softirqs last disabled at (25615): [] __irq_exit_rcu+0x145/0x1c0 [ 12.469013][ T293] Preemption disabled at: [ 12.469014][ T293] [] vprintk_emit+0x31b/0x3e0 [ 12.469020][ T293] CPU: 3 UID: 0 PID: 293 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.469023][ T293] Tainted: [W]=WARN [ 12.469024][ T293] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.469026][ T293] Call Trace: [ 12.469027][ T293] [ 12.469028][ T293] dump_stack_lvl+0x6f/0xa0 [ 12.469034][ T293] ? vprintk_emit+0x31b/0x3e0 [ 12.469036][ T293] __might_resched.cold+0x1fe/0x2c1 [ 12.469041][ T293] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.469044][ T293] ? __kmalloc_noprof+0xdb/0x760 [ 12.469049][ T293] __kmalloc_noprof+0x443/0x760 [ 12.469052][ T293] ? alloc_buf.isra.0+0x4b/0x260 [ 12.469057][ T293] ? do_raw_spin_unlock+0x59/0x250 [ 12.469060][ T293] alloc_buf.isra.0+0x4b/0x260 [ 12.469063][ T293] put_chars+0x1e1/0x2f0 [ 12.469066][ T293] ? __send_to_port+0x420/0x420 [ 12.469067][ T293] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.469072][ T293] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.469074][ T293] ? validate_chain+0x38b/0xc20 [ 12.469078][ T293] hvc_console_print+0x292/0x780 [ 12.469081][ T293] ? __lock_acquire+0x518/0xc20 [ 12.469085][ T293] ? hvc_write+0x3a0/0x3a0 [ 12.469088][ T293] ? rcu_is_watching+0x16/0xd0 [ 12.469093][ T293] console_emit_next_record+0x22f/0x4c0 [ 12.469096][ T293] ? devkmsg_read+0x4b0/0x4b0 [ 12.469098][ T293] ? console_flush_one_record+0x106/0x710 [ 12.469101][ T293] ? rcu_is_watching+0x16/0xd0 [ 12.469103][ T293] ? lock_acquire+0x13c/0x160 [ 12.469107][ T293] console_flush_one_record+0x46f/0x710 [ 12.469111][ T293] ? console_emit_next_record+0x4c0/0x4c0 [ 12.469113][ T293] ? __lock_acquire+0x518/0xc20 [ 12.469117][ T293] console_unlock+0xee/0x1f0 [ 12.469120][ T293] ? console_flush_one_record+0x710/0x710 [ 12.469122][ T293] ? rcu_is_watching+0x16/0xd0 [ 12.469124][ T293] ? lock_acquire+0x60/0x160 [ 12.469127][ T293] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.469129][ T293] ? vprintk_emit+0x320/0x3e0 [ 12.469132][ T293] vprintk_emit+0x37c/0x3e0 [ 12.469136][ T293] ? wake_up_klogd_work_func+0x90/0x90 [ 12.469141][ T293] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 12.469145][ T293] _printk+0xc7/0x100 [ 12.469149][ T293] ? snapshot_read.cold+0x21/0x21 [ 12.469155][ T293] ? do_one_initcall+0x113/0x4f0 [ 12.469158][ T293] vlan_proto_init+0x24/0x90 [8021q] [ 12.469161][ T293] do_one_initcall+0x124/0x4f0 [ 12.469163][ T293] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.469168][ T293] ? do_init_module+0xae/0x8a0 [ 12.469171][ T293] ? kasan_unpoison+0x44/0x70 [ 12.469175][ T293] do_init_module+0x2ad/0x8a0 [ 12.469178][ T293] ? lockdep_hardirqs_on+0x91/0x130 [ 12.469183][ T293] ? free_module+0x470/0x470 [ 12.469186][ T293] ? kfree+0x123/0x590 [ 12.469190][ T293] load_module+0x1424/0x1bb0 [ 12.469196][ T293] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.469200][ T293] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.469203][ T293] ? ovl_real_file+0x172/0x1e0 [ 12.469206][ T293] ? find_held_lock+0x2b/0x80 [ 12.469208][ T293] ? backing_file_read_iter+0x541/0x790 [ 12.469211][ T293] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.469215][ T293] init_module_from_file+0x11f/0x1a0 [ 12.469218][ T293] ? __do_sys_init_module+0x220/0x220 [ 12.469225][ T293] ? __rwlock_init+0x150/0x150 [ 12.469229][ T293] ? do_raw_spin_unlock+0x59/0x250 [ 12.469232][ T293] idempotent_init_module+0x37b/0x7c0 [ 12.469235][ T293] ? init_module_from_file+0x1a0/0x1a0 [ 12.469241][ T293] ? rcu_is_watching+0x16/0xd0 [ 12.469244][ T293] ? cap_capable+0x1d7/0x3d0 [ 12.469249][ T293] __x64_sys_finit_module+0xdf/0x190 [ 12.469251][ T293] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.469255][ T293] do_syscall_64+0xff/0x530 [ 12.469256][ T293] ? exc_page_fault+0xee/0x100 [ 12.469259][ T293] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.469261][ T293] RIP: 0033:0x7f2bfe11c37d [ 12.469265][ T293] 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.469266][ T293] RSP: 002b:00007ffed6b1e1f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.469269][ T293] RAX: ffffffffffffffda RBX: 000055f6c54b3810 RCX: 00007f2bfe11c37d [ 12.469270][ T293] RDX: 0000000000000000 RSI: 000055f6ab5e6ffd RDI: 0000000000000000 [ 12.469271][ T293] RBP: 00007ffed6b1e290 R08: 0000000000000000 R09: 0000000000000000 [ 12.469272][ T293] R10: 0000000000000000 R11: 0000000000000246 R12: 000055f6ab5e6ffd [ 12.469273][ T293] R13: 000055f6c54b3960 R14: 0000000000040000 R15: 0000000000000000 [ 12.469279][ T293] [ 12.667039][ T299] gre: GRE over IPv4 demultiplexer driver [ 12.695802][ T299] ip6_gre: GRE over IPv6 tunneling driver [ 13.912724][ C0] clocksource: Watchdog remote CPU 2 read timed out [ 13.912864][ C0] [ 13.912871][ C0] ======================================================== [ 13.912872][ C0] WARNING: possible irq lock inversion dependency detected [ 13.912874][ C0] 7.2.0-virtme #1 Tainted: G W [ 13.912876][ C0] -------------------------------------------------------- [ 13.912876][ C0] swapper/0/0 just changed the state of lock: [ 13.912877][ C0] ffffffff9f889660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.912890][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 13.912891][ C0] (fs_reclaim){+.+.}-{0:0} [ 13.912892][ C0] [ 13.912892][ C0] [ 13.912892][ C0] and interrupts could create inverse lock ordering between them. [ 13.912892][ C0] [ 13.912893][ C0] [ 13.912893][ C0] other info that might help us debug this: [ 13.912894][ C0] Possible interrupt unsafe locking scenario: [ 13.912894][ C0] [ 13.912894][ C0] CPU0 CPU1 [ 13.912895][ C0] ---- ---- [ 13.912895][ C0] lock(fs_reclaim); [ 13.912896][ C0] local_irq_disable(); [ 13.912897][ C0] lock(console_owner); [ 13.912898][ C0] lock(fs_reclaim); [ 13.912899][ C0] [ 13.912899][ C0] lock(console_owner); [ 13.912900][ C0] [ 13.912900][ C0] *** DEADLOCK *** [ 13.912900][ C0] [ 13.912900][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 13.912901][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 13.912907][ C0] #1: ffffffff9f9ce8b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 13.912911][ C0] #2: ffffffff9f969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.912914][ C0] #3: ffffffff9f969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.912918][ C0] [ 13.912918][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 13.912922][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 13.912924][ C0] HARDIRQ-ON-W at: [ 13.912926][ C0] __lock_acquire+0x388/0xc20 [ 13.912929][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.912930][ C0] fs_reclaim_acquire+0xd5/0x120 [ 13.912933][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 13.912935][ C0] kthread_create_worker_on_node+0xea/0x210 [ 13.912938][ C0] workqueue_init+0x2a/0x680 [ 13.912942][ C0] kernel_init_freeable+0x2fe/0x630 [ 13.912944][ C0] kernel_init+0x21/0x150 [ 13.912947][ C0] ret_from_fork+0x474/0x6b0 [ 13.912951][ C0] ret_from_fork_asm+0x11/0x20 [ 13.912953][ C0] SOFTIRQ-ON-W at: [ 13.912954][ C0] __lock_acquire+0x388/0xc20 [ 13.912956][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.912957][ C0] fs_reclaim_acquire+0xd5/0x120 [ 13.912958][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 13.912959][ C0] kthread_create_worker_on_node+0xea/0x210 [ 13.912961][ C0] workqueue_init+0x2a/0x680 [ 13.912962][ C0] kernel_init_freeable+0x2fe/0x630 [ 13.912963][ C0] kernel_init+0x21/0x150 [ 13.912965][ C0] ret_from_fork+0x474/0x6b0 [ 13.912966][ C0] ret_from_fork_asm+0x11/0x20 [ 13.912967][ C0] INITIAL USE at: [ 13.912968][ C0] __lock_acquire+0x388/0xc20 [ 13.912969][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.912970][ C0] fs_reclaim_acquire+0xd5/0x120 [ 13.912971][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 13.912973][ C0] kthread_create_worker_on_node+0xea/0x210 [ 13.912974][ C0] workqueue_init+0x2a/0x680 [ 13.912975][ C0] kernel_init_freeable+0x2fe/0x630 [ 13.912976][ C0] kernel_init+0x21/0x150 [ 13.912978][ C0] ret_from_fork+0x474/0x6b0 [ 13.912979][ C0] ret_from_fork_asm+0x11/0x20 [ 13.912980][ C0] } [ 13.912980][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 13.912984][ C0] ... acquired at: [ 13.912985][ C0] __lock_acquire+0x518/0xc20 [ 13.912986][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.912988][ C0] fs_reclaim_acquire+0xd5/0x120 [ 13.912989][ C0] __kmalloc_noprof+0xd3/0x760 [ 13.912990][ C0] alloc_buf.isra.0+0x4b/0x260 [ 13.912993][ C0] put_chars+0x1e1/0x2f0 [ 13.912994][ C0] hvc_console_print+0x292/0x780 [ 13.912996][ C0] console_emit_next_record+0x22f/0x4c0 [ 13.912998][ C0] console_flush_one_record+0x46f/0x710 [ 13.913000][ C0] console_unlock+0xee/0x1f0 [ 13.913001][ C0] vprintk_emit+0x37c/0x3e0 [ 13.913002][ C0] dev_vprintk_emit+0x27f/0x2c0 [ 13.913006][ C0] dev_printk_emit+0xb9/0xee [ 13.913008][ C0] _dev_info+0xe2/0x116 [ 13.913009][ C0] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 13.913012][ C0] cmos_do_probe+0x73b/0x98a [ 13.913014][ C0] platform_probe+0xfe/0x1f0 [ 13.913017][ C0] call_driver_probe+0x61/0x1c0 [ 13.913019][ C0] really_probe+0x199/0x760 [ 13.913020][ C0] __driver_probe_device+0x24f/0x440 [ 13.913022][ C0] driver_probe_device+0x4a/0xf0 [ 13.913023][ C0] __driver_attach+0x1b8/0x540 [ 13.913024][ C0] bus_for_each_dev+0x130/0x1e0 [ 13.913026][ C0] bus_add_driver+0x2c8/0x530 [ 13.913027][ C0] driver_register+0x1a3/0x390 [ 13.913028][ C0] __platform_driver_probe+0x13f/0x270 [ 13.913030][ C0] cmos_init+0x31/0x40 [ 13.913033][ C0] do_one_initcall+0x124/0x4f0 [ 13.913034][ C0] kernel_init_freeable+0x596/0x630 [ 13.913035][ C0] kernel_init+0x21/0x150 [ 13.913037][ C0] ret_from_fork+0x474/0x6b0 [ 13.913038][ C0] ret_from_fork_asm+0x11/0x20 [ 13.913039][ C0] [ 13.913039][ C0] -> (console_owner){..-.}-{0:0} { [ 13.913041][ C0] IN-SOFTIRQ-W at: [ 13.913042][ C0] __lock_acquire+0x388/0xc20 [ 13.913043][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.913045][ C0] console_lock_spinning_enable+0x5c/0x60 [ 13.913046][ C0] console_emit_next_record+0x1d1/0x4c0 [ 13.913048][ C0] console_flush_one_record+0x46f/0x710 [ 13.913049][ C0] console_unlock+0xee/0x1f0 [ 13.913051][ C0] vprintk_emit+0x37c/0x3e0 [ 13.913052][ C0] _printk+0xc7/0x100 [ 13.913055][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 13.913058][ C0] call_timer_fn+0x160/0x4d0 [ 13.913059][ C0] __run_timers+0x68f/0xaa0 [ 13.913061][ C0] run_timer_softirq+0xf0/0x160 [ 13.913062][ C0] handle_softirqs+0x1d3/0x900 [ 13.913065][ C0] __irq_exit_rcu+0x145/0x1c0 [ 13.913066][ C0] irq_exit_rcu+0xe/0x30 [ 13.913067][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 13.913069][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.913071][ C0] pv_native_safe_halt+0xf/0x10 [ 13.913072][ C0] default_idle+0x9/0x10 [ 13.913074][ C0] default_idle_call+0x6e/0xb0 [ 13.913075][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.913078][ C0] do_idle+0xd8/0x190 [ 13.913079][ C0] cpu_startup_entry+0x53/0x70 [ 13.913080][ C0] rest_init+0x279/0x280 [ 13.913082][ C0] start_kernel+0x3af/0x3b0 [ 13.913083][ C0] x86_64_start_reservations+0x24/0x30 [ 13.913085][ C0] x86_64_start_kernel+0x12b/0x130 [ 13.913086][ C0] common_startup_64+0x13e/0x148 [ 13.913089][ C0] INITIAL USE at: [ 13.913089][ C0] } [ 13.913090][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 13.913093][ C0] ... acquired at: [ 13.913093][ C0] mark_lock+0x1d7/0xa00 [ 13.913095][ C0] mark_usage+0x42/0x170 [ 13.913096][ C0] __lock_acquire+0x388/0xc20 [ 13.913097][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.913098][ C0] console_lock_spinning_enable+0x5c/0x60 [ 13.913100][ C0] console_emit_next_record+0x1d1/0x4c0 [ 13.913101][ C0] console_flush_one_record+0x46f/0x710 [ 13.913103][ C0] console_unlock+0xee/0x1f0 [ 13.913104][ C0] vprintk_emit+0x37c/0x3e0 [ 13.913106][ C0] _printk+0xc7/0x100 [ 13.913107][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 13.913108][ C0] call_timer_fn+0x160/0x4d0 [ 13.913110][ C0] __run_timers+0x68f/0xaa0 [ 13.913111][ C0] run_timer_softirq+0xf0/0x160 [ 13.913113][ C0] handle_softirqs+0x1d3/0x900 [ 13.913114][ C0] __irq_exit_rcu+0x145/0x1c0 [ 13.913115][ C0] irq_exit_rcu+0xe/0x30 [ 13.913116][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 13.913117][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.913118][ C0] pv_native_safe_halt+0xf/0x10 [ 13.913120][ C0] default_idle+0x9/0x10 [ 13.913121][ C0] default_idle_call+0x6e/0xb0 [ 13.913123][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.913124][ C0] do_idle+0xd8/0x190 [ 13.913125][ C0] cpu_startup_entry+0x53/0x70 [ 13.913126][ C0] rest_init+0x279/0x280 [ 13.913127][ C0] start_kernel+0x3af/0x3b0 [ 13.913128][ C0] x86_64_start_reservations+0x24/0x30 [ 13.913130][ C0] x86_64_start_kernel+0x12b/0x130 [ 13.913131][ C0] common_startup_64+0x13e/0x148 [ 13.913132][ C0] [ 13.913133][ C0] [ 13.913133][ C0] stack backtrace: [ 13.913135][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.913138][ C0] Tainted: [W]=WARN [ 13.913139][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.913141][ C0] Call Trace: [ 13.913142][ C0] [ 13.913143][ C0] dump_stack_lvl+0x6f/0xa0 [ 13.913147][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 13.913149][ C0] mark_lock_irq+0x989/0x9c0 [ 13.913151][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 13.913154][ C0] mark_lock+0x1d7/0xa00 [ 13.913156][ C0] mark_usage+0x42/0x170 [ 13.913157][ C0] __lock_acquire+0x388/0xc20 [ 13.913159][ C0] lock_acquire.part.0+0xd4/0x280 [ 13.913161][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 13.913163][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.913166][ C0] ? lock_acquire+0x13c/0x160 [ 13.913168][ C0] console_lock_spinning_enable+0x5c/0x60 [ 13.913170][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 13.913172][ C0] console_emit_next_record+0x1d1/0x4c0 [ 13.913174][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 13.913175][ C0] ? console_flush_one_record+0x106/0x710 [ 13.913177][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.913179][ C0] ? lock_acquire+0x13c/0x160 [ 13.913181][ C0] console_flush_one_record+0x46f/0x710 [ 13.913183][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 13.913185][ C0] ? __lock_acquire+0x518/0xc20 [ 13.913187][ C0] console_unlock+0xee/0x1f0 [ 13.913189][ C0] ? console_flush_one_record+0x710/0x710 [ 13.913190][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.913192][ C0] ? lock_acquire+0x60/0x160 [ 13.913194][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.913195][ C0] ? vprintk_emit+0x320/0x3e0 [ 13.913197][ C0] vprintk_emit+0x37c/0x3e0 [ 13.913200][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 13.913202][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 13.913204][ C0] _printk+0xc7/0x100 [ 13.913205][ C0] ? snapshot_read.cold+0x21/0x21 [ 13.913207][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 13.913209][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 13.913211][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 13.913213][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 13.913214][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 13.913216][ C0] call_timer_fn+0x160/0x4d0 [ 13.913218][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 13.913219][ C0] ? debug_object_active_state+0x430/0x430 [ 13.913223][ C0] ? find_held_lock+0x2b/0x80 [ 13.913225][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 13.913226][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.913228][ C0] __run_timers+0x68f/0xaa0 [ 13.913230][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 13.913232][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 13.913234][ C0] ? __lock_acquire+0x518/0xc20 [ 13.913236][ C0] ? __rwlock_init+0x150/0x150 [ 13.913239][ C0] run_timer_softirq+0xf0/0x160 [ 13.913241][ C0] ? __run_timers+0xaa0/0xaa0 [ 13.913242][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.913245][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.913247][ C0] handle_softirqs+0x1d3/0x900 [ 13.913248][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 13.913250][ C0] ? _local_bh_enable+0xc0/0xc0 [ 13.913252][ C0] __irq_exit_rcu+0x145/0x1c0 [ 13.913253][ C0] irq_exit_rcu+0xe/0x30 [ 13.913255][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 13.913257][ C0] [ 13.913257][ C0] [ 13.913258][ C0] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 13.913260][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.913261][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 13.913264][ C0] Code: 48 8b 3d 94 e2 f5 01 e8 1f 00 00 00 48 2b 05 58 a3 95 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 96 11 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 13.913266][ C0] RSP: 0018:ffffffff9f607cf8 EFLAGS: 00000296 [ 13.913268][ C0] RAX: 00000000000a9723 RBX: ffffffff9f61c600 RCX: ffffffff9c6f0307 [ 13.913269][ C0] RDX: ffffffff9f61c600 RSI: ffffffff9f438b01 RDI: ffffffff9ee8d8e0 [ 13.913270][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 13.913271][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff3ec0fa2 [ 13.913272][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 13.913273][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.913275][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 13.913277][ C0] default_idle+0x9/0x10 [ 13.913279][ C0] default_idle_call+0x6e/0xb0 [ 13.913280][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.913282][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 13.913283][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 13.913286][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.913288][ C0] do_idle+0xd8/0x190 [ 13.913289][ C0] cpu_startup_entry+0x53/0x70 [ 13.913291][ C0] rest_init+0x279/0x280 [ 13.913292][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 13.913295][ C0] ? rest_init+0x280/0x280 [ 13.913297][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 13.913301][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 13.913303][ C0] ? acpi_enable+0x1e4/0x330 [ 13.913306][ C0] start_kernel+0x3af/0x3b0 [ 13.913307][ C0] x86_64_start_reservations+0x24/0x30 [ 13.913309][ C0] x86_64_start_kernel+0x12b/0x130 [ 13.913311][ C0] common_startup_64+0x13e/0x148 [ 13.913314][ C0] [ 13.913318][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.913319][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 13.913320][ C0] preempt_count: 103, expected: 0 [ 13.913321][ C0] RCU nest depth: 0, expected: 0 [ 13.913322][ C0] INFO: lockdep is turned off. [ 13.913323][ C0] irq event stamp: 694067 [ 13.913323][ C0] hardirqs last enabled at (694066): [] __down_trylock_console_sem+0x86/0xa0 [ 13.913326][ C0] hardirqs last disabled at (694067): [] console_emit_next_record+0x3d4/0x4c0 [ 13.913327][ C0] softirqs last enabled at (694040): [] handle_softirqs+0x67c/0x900 [ 13.913329][ C0] softirqs last disabled at (694053): [] __irq_exit_rcu+0x145/0x1c0 [ 13.913330][ C0] Preemption disabled at: [ 13.913331][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 13.913333][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.913335][ C0] Tainted: [W]=WARN [ 13.913336][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.913336][ C0] Call Trace: [ 13.913337][ C0] [ 13.913337][ C0] dump_stack_lvl+0x6f/0xa0 [ 13.913339][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 13.913341][ C0] __might_resched.cold+0x1fe/0x2c1 [ 13.913344][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.913347][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.913349][ C0] __kmalloc_noprof+0x443/0x760 [ 13.913350][ C0] ? __rwlock_init+0x150/0x150 [ 13.913352][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 13.913354][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 13.913355][ C0] alloc_buf.isra.0+0x4b/0x260 [ 13.913357][ C0] put_chars+0x1e1/0x2f0 [ 13.913359][ C0] ? __send_to_port+0x420/0x420 [ 13.913361][ C0] ? mark_lock+0x1d7/0xa00 [ 13.913363][ C0] hvc_console_print+0x292/0x780 [ 13.913365][ C0] ? hvc_write+0x3a0/0x3a0 [ 13.913366][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.913368][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.913370][ C0] console_emit_next_record+0x22f/0x4c0 [ 13.913373][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 13.913374][ C0] ? console_flush_one_record+0x106/0x710 [ 13.913376][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.913378][ C0] ? lock_acquire+0x13c/0x160 [ 13.913380][ C0] console_flush_one_record+0x46f/0x710 [ 13.913382][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 13.913384][ C0] ? __lock_acquire+0x518/0xc20 [ 13.913386][ C0] console_unlock+0xee/0x1f0 [ 13.913388][ C0] ? console_flush_one_record+0x710/0x710 [ 13.913390][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.913391][ C0] ? lock_acquire+0x60/0x160 [ 13.913393][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.913395][ C0] ? vprintk_emit+0x320/0x3e0 [ 13.913397][ C0] vprintk_emit+0x37c/0x3e0 [ 13.913399][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 13.913401][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 13.913403][ C0] _printk+0xc7/0x100 [ 13.913405][ C0] ? snapshot_read.cold+0x21/0x21 [ 13.913407][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 13.913408][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 13.913410][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 13.913412][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 13.913413][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 13.913415][ C0] call_timer_fn+0x160/0x4d0 [ 13.913417][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 13.913418][ C0] ? debug_object_active_state+0x430/0x430 [ 13.913420][ C0] ? find_held_lock+0x2b/0x80 [ 13.913421][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 13.913423][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.913425][ C0] __run_timers+0x68f/0xaa0 [ 13.913427][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 13.913429][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 13.913431][ C0] ? __lock_acquire+0x518/0xc20 [ 13.913433][ C0] ? __rwlock_init+0x150/0x150 [ 13.913436][ C0] run_timer_softirq+0xf0/0x160 [ 13.913437][ C0] ? __run_timers+0xaa0/0xaa0 [ 13.913439][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.913440][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.913442][ C0] handle_softirqs+0x1d3/0x900 [ 13.913444][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 13.913445][ C0] ? _local_bh_enable+0xc0/0xc0 [ 13.913447][ C0] __irq_exit_rcu+0x145/0x1c0 [ 13.913449][ C0] irq_exit_rcu+0xe/0x30 [ 13.913450][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 13.913452][ C0] [ 13.913452][ C0] [ 13.913452][ C0] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 13.913454][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.913455][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 13.913457][ C0] Code: 48 8b 3d 94 e2 f5 01 e8 1f 00 00 00 48 2b 05 58 a3 95 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 96 11 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 13.913458][ C0] RSP: 0018:ffffffff9f607cf8 EFLAGS: 00000296 [ 13.913459][ C0] RAX: 00000000000a9723 RBX: ffffffff9f61c600 RCX: ffffffff9c6f0307 [ 13.913460][ C0] RDX: ffffffff9f61c600 RSI: ffffffff9f438b01 RDI: ffffffff9ee8d8e0 [ 13.913461][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 13.913462][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff3ec0fa2 [ 13.913462][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 13.913464][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.913466][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 13.913467][ C0] default_idle+0x9/0x10 [ 13.913469][ C0] default_idle_call+0x6e/0xb0 [ 13.913471][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 13.913472][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 13.913474][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 13.913475][ C0] ? rcu_is_watching+0x16/0xd0 [ 13.913477][ C0] do_idle+0xd8/0x190 [ 13.913478][ C0] cpu_startup_entry+0x53/0x70 [ 13.913480][ C0] rest_init+0x279/0x280 [ 13.913482][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 13.913484][ C0] ? rest_init+0x280/0x280 [ 13.913486][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 13.913488][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 13.913490][ C0] ? acpi_enable+0x1e4/0x330 [ 13.913492][ C0] start_kernel+0x3af/0x3b0 [ 13.913493][ C0] x86_64_start_reservations+0x24/0x30 [ 13.913495][ C0] x86_64_start_kernel+0x12b/0x130 [ 13.913497][ C0] common_startup_64+0x13e/0x148 [ 13.913499][ C0] [ 19.423194][ T392] GACT probability NOT on [ 19.423207][ T392] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.423209][ T392] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 392, name: modprobe [ 19.423211][ T392] preempt_count: 1, expected: 0 [ 19.423212][ T392] RCU nest depth: 0, expected: 0 [ 19.423213][ T392] INFO: lockdep is turned off. [ 19.423214][ T392] irq event stamp: 0 [ 19.423215][ T392] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 19.423219][ T392] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 19.423225][ T392] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 19.423226][ T392] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 19.423228][ T392] Preemption disabled at: [ 19.423229][ T392] [] vprintk_emit+0x31b/0x3e0 [ 19.423236][ T392] CPU: 3 UID: 0 PID: 392 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.423240][ T392] Tainted: [W]=WARN [ 19.423241][ T392] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.423243][ T392] Call Trace: [ 19.423244][ T392] [ 19.423245][ T392] dump_stack_lvl+0x6f/0xa0 [ 19.423251][ T392] ? vprintk_emit+0x31b/0x3e0 [ 19.423253][ T392] __might_resched.cold+0x1fe/0x2c1 [ 19.423256][ T392] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.423260][ T392] ? rcu_is_watching+0x16/0xd0 [ 19.423264][ T392] __kmalloc_noprof+0x443/0x760 [ 19.423267][ T392] ? __rwlock_init+0x150/0x150 [ 19.423270][ T392] ? alloc_buf.isra.0+0x4b/0x260 [ 19.423274][ T392] ? do_raw_spin_unlock+0x59/0x250 [ 19.423276][ T392] alloc_buf.isra.0+0x4b/0x260 [ 19.423277][ T392] put_chars+0x1e1/0x2f0 [ 19.423279][ T392] ? desc_read_finalized_seq+0x79/0x120 [ 19.423281][ T392] ? __send_to_port+0x420/0x420 [ 19.423283][ T392] ? console_prepend_replay+0x20/0x20 [ 19.423285][ T392] hvc_console_print+0x292/0x780 [ 19.423289][ T392] ? hvc_write+0x3a0/0x3a0 [ 19.423290][ T392] ? do_raw_spin_lock+0x131/0x280 [ 19.423291][ T392] ? __rwlock_init+0x150/0x150 [ 19.423293][ T392] ? rcu_is_watching+0x16/0xd0 [ 19.423295][ T392] ? rcu_is_watching+0x16/0xd0 [ 19.423296][ T392] ? lock_acquire+0x13c/0x160 [ 19.423299][ T392] console_emit_next_record+0x22f/0x4c0 [ 19.423301][ T392] ? devkmsg_read+0x4b0/0x4b0 [ 19.423303][ T392] ? rcu_is_watching+0x16/0xd0 [ 19.423305][ T392] ? rcu_is_watching+0x16/0xd0 [ 19.423306][ T392] ? rcu_is_watching+0x16/0xd0 [ 19.423308][ T392] ? lock_acquire+0x13c/0x160 [ 19.423310][ T392] ? console_flush_one_record+0x111/0x710 [ 19.423312][ T392] console_flush_one_record+0x46f/0x710 [ 19.423314][ T392] ? console_emit_next_record+0x4c0/0x4c0 [ 19.423317][ T392] console_unlock+0xee/0x1f0 [ 19.423319][ T392] ? lock_acquire+0x13c/0x160 [ 19.423320][ T392] ? console_flush_one_record+0x710/0x710 [ 19.423322][ T392] ? rcu_is_watching+0x16/0xd0 [ 19.423323][ T392] ? lock_release+0x184/0x1f0 [ 19.423325][ T392] ? lock_acquire+0x60/0x160 [ 19.423326][ T392] ? __rcu_read_lock+0x30/0x70 [ 19.423328][ T392] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.423330][ T392] ? vprintk_emit+0x320/0x3e0 [ 19.423332][ T392] vprintk_emit+0x37c/0x3e0 [ 19.423335][ T392] ? wake_up_klogd_work_func+0x90/0x90 [ 19.423338][ T392] ? gre_exit+0x3f0/0x3f0 [gre] [ 19.423340][ T392] _printk+0xc7/0x100 [ 19.423344][ T392] ? snapshot_read.cold+0x21/0x21 [ 19.423347][ T392] ? do_one_initcall+0x113/0x4f0 [ 19.423349][ T392] gact_init_module+0x15/0x1000 [act_gact] [ 19.423351][ T392] do_one_initcall+0x124/0x4f0 [ 19.423353][ T392] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 19.423355][ T392] ? do_init_module+0xae/0x8a0 [ 19.423358][ T392] ? kasan_unpoison+0x44/0x70 [ 19.423361][ T392] do_init_module+0x2ad/0x8a0 [ 19.423363][ T392] ? free_module+0x470/0x470 [ 19.423365][ T392] ? kfree+0x123/0x590 [ 19.423368][ T392] load_module+0x1424/0x1bb0 [ 19.423371][ T392] ? layout_and_allocate.isra.0+0x680/0x680 [ 19.423373][ T392] ? lock_release+0x184/0x1f0 [ 19.423375][ T392] ? __ia32_sys_fsconfig+0x180/0x180 [ 19.423378][ T392] ? lock_acquire+0x13c/0x160 [ 19.423380][ T392] init_module_from_file+0x11f/0x1a0 [ 19.423382][ T392] ? __do_sys_init_module+0x220/0x220 [ 19.423384][ T392] ? rcu_read_unlock+0x20/0x70 [ 19.423387][ T392] ? handle_pte_fault+0x426/0x710 [ 19.423389][ T392] ? rcu_is_watching+0x16/0xd0 [ 19.423391][ T392] ? ovl_mmap+0x270/0x270 [ 19.423395][ T392] ? __rwlock_init+0x150/0x150 [ 19.423397][ T392] ? rcu_is_watching+0x16/0xd0 [ 19.423399][ T392] ? lock_release+0x184/0x1f0 [ 19.423400][ T392] ? do_raw_spin_unlock+0x59/0x250 [ 19.423402][ T392] idempotent_init_module+0x37b/0x7c0 [ 19.423404][ T392] ? init_module_from_file+0x1a0/0x1a0 [ 19.423407][ T392] ? rcu_is_watching+0x16/0xd0 [ 19.423409][ T392] ? rcu_is_watching+0x16/0xd0 [ 19.423411][ T392] ? cap_capable+0x1d7/0x3d0 [ 19.423415][ T392] __x64_sys_finit_module+0xdf/0x190 [ 19.423417][ T392] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 19.423419][ T392] do_syscall_64+0xff/0x530 [ 19.423423][ T392] ? exc_page_fault+0xee/0x100 [ 19.423425][ T392] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.423427][ T392] RIP: 0033:0x7fbc2c5f837d [ 19.423429][ T392] 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 [ 19.423430][ T392] RSP: 002b:00007ffea269e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 19.423434][ T392] RAX: ffffffffffffffda RBX: 000055ef4357c810 RCX: 00007fbc2c5f837d [ 19.423436][ T392] RDX: 0000000000000000 RSI: 000055ef069dfffd RDI: 0000000000000000 [ 19.423437][ T392] RBP: 00007ffea269e200 R08: 0000000000000000 R09: 0000000000000000 [ 19.423437][ T392] R10: 0000000000000000 R11: 0000000000000246 R12: 000055ef069dfffd [ 19.423438][ T392] R13: 000055ef4357c960 R14: 0000000000040000 R15: 0000000000000000 [ 19.423441][ T392]