CVE-2026-139064: ipc/mqueue: release notification resources during inode eviction

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ipc/mqueue: release notification resources during inode eviction

mqueueflushfile() removes an mqnotify() registration only when the closing task belongs to the thread group stored in notifyowner.

A task in a separate thread group created with CLONEFILES can register SIGEVTHREAD notification and exit without closing the shared file table. If another thread group then unlinks and last-closes the queue, ->flush() skips the registration and inode eviction loses the only pointers to its resources.

The orphaned registration permanently retains the notification skb, its netlink socket, a pid reference and a user namespace reference. An unprivileged process can repeat the sequence with new queues and sockets.

No inode users remain during eviction. Remove any stale registration there after dropping info->lock, since netlinksendskb() may release the final socket reference.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In ipc/mqueue inode eviction, remove any stale mq_notify() registration after dropping info->lock so eviction releases its notification resources.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:27 PM
Data Sourced
via MITRE·01:27 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203