CVE-2026-139088
publishedfs_pin: do not trust the pin after a spurious wakeup in pin_kill()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux59eda0e07f43c950d31756213b607af673e551f0 to < 97d4515e6bb8aa599dd025832c853724534178ca · 59eda0e07f43c950d31756213b607af673e551f0 to < 2bafa437948a9a9cde2312102bde5984d1ae23f9 · 59eda0e07f43c950d31756213b607af673e551f0 to < 74aad35b4b02ac3b2e1301fd585bb458c08c54b4 · 59eda0e07f43c950d31756213b607af673e551f0 to < 2b4feb63905895c4ba5753ae5dee490aa718612e · 59eda0e07f43c950d31756213b607af673e551f0 to < d17eceb1c87db46952ee2fec202c36331916ca65 · 59eda0e07f43c950d31756213b607af673e551f0 to < f3a6dae67c9ca3d913cbb42fe324c9b47c8d9e53 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.0 (affected) · 0 to < 4.0 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 59eda0e07f43c950d31756213b607af673e551f0 to < 97d4515e6bb8aa599dd025832c853724534178ca (affected · git)59eda0e07f43c950d31756213b607af673e551f0 to < 2bafa437948a9a9cde2312102bde5984d1ae23f9 (affected · git)59eda0e07f43c950d31756213b607af673e551f0 to < 74aad35b4b02ac3b2e1301fd585bb458c08c54b4 (affected · git)59eda0e07f43c950d31756213b607af673e551f0 to < 2b4feb63905895c4ba5753ae5dee490aa718612e (affected · git)59eda0e07f43c950d31756213b607af673e551f0 to < d17eceb1c87db46952ee2fec202c36331916ca65 (affected · git)59eda0e07f43c950d31756213b607af673e551f0 to < f3a6dae67c9ca3d913cbb42fe324c9b47c8d9e53 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.0 (affected)0 to < 4.0 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/2b4feb63905895c4ba5753ae5dee490aa718612e
- https://git.kernel.org/stable/c/2bafa437948a9a9cde2312102bde5984d1ae23f9
- https://git.kernel.org/stable/c/74aad35b4b02ac3b2e1301fd585bb458c08c54b4
- https://git.kernel.org/stable/c/97d4515e6bb8aa599dd025832c853724534178ca
- https://git.kernel.org/stable/c/d17eceb1c87db46952ee2fec202c36331916ca65
- https://git.kernel.org/stable/c/f3a6dae67c9ca3d913cbb42fe324c9b47c8d9e53
Provider assertions
1Linux · cna
fs_pin: do not trust the pin after a spurious wakeup in pin_kill()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ee7a7135e62c65c8a4c0e1250b2a3521fdcc219b7eeb09eb423bdba48ac688d4
- Ingested
- 30 Nov 2026, 13:36:40 UTC
- Source record
- Official CVE record