[ 11.000975][ T218] GACT probability NOT on [ 11.000991][ T218] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.000993][ T218] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 218, name: modprobe [ 11.000994][ T218] preempt_count: 1, expected: 0 [ 11.000995][ T218] RCU nest depth: 0, expected: 0 [ 11.000996][ T218] locks held by modprobe/218: 4, last CPU#2: [ 11.000998][ T218] #0: ffffffffa537ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.001009][ T218] #1: ffffffffa537de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.001014][ T218] #2: ffffffffa529d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.001017][ T218] #3: ffffffffa529d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.001021][ T218] irq event stamp: 20692 [ 11.001022][ T218] hardirqs last enabled at (20691): [] __down_trylock_console_sem+0x86/0xa0 [ 11.001025][ T218] hardirqs last disabled at (20692): [] console_emit_next_record+0x3d4/0x4c0 [ 11.001027][ T218] softirqs last enabled at (19098): [] handle_softirqs+0x67c/0x900 [ 11.001030][ T218] softirqs last disabled at (19087): [] __irq_exit_rcu+0x145/0x1c0 [ 11.001033][ T218] Preemption disabled at: [ 11.001034][ T218] [] vprintk_emit+0x31b/0x3e0 [ 11.001039][ T218] CPU: 2 UID: 0 PID: 218 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.001042][ T218] Tainted: [W]=WARN [ 11.001043][ T218] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.001045][ T218] Call Trace: [ 11.001046][ T218] [ 11.001048][ T218] dump_stack_lvl+0x6f/0xa0 [ 11.001053][ T218] ? vprintk_emit+0x31b/0x3e0 [ 11.001055][ T218] __might_resched.cold+0x1fe/0x2c1 [ 11.001059][ T218] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.001063][ T218] ? __kmalloc_noprof+0xdb/0x760 [ 11.001067][ T218] __kmalloc_noprof+0x443/0x760 [ 11.001069][ T218] ? alloc_buf.isra.0+0x4b/0x260 [ 11.001075][ T218] ? do_raw_spin_unlock+0x59/0x250 [ 11.001078][ T218] alloc_buf.isra.0+0x4b/0x260 [ 11.001082][ T218] put_chars+0x1e1/0x2f0 [ 11.001083][ T218] ? desc_read_finalized_seq+0x79/0x120 [ 11.001086][ T218] ? __send_to_port+0x420/0x420 [ 11.001089][ T218] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.001092][ T218] ? validate_chain+0x38b/0xc20 [ 11.001096][ T218] hvc_console_print+0x292/0x780 [ 11.001100][ T218] ? __lock_acquire+0x518/0xc20 [ 11.001102][ T218] ? __lock_acquire+0x518/0xc20 [ 11.001106][ T218] ? hvc_write+0x3a0/0x3a0 [ 11.001108][ T218] ? console_emit_next_record+0x1df/0x4c0 [ 11.001111][ T218] ? rcu_is_watching+0x16/0xd0 [ 11.001113][ T218] ? lock_acquire+0x13c/0x160 [ 11.001117][ T218] console_emit_next_record+0x22f/0x4c0 [ 11.001121][ T218] ? devkmsg_read+0x4b0/0x4b0 [ 11.001123][ T218] ? console_flush_one_record+0x106/0x710 [ 11.001126][ T218] ? rcu_is_watching+0x16/0xd0 [ 11.001127][ T218] ? lock_acquire+0x13c/0x160 [ 11.001131][ T218] console_flush_one_record+0x46f/0x710 [ 11.001135][ T218] ? console_emit_next_record+0x4c0/0x4c0 [ 11.001137][ T218] ? __lock_acquire+0x518/0xc20 [ 11.001142][ T218] console_unlock+0xee/0x1f0 [ 11.001145][ T218] ? console_flush_one_record+0x710/0x710 [ 11.001147][ T218] ? rcu_is_watching+0x16/0xd0 [ 11.001148][ T218] ? lock_acquire+0xe0/0x160 [ 11.001152][ T218] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.001154][ T218] ? vprintk_emit+0x320/0x3e0 [ 11.001156][ T218] vprintk_emit+0x37c/0x3e0 [ 11.001160][ T218] ? wake_up_klogd_work_func+0x90/0x90 [ 11.001164][ T218] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 11.001167][ T218] _printk+0xc7/0x100 [ 11.001171][ T218] ? snapshot_read.cold+0x21/0x21 [ 11.001177][ T218] ? do_one_initcall+0x113/0x4f0 [ 11.001181][ T218] gact_init_module+0x15/0x1000 [act_gact] [ 11.001183][ T218] do_one_initcall+0x124/0x4f0 [ 11.001185][ T218] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 11.001190][ T218] ? do_init_module+0xae/0x8a0 [ 11.001192][ T218] ? kasan_unpoison+0x44/0x70 [ 11.001198][ T218] do_init_module+0x2ad/0x8a0 [ 11.001201][ T218] ? lockdep_hardirqs_on+0x91/0x130 [ 11.001205][ T218] ? free_module+0x470/0x470 [ 11.001207][ T218] ? kfree+0x123/0x590 [ 11.001211][ T218] load_module+0x1424/0x1bb0 [ 11.001216][ T218] ? security_kernel_post_read_file+0x2f/0x60 [ 11.001220][ T218] ? layout_and_allocate.isra.0+0x680/0x680 [ 11.001224][ T218] ? __ia32_sys_fsconfig+0x180/0x180 [ 11.001228][ T218] ? backing_file_read_iter+0x541/0x790 [ 11.001231][ T218] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.001235][ T218] init_module_from_file+0x11f/0x1a0 [ 11.001237][ T218] ? __do_sys_init_module+0x270/0x270 [ 11.001245][ T218] ? __rwlock_init+0x150/0x150 [ 11.001248][ T218] ? do_raw_spin_unlock+0x59/0x250 [ 11.001251][ T218] idempotent_init_module+0x37b/0x7c0 [ 11.001254][ T218] ? init_module_from_file+0x1a0/0x1a0 [ 11.001260][ T218] ? cap_capable+0x1d7/0x3d0 [ 11.001262][ T218] ? __x64_sys_pread64+0x18d/0x250 [ 11.001267][ T218] __x64_sys_finit_module+0xdf/0x190 [ 11.001268][ T218] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.001272][ T218] do_syscall_64+0xff/0x530 [ 11.001275][ T218] ? exc_page_fault+0xee/0x100 [ 11.001278][ T218] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.001280][ T218] RIP: 0033:0x7fb47e42737d [ 11.001283][ T218] 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 [ 11.001285][ T218] RSP: 002b:00007fff6c4b1188 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 11.001287][ T218] RAX: ffffffffffffffda RBX: 000055775993f810 RCX: 00007fb47e42737d [ 11.001289][ T218] RDX: 0000000000000000 RSI: 000055773ffccffd RDI: 0000000000000000 [ 11.001289][ T218] RBP: 00007fff6c4b1220 R08: 0000000000000000 R09: 0000000000000000 [ 11.001290][ T218] R10: 0000000000000000 R11: 0000000000000246 R12: 000055773ffccffd [ 11.001291][ T218] R13: 000055775993f960 R14: 0000000000040000 R15: 0000000000000000 [ 11.001298][ T218] [ 11.047563][ T216] tc (216) used greatest stack depth: 24512 bytes left [ 12.292257][ T283] ip (283) used greatest stack depth: 24048 bytes left [ 12.292275][ T283] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.292277][ T283] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 283, name: ip [ 12.292279][ T283] preempt_count: 2, expected: 0 [ 12.292280][ T283] RCU nest depth: 0, expected: 0 [ 12.292281][ T283] locks held by ip/283: 5, last CPU#3: [ 12.292282][ T283] #0: ffffffffa52167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.292293][ T283] #1: ffffffffa537ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.292298][ T283] #2: ffffffffa537de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.292303][ T283] #3: ffffffffa529d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.292307][ T283] #4: ffffffffa529d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.292310][ T283] irq event stamp: 21110 [ 12.292311][ T283] hardirqs last enabled at (21109): [] __down_trylock_console_sem+0x86/0xa0 [ 12.292314][ T283] hardirqs last disabled at (21110): [] console_emit_next_record+0x3d4/0x4c0 [ 12.292316][ T283] softirqs last enabled at (20150): [] handle_softirqs+0x67c/0x900 [ 12.292318][ T283] softirqs last disabled at (20041): [] __irq_exit_rcu+0x145/0x1c0 [ 12.292321][ T283] Preemption disabled at: [ 12.292321][ T283] [<0000000000000000>] 0x0 [ 12.292328][ T283] CPU: 3 UID: 0 PID: 283 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.292332][ T283] Tainted: [W]=WARN [ 12.292333][ T283] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.292334][ T283] Call Trace: [ 12.292336][ T283] [ 12.292337][ T283] dump_stack_lvl+0x6f/0xa0 [ 12.292343][ T283] __might_resched.cold+0x1fe/0x2c1 [ 12.292348][ T283] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.292352][ T283] ? __kmalloc_noprof+0xdb/0x760 [ 12.292356][ T283] __kmalloc_noprof+0x443/0x760 [ 12.292358][ T283] ? alloc_buf.isra.0+0x4b/0x260 [ 12.292364][ T283] ? do_raw_spin_unlock+0x59/0x250 [ 12.292367][ T283] alloc_buf.isra.0+0x4b/0x260 [ 12.292371][ T283] put_chars+0x1e1/0x2f0 [ 12.292373][ T283] ? __send_to_port+0x420/0x420 [ 12.292374][ T283] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.292377][ T283] ? validate_chain+0x38b/0xc20 [ 12.292383][ T283] hvc_console_print+0x292/0x780 [ 12.292390][ T283] ? hvc_write+0x3a0/0x3a0 [ 12.292393][ T283] ? rcu_is_watching+0x16/0xd0 [ 12.292395][ T283] ? lock_acquire+0x13c/0x160 [ 12.292399][ T283] console_emit_next_record+0x22f/0x4c0 [ 12.292402][ T283] ? devkmsg_read+0x4b0/0x4b0 [ 12.292404][ T283] ? console_flush_one_record+0x106/0x710 [ 12.292408][ T283] ? rcu_is_watching+0x16/0xd0 [ 12.292409][ T283] ? lock_acquire+0x13c/0x160 [ 12.292414][ T283] console_flush_one_record+0x46f/0x710 [ 12.292419][ T283] ? console_emit_next_record+0x4c0/0x4c0 [ 12.292421][ T283] ? __lock_acquire+0x518/0xc20 [ 12.292428][ T283] console_unlock+0xee/0x1f0 [ 12.292431][ T283] ? console_flush_one_record+0x710/0x710 [ 12.292433][ T283] ? rcu_is_watching+0x16/0xd0 [ 12.292435][ T283] ? lock_acquire+0xe0/0x160 [ 12.292438][ T283] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.292440][ T283] ? vprintk_emit+0x320/0x3e0 [ 12.292443][ T283] vprintk_emit+0x37c/0x3e0 [ 12.292446][ T283] ? wake_up_klogd_work_func+0x90/0x90 [ 12.292449][ T283] ? __lock_acquire+0x518/0xc20 [ 12.292453][ T283] _printk+0xc7/0x100 [ 12.292457][ T283] ? snapshot_read.cold+0x21/0x21 [ 12.292460][ T283] ? do_raw_spin_lock+0x131/0x280 [ 12.292462][ T283] ? __rwlock_init+0x150/0x150 [ 12.292471][ T283] ? do_raw_spin_lock+0x131/0x280 [ 12.292474][ T283] do_exit.cold+0x82/0x9c [ 12.292478][ T283] ? exit_notify+0x890/0x890 [ 12.292479][ T283] ? __lock_release.isra.0+0x69/0x1a0 [ 12.292482][ T283] ? rcu_is_watching+0x16/0xd0 [ 12.292485][ T283] do_group_exit+0xb8/0x370 [ 12.292488][ T283] __x64_sys_exit_group+0x3c/0x50 [ 12.292490][ T283] x64_sys_call+0x1567/0x1570 [ 12.292492][ T283] do_syscall_64+0xff/0x530 [ 12.292496][ T283] ? exc_page_fault+0xee/0x100 [ 12.292499][ T283] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.292501][ T283] RIP: 0033:0x7fa1082cb1b8 [ 12.292503][ T283] Code: Unable to access opcode bytes at 0x7fa1082cb18e. [ 12.292504][ T283] RSP: 002b:00007ffec1121188 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.292507][ T283] RAX: ffffffffffffffda RBX: 00007fa1083fbf88 RCX: 00007fa1082cb1b8 [ 12.292508][ T283] RDX: 00007fa108015fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 12.292509][ T283] RBP: 00007ffec11211e0 R08: 0000000000000000 R09: 0000000000000050 [ 12.292510][ T283] R10: 00007ffec1120fa0 R11: 0000000000000246 R12: 0000000000000001 [ 12.292510][ T283] R13: 0000000000000000 R14: 00007fa1083fa680 R15: 00007fa1083fbfa0 [ 12.292517][ T283]