0.0
NA
CVE-2026-139088
fs_pin: do not trust the pin after a spurious wakeup in pin_kill()
Description

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.

INFO

Published Date :

Nov. 30, 2026, 2:18 p.m.

Last Modified :

Nov. 30, 2026, 2:18 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-139088 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Address use-after-free in pin_kill by unconditionally dequeuing wait entries.
  • Dequeue wait entries unconditionally in a private wake function.
  • Ensure pin_remove sets p->done first.
  • Apply the Linux kernel patch for fs_pin.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-139088 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-139088 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-139088 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-139088 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 30, 2026

    Action Type Old Value New Value
    Added Description 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139088.json">CVE-2026-139088</a>
    Added Reference https://git.kernel.org/stable/c/2b4feb63905895c4ba5753ae5dee490aa718612e
    Added Reference https://git.kernel.org/stable/c/2bafa437948a9a9cde2312102bde5984d1ae23f9
    Added Reference https://git.kernel.org/stable/c/74aad35b4b02ac3b2e1301fd585bb458c08c54b4
    Added Reference https://git.kernel.org/stable/c/97d4515e6bb8aa599dd025832c853724534178ca
    Added Reference https://git.kernel.org/stable/c/d17eceb1c87db46952ee2fec202c36331916ca65
    Added Reference https://git.kernel.org/stable/c/f3a6dae67c9ca3d913cbb42fe324c9b47c8d9e53
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.