--- zzzz-none-000/linux-4.4.60/kernel/audit.c 2017-04-08 07:53:53.000000000 +0000 +++ scorpion-1750e-727/linux-4.4.60/kernel/audit.c 2021-02-04 17:41:59.000000000 +0000 @@ -533,7 +533,8 @@ continue; } - wait_event_freezable(kauditd_wait, skb_queue_len(&audit_skb_queue)); + wait_event_freezable(kauditd_wait, skb_queue_len(&audit_skb_queue) + || (skb_queue_len(&audit_skb_hold_queue) && audit_pid)); } return 0; } @@ -879,6 +880,7 @@ audit_pid = new_pid; audit_nlk_portid = NETLINK_CB(skb).portid; audit_sock = skb->sk; + wake_up_interruptible(&kauditd_wait); } if (s.mask & AUDIT_STATUS_RATE_LIMIT) { err = audit_set_rate_limit(s.rate_limit);