{"id":"CVE-2026-139088","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:18:16.690","lastModified":"2026-11-30T14:18:16.690","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs_pin: do not trust the pin after a spurious wakeup in pin_kill()\n\nA task waiting in pin_kill() for another task's ->kill() can take\np->wait.lock after the pin has been freed, and can return with its\non-stack wait entry still on p->wait. With BSD process accounting this\nis a use-after-free of the acct structure when umount() of the mount\nholding the accounting file races with acct(2).\n\npin_kill() takes a still-queued entry as proof that pin_remove() has not\nrun, so p is alive. But autoremove_wake_function() dequeues only when\ntry_to_wake_up() succeeds: if the waiter was already woken spuriously,\npin_remove() leaves the entry queued, acct_pin_kill() frees the acct\nwith kfree_rcu(), and the grace period can end while the waiter sits\nbetween schedule() and rcu_read_lock().\n\nDequeue the entry unconditionally in a private wake function;\npin_remove() is the only waker and sets p->done first.\n\nReproduced under QEMU with KASAN and test-only delays: a\nslab-use-after-free in pin_kill() before the patch, no report after."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/fs_pin.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"59eda0e07f43c950d31756213b607af673e551f0","lessThan":"97d4515e6bb8aa599dd025832c853724534178ca","versionType":"git","status":"affected"},{"version":"59eda0e07f43c950d31756213b607af673e551f0","lessThan":"2bafa437948a9a9cde2312102bde5984d1ae23f9","versionType":"git","status":"affected"},{"version":"59eda0e07f43c950d31756213b607af673e551f0","lessThan":"74aad35b4b02ac3b2e1301fd585bb458c08c54b4","versionType":"git","status":"affected"},{"version":"59eda0e07f43c950d31756213b607af673e551f0","lessThan":"2b4feb63905895c4ba5753ae5dee490aa718612e","versionType":"git","status":"affected"},{"version":"59eda0e07f43c950d31756213b607af673e551f0","lessThan":"d17eceb1c87db46952ee2fec202c36331916ca65","versionType":"git","status":"affected"},{"version":"59eda0e07f43c950d31756213b607af673e551f0","lessThan":"f3a6dae67c9ca3d913cbb42fe324c9b47c8d9e53","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/fs_pin.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.0","status":"affected"},{"version":"0","lessThan":"4.0","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/2b4feb63905895c4ba5753ae5dee490aa718612e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2bafa437948a9a9cde2312102bde5984d1ae23f9","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/74aad35b4b02ac3b2e1301fd585bb458c08c54b4","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/97d4515e6bb8aa599dd025832c853724534178ca","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d17eceb1c87db46952ee2fec202c36331916ca65","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f3a6dae67c9ca3d913cbb42fe324c9b47c8d9e53","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}