{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "59eda0e07f43c950d31756213b607af673e551f0"
            },
            {
              "fixed": "97d4515e6bb8aa599dd025832c853724534178ca"
            },
            {
              "fixed": "2bafa437948a9a9cde2312102bde5984d1ae23f9"
            },
            {
              "fixed": "74aad35b4b02ac3b2e1301fd585bb458c08c54b4"
            },
            {
              "fixed": "2b4feb63905895c4ba5753ae5dee490aa718612e"
            },
            {
              "fixed": "d17eceb1c87db46952ee2fec202c36331916ca65"
            },
            {
              "fixed": "f3a6dae67c9ca3d913cbb42fe324c9b47c8d9e53"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.0.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139088.json"
  },
  "details": "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 -\u003ekill() can take\np-\u003ewait.lock after the pin has been freed, and can return with its\non-stack wait entry still on p-\u003ewait. 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-\u003edone 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.",
  "id": "CVE-2026-139088",
  "modified": "2026-11-30T14:46:06.623688255Z",
  "published": "2026-11-30T13:31:28.052Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2b4feb63905895c4ba5753ae5dee490aa718612e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2bafa437948a9a9cde2312102bde5984d1ae23f9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/74aad35b4b02ac3b2e1301fd585bb458c08c54b4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/97d4515e6bb8aa599dd025832c853724534178ca"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d17eceb1c87db46952ee2fec202c36331916ca65"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f3a6dae67c9ca3d913cbb42fe324c9b47c8d9e53"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139088.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139088"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "fs_pin: do not trust the pin after a spurious wakeup in pin_kill()"
}