Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99539

published

ksmbd: fix session reference leak on compounded SESSION_SETUP

Published
19 Nov 2026, 14:44:54 UTC
Updated
23 Nov 2026, 08:04:03 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux0f62358ce85b2d4c949ef1b648be01b29cec667a to < a259b8f25de7b50d43fb94b29489d98848bba580 · a9839c37fd813b432988f58a9d9dd59253d3eb2c to < 964c39f41c837fc2de221dcb860ff6451e17deae · 5511999e9615e4318e9142d23b29bd1597befc08 to < 84deaeff31f4bdf5fee5c8dd1e3a4a49c3ffc05d · 7aa8804c0b67b3cb263a472d17f2cb50d7f1a930 to < b2d710b12e86fd4cf02be090651fa6ea8683fc29 · 7aa8804c0b67b3cb263a472d17f2cb50d7f1a930 to < 38cddb9f7c9102f23652d198748c658072cf0df5 · 7aa8804c0b67b3cb263a472d17f2cb50d7f1a930 to < db30f8f330fc73304edfe595dc5a6f5e17ba97f2 · 7aa8804c0b67b3cb263a472d17f2cb50d7f1a930 to < 03bd8f5279e490e15e0c0f0fa388ffbd2fbacd65 · ee371898b53a9b9b51c02d22a8c31bfb86d45f0d · 5.15.171 to < 5.15.226 · 6.1.114 to < 6.1.193 · 6.6.58 to < 6.6.163 · 6.11.5 to < 6.12 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.12 (affected) · 0 to < 6.12 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux-6.12 Advisory build 6.12.117-1~deb12u1 DLA-4927-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Show 13 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix session reference leak on compounded SESSION_SETUP A compound request can place SESSION_SETUP after another command. That earlier command leaves a reference to its session in work->sess. smb2_sess_setup() then overwrites work->sess with the session it looks up or creates, and the dispatcher later puts work->sess only once. The inherited reference is never dropped. That leaks the session, together with its setup connection and socket, and every repeat of the compound leaks another. unreferenced object (size 512): __kmalloc_cache_noprof+0x32c/0x3a0 ksmbd_smb2_session_create+0xf6/0x9c0 [ksmbd] smb2_sess_setup+0xda4/0x6280 [ksmbd] handle_ksmbd_work+0x88c/0x1cb0 [ksmbd] Save the inherited session on entry. After the request has been processed, release it once, but only when smb2_sess_setup() has replaced work->sess with its own session or cleared it. Do this after ksmbd_conn_unlock() so the put does not run under srv_mutex. An error path may instead leave the inherited session in work->sess. Keep it there, so the dispatcher still puts it and the error response is still signed or encrypted with it as before.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 0f62358ce85b2d4c949ef1b648be01b29cec667a to < a259b8f25de7b50d43fb94b29489d98848bba580 (affected · git)a9839c37fd813b432988f58a9d9dd59253d3eb2c to < 964c39f41c837fc2de221dcb860ff6451e17deae (affected · git)5511999e9615e4318e9142d23b29bd1597befc08 to < 84deaeff31f4bdf5fee5c8dd1e3a4a49c3ffc05d (affected · git)7aa8804c0b67b3cb263a472d17f2cb50d7f1a930 to < b2d710b12e86fd4cf02be090651fa6ea8683fc29 (affected · git)7aa8804c0b67b3cb263a472d17f2cb50d7f1a930 to < 38cddb9f7c9102f23652d198748c658072cf0df5 (affected · git)7aa8804c0b67b3cb263a472d17f2cb50d7f1a930 to < db30f8f330fc73304edfe595dc5a6f5e17ba97f2 (affected · git)7aa8804c0b67b3cb263a472d17f2cb50d7f1a930 to < 03bd8f5279e490e15e0c0f0fa388ffbd2fbacd65 (affected · git)ee371898b53a9b9b51c02d22a8c31bfb86d45f0d (affected · git)5.15.171 to < 5.15.226 (affected · semver)6.1.114 to < 6.1.193 (affected · semver)6.6.58 to < 6.6.163 (affected · semver)6.11.5 to < 6.12 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.12 (affected)0 to < 6.12 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

1

Linux · cna

ksmbd: fix session reference leak on compounded SESSION_SETUP

Provenance

Schema
5.2
Searchable
yes
Content hash
9d18c5330686ad299da89bca8645e5c82628bded3dca270dca9fe271110fdf19
Ingested
23 Nov 2026, 14:35:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected