{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139088",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.913Z",
        "datePublished": "2026-11-30T13:31:28.052Z",
        "dateUpdated": "2026-11-30T13:31:28.052Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:31:28.052Z"
            },
            "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": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/fs_pin.c"
                    ],
                    "versions": [
                        {
                            "version": "59eda0e07f43c950d31756213b607af673e551f0",
                            "lessThan": "97d4515e6bb8aa599dd025832c853724534178ca",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "59eda0e07f43c950d31756213b607af673e551f0",
                            "lessThan": "2bafa437948a9a9cde2312102bde5984d1ae23f9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "59eda0e07f43c950d31756213b607af673e551f0",
                            "lessThan": "74aad35b4b02ac3b2e1301fd585bb458c08c54b4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "59eda0e07f43c950d31756213b607af673e551f0",
                            "lessThan": "2b4feb63905895c4ba5753ae5dee490aa718612e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "59eda0e07f43c950d31756213b607af673e551f0",
                            "lessThan": "d17eceb1c87db46952ee2fec202c36331916ca65",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "59eda0e07f43c950d31756213b607af673e551f0",
                            "lessThan": "f3a6dae67c9ca3d913cbb42fe324c9b47c8d9e53",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/fs_pin.c"
                    ],
                    "versions": [
                        {
                            "version": "4.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/97d4515e6bb8aa599dd025832c853724534178ca"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2bafa437948a9a9cde2312102bde5984d1ae23f9"
                },
                {
                    "url": "https://git.kernel.org/stable/c/74aad35b4b02ac3b2e1301fd585bb458c08c54b4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2b4feb63905895c4ba5753ae5dee490aa718612e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d17eceb1c87db46952ee2fec202c36331916ca65"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f3a6dae67c9ca3d913cbb42fe324c9b47c8d9e53"
                }
            ],
            "title": "fs_pin: do not trust the pin after a spurious wakeup in pin_kill()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}