CVE-2026-139088: fs_pin: do not trust the pin after a spurious wakeup in pin_kill()
fspin: do not trust the pin after a spurious wakeup in pinkill()
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
In fs_pin, dequeue the wait entry unconditionally in a private wake function.
Event History
Frequently Asked Questions
Which systems are exposed to this race?
Systems using BSD process accounting are implicated when an unmount of the mount containing the accounting file races with an acct(2) operation. The reported failure involves the accounting structure being freed while pin_kill() still accesses it.
What conditions are needed to trigger the issue?
The race requires a task waiting in pin_kill() to experience a spurious wakeup while another task performs the relevant kill/remove path. The accounting-file mount must also be unmounted concurrently with acct(2).
How was the issue observed?
It was reproduced under QEMU with KASAN and test-only delays, which reported a slab use-after-free in pin_kill() before the fix. No report occurred after the described change.