PT-2026-163129

CVE-2026-139088

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
fs pin: do not trust the pin after a spurious wakeup in pin kill()
A task waiting in pin kill() for another task's ->kill() can take p->wait.lock after the pin has been freed, and can return with its on-stack wait entry still on p->wait. With BSD process accounting this is a use-after-free of the acct structure when umount() of the mount holding the accounting file races with acct(2).
pin kill() takes a still-queued entry as proof that pin remove() has not run, so p is alive. But autoremove wake function() dequeues only when try to wake up() succeeds: if the waiter was already woken spuriously, pin remove() leaves the entry queued, acct pin kill() frees the acct with kfree rcu(), and the grace period can end while the waiter sits between schedule() and rcu read lock().
Dequeue the entry unconditionally in a private wake function; pin remove() is the only waker and sets p->done first.
Reproduced under QEMU with KASAN and test-only delays: a slab-use-after-free in pin kill() before the patch, no report after.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾