--- zzzz-none-000/linux-4.9.218/kernel/audit.c 2020-04-02 15:20:41.000000000 +0000 +++ seale-7590ac-750/linux-4.9.218/kernel/audit.c 2022-11-30 09:46:20.000000000 +0000 @@ -530,7 +530,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; } @@ -902,6 +903,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);