CVE-2026-139088

Not scored yetLast modified Nov 30, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 59eda0e07f43c950d31756213b607af673e551f0, < 97d4515e6bb8aa599dd025832c853724534178ca; >= 59eda0e07f43c950d31756213b607af673e551f0, < 2bafa437948a9a9cde2312102bde5984d1ae23f9; >= 59eda0e07f43c950d31756213b607af673e551f0, < 74aad35b4b02ac3b2e1301fd585bb458c08c54b4; >= 59eda0e07f43c950d31756213b607af673e551f0, < 2b4feb63905895c4ba5753ae5dee490aa718612e; >= 59eda0e07f43c950d31756213b607af673e551f0, < d17eceb1c87db46952ee2fec202c36331916ca65; >= 59eda0e07f43c950d31756213b607af673e551f0, < f3a6dae67c9ca3d913cbb42fe324c9b47c8d9e53
LinuxLinux4.0

References

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139089In the Linux kernel, the following vulnerability has been resolved: ucount: read the parent ucounts before dropping the rlimit count do_deCVE-2026-139099.6Insufficient policy enforcement in DevTools in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the renderCVE-2026-139090In the Linux kernel, the following vulnerability has been resolved: watch_queue: keep info_id separate from rcu_head struct watch overlaysCVE-2026-139091In the Linux kernel, the following vulnerability has been resolved: tun: drop batched packets while the device is down tun_sendmsg() handlCVE-2026-139092In the Linux kernel, the following vulnerability has been resolved: netlink: check sk_rcvbuf before charging the dump skb Since commit ae8CVE-2026-139093In the Linux kernel, the following vulnerability has been resolved: openvswitch: use eth_type_trans_careful() in internal_dev_recv() OVS aCVE-2026-139094In the Linux kernel, the following vulnerability has been resolved: net: use eth_type_trans_careful() in __dev_forward_skb2() A tc egress CVE-2026-139095In the Linux kernel, the following vulnerability has been resolved: loopback: use eth_type_trans_careful() tc egress actions can leave an CVE-2026-139096In the Linux kernel, the following vulnerability has been resolved: tcp: initialize mapped children before route lookup IPv4 passive opensCVE-2026-139097In the Linux kernel, the following vulnerability has been resolved: apparmor: fix check SCTP bind, and connect permission checks SCTP mediCVE-2026-1390987.8In the Linux kernel, the following vulnerability has been resolved: tcp: avoid double destroy in tcp_abort() of an unaccepted child tcp_abCVE-2026-139099In the Linux kernel, the following vulnerability has been resolved: net: bgmac: fix TX DMA unmapping and slot cleanup When mapping a fragm
CVE-2026-139088: Unscored | Vulnix