Re: [PATCH] ipc/mqueue: release notification resources during inode eviction
From: Christian Brauner
Date: Mon Aug 31 2026 - 06:33:25 EST
On Mon, 24 Aug 2026 13:23:59 +0900, Daehyeon Ko wrote:
> mqueue_flush_file() removes an mq_notify() registration only when the
> closing task belongs to the thread group stored in notify_owner.
>
> A task in a separate thread group created with CLONE_FILES can register
> SIGEV_THREAD 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.
>
> [...]
Applied to the ipc-7.4.misc branch of the vfs/vfs.git tree.
Patches in the ipc-7.4.misc branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: master
[1/1] ipc/mqueue: release notification resources during inode eviction
https://git.kernel.org/vfs/vfs/c/7add7d60ff30