CVE-2026-99290
ksmbd: fix use-after-free after a failed durable reconnect
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free after a failed durable reconnect ksmbd_reopen_durable_fd() republishes a detached durable handle in the reconnecting session's file table and takes no reference for that entry. If smb2_open() then fails, cleanup relies on the final ksmbd_fd_put() to remove the volatile id. Two reconnects of the same handle can both take a lookup reference before either attaches it. If the one that reopens first then fails and drops its references first, the other request makes the final put through ksmbd_put_durable_fd(). That frees the handle without removing the first session's table entry, so tearing that session down writes to freed memory. BUG: KASAN: slab-use-after-free in __close_file_table_ids+0x14d/0x740 [ksmbd] Call Trace: __close_file_table_ids+0x14d/0x740 [ksmbd] ksmbd_destroy_file_table+0x76/0x100 [ksmbd] ksmbd_session_destroy+0xf8/0x480 [ksmbd] ksmbd_dispose_sessions+0x13e/0x200 [ksmbd] ksmbd_conn_sessions_cleanup+0x4c3/0x6d0 [ksmbd] Freed by task 1030: __ksmbd_close_fd+0x97d/0x1000 [ksmbd] smb2_open+0x14eb/0xd9f0 [ksmbd] Commit 3515503322f4 ("ksmbd: fix durable reconnect error path file lifetime") handles a final put made by the reconnecting request, but not one made by another holder. Remove the volatile id under the file-table lock on this error path, before the references are dropped, as ksmbd_close_fd() does on the request_open path just above. Removal then no longer depends on which holder makes the final put. The stale comment in the reconnect cleanup is updated to match. A successful reconnect is unchanged.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.157% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 7.7 · published by Ubuntu SecurityCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T14:20:15.636Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T14:20:15.636Z | Ubuntu Security |
| epss | verified | 2026-11-19T16:05:00.247Z | FIRST EPSS |
| patches | verified | 2026-11-19T14:20:15.636Z | Ubuntu Security |
| affected | verified | 2026-11-19T10:46:28.547Z | CVE Program |
| lifecycle | verified | 2026-11-19T10:46:28.547Z | CVE Program |
Affected versions and configuration
Linux Linux; default status: unaffected: c8efcc786146a951091588e5fa7e3c754850cb3c to < 5078a4e41b29acdf6be52e4a7cc8a59c2a72a471 [affected; scheme: git]; c8efcc786146a951091588e5fa7e3c754850cb3c to < bd47ee501b6ac4a26ae41f780a43b7967302a269 [affected; scheme: git]; c8efcc786146a951091588e5fa7e3c754850cb3c to < edacf65866a9f397438d5b9ff9f43312b29b4b3c [affected; scheme: git]; c8efcc786146a951091588e5fa7e3c754850cb3c to < 248b5819591c577727930e4e255a455235fab50a [affected; scheme: git]; 8df4bcdb0a4232192b2445256c39b787d58ef14d [affected; scheme: git]; 6.6.32 to < 6.7 [affected; scheme: semver] Linux Linux; default status: affected: 6.9 [affected; scheme: unspecified]; 0 to < 6.9 [unaffected; scheme: semver]; 6.12.117 to ≤ 6.12.* [unaffected; scheme: semver]; 6.18.61 to ≤ 6.18.* [unaffected; scheme: semver]; 7.3.2 to ≤ 7.3.* [unaffected; scheme: semver]; 7.4-rc1 to ≤ * [unaffected; scheme: original_commit_for_fix]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "linux",
"debian": "https://tracker.debian.org/pkg/linux",
"source": "https://ubuntu.com/security/cve?package=linux",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=linux",
"statuses": [
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5.4.0-9.12",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "4.13.0-16.19",
"release_codename": "bionic"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5.13.0-19.19",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "6.5.0-9.9",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "3.11.0-12.19",
"release_codename": "trusty"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "7.4~rc1, 7.0.y, 7.3.2",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "4.4.0-2.16",
"release_codename": "xenial"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
"lessThan": "5078a4e41b29acdf6be52e4a7cc8a59c2a72a471",
"versionType": "git"
},
{
"status": "affected",
"version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
"lessThan": "bd47ee501b6ac4a26ae41f780a43b7967302a269",
"versionType": "git"
},
{
"status": "affected",
"version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
"lessThan": "edacf65866a9f397438d5b9ff9f43312b29b4b3c",
"versionType": "git"
},
{
"status": "affected",
"version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
"lessThan": "248b5819591c577727930e4e255a455235fab50a",
"versionType": "git"
},
{
"status": "affected",
"version": "8df4bcdb0a4232192b2445256c39b787d58ef14d",
"versionType": "git"
},
{
"status": "affected",
"version": "6.6.32",
"lessThan": "6.7",
"versionType": "semver"
}
],
"programFiles": [
"fs/smb/server/smb2pdu.c",
"fs/smb/server/vfs_cache.c",
"fs/smb/server/vfs_cache.h"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.9"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.9",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver",
"lessThanOrEqual": "7.3.*"
},
{
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/smb/server/smb2pdu.c",
"fs/smb/server/vfs_cache.c",
"fs/smb/server/vfs_cache.h"
],
"defaultStatus": "affected"
}
],
"additionalContainers": []
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| upstream-release | upstream / upstream | linux | Not a distribution channel | 7.4~rc1 | Official record |
| upstream-note | upstream / upstream | linux | Not a distribution channel | 7.0.y | Official record |
| upstream-release | upstream / upstream | linux | Not a distribution channel | 7.3.2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T10:46:28.547ZArchived source JSON
Source publication: 2026-11-16T09:59:19.483Z
Source modification: 2026-11-16T09:59:19.483ZDocument fingerprint
4bdb56cdd6dc003719b2bb55815d778d16c57e8457e58ccd75f387c75dbb54c5 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - Ubuntu SecurityConsulted: 2026-11-19T14:20:15.636ZArchived source JSON
Source publication: 2026-11-16T00:00:00.000Z
Source modification: 2026-11-18T08:33:13.974ZDocument fingerprint
6eedb29e446878f00705b6d543ace6f43bd05ddb7a0af05dfdddef8249195389 - FIRST EPSSConsulted: 2026-11-19T16:05:00.247ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
5731933fc6450a013cfb786007b49cd6237aa7bd2f2357ee149b21fdb5127308
Official status history
- UNKNOWN → PUBLISHED · · evidence