[ 11.093710][ T218] GACT probability NOT on [ 11.093729][ T218] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.093733][ T218] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 218, name: modprobe [ 11.093735][ T218] preempt_count: 1, expected: 0 [ 11.093737][ T218] RCU nest depth: 0, expected: 0 [ 11.093738][ T218] locks held by modprobe/218: 4, last CPU#0: [ 11.093741][ T218] #0: ffffffffadf7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.093755][ T218] #1: ffffffffadf7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.093763][ T218] #2: ffffffffade9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.093769][ T218] #3: ffffffffade9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.093775][ T218] irq event stamp: 17762 [ 11.093776][ T218] hardirqs last enabled at (17761): [] __down_trylock_console_sem+0x86/0xa0 [ 11.093781][ T218] hardirqs last disabled at (17762): [] console_emit_next_record+0x3d4/0x4c0 [ 11.093784][ T218] softirqs last enabled at (16608): [] handle_softirqs+0x67c/0x900 [ 11.093788][ T218] softirqs last disabled at (16601): [] __irq_exit_rcu+0x145/0x1c0 [ 11.093792][ T218] Preemption disabled at: [ 11.093793][ T218] [] vprintk_emit+0x31b/0x3e0 [ 11.093799][ T218] CPU: 0 UID: 0 PID: 218 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.093804][ T218] Tainted: [W]=WARN [ 11.093806][ T218] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.093811][ T218] Call Trace: [ 11.093813][ T218] [ 11.093815][ T218] dump_stack_lvl+0x6f/0xa0 [ 11.093822][ T218] ? vprintk_emit+0x31b/0x3e0 [ 11.093825][ T218] __might_resched.cold+0x1fe/0x2c1 [ 11.093830][ T218] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.093836][ T218] ? __kmalloc_noprof+0xdb/0x760 [ 11.093842][ T218] __kmalloc_noprof+0x443/0x760 [ 11.093846][ T218] ? alloc_buf.isra.0+0x4b/0x260 [ 11.093856][ T218] ? do_raw_spin_unlock+0x59/0x250 [ 11.093860][ T218] alloc_buf.isra.0+0x4b/0x260 [ 11.093866][ T218] put_chars+0x1e1/0x2f0 [ 11.093869][ T218] ? desc_read_finalized_seq+0x79/0x120 [ 11.093872][ T218] ? __send_to_port+0x420/0x420 [ 11.093878][ T218] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.093882][ T218] ? validate_chain+0x38b/0xc20 [ 11.093890][ T218] hvc_console_print+0x292/0x780 [ 11.093895][ T218] ? __lock_acquire+0x518/0xc20 [ 11.093898][ T218] ? __lock_acquire+0x518/0xc20 [ 11.093906][ T218] ? hvc_write+0x3a0/0x3a0 [ 11.093909][ T218] ? console_emit_next_record+0x1df/0x4c0 [ 11.093915][ T218] ? rcu_is_watching+0x16/0xd0 [ 11.093918][ T218] ? lock_acquire+0x13c/0x160 [ 11.093925][ T218] console_emit_next_record+0x22f/0x4c0 [ 11.093932][ T218] ? devkmsg_read+0x4b0/0x4b0 [ 11.093935][ T218] ? console_flush_one_record+0x106/0x710 [ 11.093940][ T218] ? rcu_is_watching+0x16/0xd0 [ 11.093943][ T218] ? lock_acquire+0x13c/0x160 [ 11.093950][ T218] console_flush_one_record+0x46f/0x710 [ 11.093958][ T218] ? console_emit_next_record+0x4c0/0x4c0 [ 11.093961][ T218] ? __lock_acquire+0x518/0xc20 [ 11.093970][ T218] console_unlock+0xee/0x1f0 [ 11.093975][ T218] ? console_flush_one_record+0x710/0x710 [ 11.093978][ T218] ? rcu_is_watching+0x16/0xd0 [ 11.093981][ T218] ? lock_acquire+0xe0/0x160 [ 11.093987][ T218] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.093990][ T218] ? vprintk_emit+0x320/0x3e0 [ 11.093995][ T218] vprintk_emit+0x37c/0x3e0 [ 11.094002][ T218] ? wake_up_klogd_work_func+0x90/0x90 [ 11.094011][ T218] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 11.094016][ T218] _printk+0xc7/0x100 [ 11.094021][ T218] ? snapshot_read.cold+0x21/0x21 [ 11.094033][ T218] ? do_one_initcall+0x113/0x4f0 [ 11.094038][ T218] gact_init_module+0x15/0x1000 [act_gact] [ 11.094042][ T218] do_one_initcall+0x124/0x4f0 [ 11.094047][ T218] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 11.094055][ T218] ? do_init_module+0xae/0x8a0 [ 11.094058][ T218] ? kasan_unpoison+0x44/0x70 [ 11.094067][ T218] do_init_module+0x2ad/0x8a0 [ 11.094073][ T218] ? lockdep_hardirqs_on+0x91/0x130 [ 11.094079][ T218] ? free_module+0x470/0x470 [ 11.094083][ T218] ? kfree+0x123/0x590 [ 11.094090][ T218] load_module+0x1424/0x1bb0 [ 11.094100][ T218] ? security_kernel_post_read_file+0x2f/0x60 [ 11.094107][ T218] ? layout_and_allocate.isra.0+0x680/0x680 [ 11.094113][ T218] ? __ia32_sys_fsconfig+0x180/0x180 [ 11.094119][ T218] ? backing_file_read_iter+0x541/0x790 [ 11.094124][ T218] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.094130][ T218] init_module_from_file+0x11f/0x1a0 [ 11.094135][ T218] ? __do_sys_init_module+0x270/0x270 [ 11.094149][ T218] ? __rwlock_init+0x150/0x150 [ 11.094156][ T218] ? do_raw_spin_unlock+0x59/0x250 [ 11.094161][ T218] idempotent_init_module+0x37b/0x7c0 [ 11.094166][ T218] ? init_module_from_file+0x1a0/0x1a0 [ 11.094176][ T218] ? cap_capable+0x1d7/0x3d0 [ 11.094180][ T218] ? __x64_sys_pread64+0x18d/0x250 [ 11.094189][ T218] __x64_sys_finit_module+0xdf/0x190 [ 11.094192][ T218] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.094198][ T218] do_syscall_64+0xff/0x530 [ 11.094202][ T218] ? exc_page_fault+0xee/0x100 [ 11.094206][ T218] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.094209][ T218] RIP: 0033:0x7f78c85e237d [ 11.094214][ 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.094217][ T218] RSP: 002b:00007ffd8b0833c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 11.094221][ T218] RAX: ffffffffffffffda RBX: 000055efed8f9810 RCX: 00007f78c85e237d [ 11.094223][ T218] RDX: 0000000000000000 RSI: 000055efc1663ffd RDI: 0000000000000000 [ 11.094224][ T218] RBP: 00007ffd8b083460 R08: 0000000000000000 R09: 0000000000000000 [ 11.094225][ T218] R10: 0000000000000000 R11: 0000000000000246 R12: 000055efc1663ffd [ 11.094227][ T218] R13: 000055efed8f9960 R14: 0000000000040000 R15: 0000000000000000 [ 11.094240][ T218] [ 18.815319][ T577] cmsg_sender (577) used greatest stack depth: 23808 bytes left [ 18.815336][ T577] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.815339][ T577] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 577, name: cmsg_sender [ 18.815340][ T577] preempt_count: 2, expected: 0 [ 18.815341][ T577] RCU nest depth: 0, expected: 0 [ 18.815342][ T577] locks held by cmsg_sender/577: 5, last CPU#3: [ 18.815344][ T577] #0: ffffffffade167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 18.815357][ T577] #1: ffffffffadf7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.815362][ T577] #2: ffffffffadf7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.815366][ T577] #3: ffffffffade9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.815370][ T577] #4: ffffffffade9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 18.815374][ T577] irq event stamp: 36826 [ 18.815375][ T577] hardirqs last enabled at (36825): [] __down_trylock_console_sem+0x86/0xa0 [ 18.815378][ T577] hardirqs last disabled at (36826): [] console_emit_next_record+0x3d4/0x4c0 [ 18.815380][ T577] softirqs last enabled at (36338): [] handle_softirqs+0x67c/0x900 [ 18.815383][ T577] softirqs last disabled at (36327): [] __irq_exit_rcu+0x145/0x1c0 [ 18.815385][ T577] Preemption disabled at: [ 18.815386][ T577] [<0000000000000000>] 0x0 [ 18.815393][ T577] CPU: 3 UID: 0 PID: 577 Comm: cmsg_sender Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.815396][ T577] Tainted: [W]=WARN [ 18.815397][ T577] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.815399][ T577] Call Trace: [ 18.815400][ T577] [ 18.815402][ T577] dump_stack_lvl+0x6f/0xa0 [ 18.815413][ T577] __might_resched.cold+0x1fe/0x2c1 [ 18.815418][ T577] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.815422][ T577] ? __kmalloc_noprof+0xdb/0x760 [ 18.815426][ T577] __kmalloc_noprof+0x443/0x760 [ 18.815428][ T577] ? alloc_buf.isra.0+0x4b/0x260 [ 18.815435][ T577] ? do_raw_spin_unlock+0x59/0x250 [ 18.815438][ T577] alloc_buf.isra.0+0x4b/0x260 [ 18.815441][ T577] put_chars+0x1e1/0x2f0 [ 18.815444][ T577] ? __send_to_port+0x420/0x420 [ 18.815445][ T577] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.815448][ T577] ? validate_chain+0x38b/0xc20 [ 18.815454][ T577] hvc_console_print+0x292/0x780 [ 18.815462][ T577] ? hvc_write+0x3a0/0x3a0 [ 18.815464][ T577] ? rcu_is_watching+0x16/0xd0 [ 18.815466][ T577] ? lock_acquire+0x13c/0x160 [ 18.815470][ T577] console_emit_next_record+0x22f/0x4c0 [ 18.815474][ T577] ? devkmsg_read+0x4b0/0x4b0 [ 18.815476][ T577] ? console_flush_one_record+0x106/0x710 [ 18.815479][ T577] ? rcu_is_watching+0x16/0xd0 [ 18.815481][ T577] ? lock_acquire+0x13c/0x160 [ 18.815484][ T577] console_flush_one_record+0x46f/0x710 [ 18.815488][ T577] ? console_emit_next_record+0x4c0/0x4c0 [ 18.815490][ T577] ? __lock_acquire+0x518/0xc20 [ 18.815495][ T577] console_unlock+0xee/0x1f0 [ 18.815498][ T577] ? console_flush_one_record+0x710/0x710 [ 18.815500][ T577] ? rcu_is_watching+0x16/0xd0 [ 18.815502][ T577] ? lock_acquire+0xe0/0x160 [ 18.815505][ T577] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.815507][ T577] ? vprintk_emit+0x320/0x3e0 [ 18.815510][ T577] vprintk_emit+0x37c/0x3e0 [ 18.815513][ T577] ? wake_up_klogd_work_func+0x90/0x90 [ 18.815515][ T577] ? __lock_acquire+0x518/0xc20 [ 18.815519][ T577] _printk+0xc7/0x100 [ 18.815523][ T577] ? snapshot_read.cold+0x21/0x21 [ 18.815526][ T577] ? do_raw_spin_lock+0x131/0x280 [ 18.815528][ T577] ? __rwlock_init+0x150/0x150 [ 18.815532][ T577] ? do_raw_spin_lock+0x131/0x280 [ 18.815535][ T577] do_exit.cold+0x82/0x9c [ 18.815538][ T577] ? exit_notify+0x890/0x890 [ 18.815539][ T577] ? __lock_release.isra.0+0x69/0x1a0 [ 18.815542][ T577] ? rcu_is_watching+0x16/0xd0 [ 18.815545][ T577] do_group_exit+0xb8/0x370 [ 18.815548][ T577] __x64_sys_exit_group+0x3c/0x50 [ 18.815550][ T577] x64_sys_call+0x1567/0x1570 [ 18.815553][ T577] do_syscall_64+0xff/0x530 [ 18.815557][ T577] ? exc_page_fault+0xee/0x100 [ 18.815560][ T577] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.815562][ T577] RIP: 0033:0x7f1fd07d31b8 [ 18.815564][ T577] Code: Unable to access opcode bytes at 0x7f1fd07d318e. [ 18.815565][ T577] RSP: 002b:00007ffd7c93c2c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 18.815567][ T577] RAX: ffffffffffffffda RBX: 00007f1fd0903f88 RCX: 00007f1fd07d31b8 [ 18.815569][ T577] RDX: 00007f1fd0710a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 18.815570][ T577] RBP: 00007ffd7c93c320 R08: 0000000000000000 R09: 0000000000000020 [ 18.815570][ T577] R10: 00007ffd7c93c160 R11: 0000000000000246 R12: 0000000000000001 [ 18.815571][ T577] R13: 0000000000000000 R14: 00007f1fd0902680 R15: 00007f1fd0903fa0 [ 18.815578][ T577]