Technical impact
The kernel function mqueue_flush_file() fails to remove a mq_notify() registration when the closing task is not from the original thread group that registered it. This oversight allows an unprivileged process to register a SIGEV_THREAD notification on a message queue, exit without closing the file descriptor, and leave orphaned notification resources. Subsequent eviction of the queue’s inode skips cleanup, retaining pointers to notification skbs, netlink sockets, PID references, and user namespace references. The leaking resources can accumulate indefinitely, exhausting kernel memory, sockets, or other restricted kernel objects, which can lead to denial of service.
Affected Systems
The vulnerability is present in the Linux kernel. No specific kernel releases are listed in the advisory, so any kernel version that includes the faulty mqueue_flush_file() logic is vulnerable until the fix is applied. Users of recent stable kernels should verify that the patch incorporating this fix has been merged.
Risk and Exploitability
The exploit does not require elevated privileges and relies on creating multiple message queues and registering notifications. However, no EPSS score is available and the vulnerability is not listed in the CISA KEV catalog, suggesting limited known exploitation. The risk therefore hinges on the attacker’s ability to repeatedly create queues, which could lead to resource exhaustion over time but lacks evidence of a quick, high-impact exploit. Nonetheless, the potential for denial of service warrants prompt remediation.