CVE-2026-99289
ksmbd: fix app-instance non-durable supersede session UAF
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix app-instance non-durable supersede session UAF ksmbd_close_fd_app_instance_id() supersedes a prior open that has the same AppInstanceId. It reaches that open's session through opinfo->sess. This pointer is not refcounted. Session teardown detaches durable handles before it frees the session. It does not detach a non-durable open. That open still points at the session through opinfo->sess after the session is freed. Another session can supersede the open at the same time. The supersede then takes a write lock through the stale pointer, in the freed session's file table. BUG: KASAN: slab-use-after-free in _raw_write_lock+0x71/0xd0 Call Trace: _raw_write_lock+0x71/0xd0 ksmbd_close_fd_app_instance_id+0xd9/0x670 [ksmbd] smb2_open+0x3e10/0xd910 [ksmbd] Freed by task 212: ksmbd_session_destroy+0x38d/0x480 [ksmbd] Fix this by looking the session up by opinfo->session_id. The lookup returns a reference, as smb2_break_collect_channels() does. Recheck that opinfo->sess still points at it before using it. Do the lookup without m_lock held. destroy_previous_session() takes m_lock under the session table lock, and taking them in the other order here would deadlock.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.198% · 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-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 7.7 · published by Ubuntu SecurityCVSS:4.0/AV:N/AC:H/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-19T17:28:52.703Z | 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.715Z | CVE Program |
| lifecycle | verified | 2026-11-19T10:46:28.715Z | CVE Program |
Affected versions and configuration
Linux Linux; default status: unaffected: 16c30649709d949b439273e61769028b1e706327 to < a5b190b352b0ba85f4debe436f42950ced10fadb [affected; scheme: git]; 16c30649709d949b439273e61769028b1e706327 to < f728cfee6929057087c303d07d7a6a7c61196b48 [affected; scheme: git] Linux Linux; default status: affected: 7.2 [affected; scheme: unspecified]; 0 to < 7.2 [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": "4.13.0-16.19",
"release_codename": "bionic"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5.4.0-9.12",
"release_codename": "focal"
},
{
"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": "not-affected",
"component": null,
"description": "6.17.0-5.5",
"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.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": "16c30649709d949b439273e61769028b1e706327",
"lessThan": "a5b190b352b0ba85f4debe436f42950ced10fadb",
"versionType": "git"
},
{
"status": "affected",
"version": "16c30649709d949b439273e61769028b1e706327",
"lessThan": "f728cfee6929057087c303d07d7a6a7c61196b48",
"versionType": "git"
}
],
"programFiles": [
"fs/smb/server/vfs_cache.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "7.2"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "7.2",
"versionType": "semver"
},
{
"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/vfs_cache.c"
],
"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-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.715ZArchived source JSON
Source publication: 2026-11-16T09:59:18.827Z
Source modification: 2026-11-16T09:59:18.827ZDocument fingerprint
761acafcbd8503b5dcff589081d045f0b4776a665d46f2015143903700d6ec9f - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived 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:47.505ZDocument 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