{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139230",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.921Z",
        "datePublished": "2026-11-30T13:32:49.576Z",
        "dateUpdated": "2026-11-30T13:32:49.576Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:32:49.576Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix fd_limit accounting across durable reconnects\n\nA disconnected durable handle keeps its ksmbd_file and the fd_limit\nreservation taken at its initial open. Reconnecting allocates another\nvolatile ID and takes another reservation for the same file. Final close\nreturns only one reservation, so repeated reconnects permanently reduce\nthe server-wide open-file budget.\n\nMove reservation into ksmbd_open_fd() and release it on every creation\nfailure. Keep the reservation until final close, including while a durable\nhandle is disconnected. Make ID allocation independent of fd_limit so\nreconnects neither consume nor return slots. This also avoids returning an\nunreserved slot when persistent ID allocation fails.\n\nNew opens continue to return -EMFILE when the budget is exhausted, keeping\nthe existing STATUS_INSUFFICIENT_RESOURCES mapping."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/server/vfs_cache.c"
                    ],
                    "versions": [
                        {
                            "version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
                            "lessThan": "883670dc0b57bc1ca3b71fe00f40dfce1ab8cb7b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
                            "lessThan": "fcaa65fd23d3cbc69eeca395d6673413577698d8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
                            "lessThan": "7ec499897018d15f4f845491aee227adca9d0452",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
                            "lessThan": "df5c868f6b80ca16c171cfac5e4e6c9be83ba4c2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8df4bcdb0a4232192b2445256c39b787d58ef14d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.6.32",
                            "lessThan": "6.7",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/server/vfs_cache.c"
                    ],
                    "versions": [
                        {
                            "version": "6.9",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.9",
                            "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": "6.9",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.9",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.9",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.9",
                                    "versionEndExcluding": "7.4-rc1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6.32"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/883670dc0b57bc1ca3b71fe00f40dfce1ab8cb7b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fcaa65fd23d3cbc69eeca395d6673413577698d8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7ec499897018d15f4f845491aee227adca9d0452"
                },
                {
                    "url": "https://git.kernel.org/stable/c/df5c868f6b80ca16c171cfac5e4e6c9be83ba4c2"
                }
            ],
            "title": "ksmbd: fix fd_limit accounting across durable reconnects",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}