ksmbd: hold a connection reference for each session channel

Summary

CVECVE-2026-99277
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-07 14:17:03 UTC
Updated2026-11-07 14:17:03 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: ksmbd: hold a connection reference for each session channel ksmbd_session_unregister() removes a session from the global and per- connection tables before dropping the table reference. A concurrent reference holder can keep the session and its channel list alive after those removals. Connection cleanup can no longer find the unpublished session to remove its channels. Since a channel only stores a raw conn pointer, the connection can be freed while another session reference holder is still accessing it, for example during SMB3.1.1 binding or a procfs read. Take a connection reference when registering a channel and release it on insertion failure, channel removal, or final session destruction. Keep the channels and signing keys until the session is destroyed so a response can still be signed after the session has been unregistered.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected d7fd1f98607f2cd358e583f9548bdf0173090a86 4b333aed69cfc2c8687b86b6a4364a0dffc16dd8 git Not specified
CNA Linux Linux affected d7fd1f98607f2cd358e583f9548bdf0173090a86 add8d7fb04efe564193df73581889c62fc0016f1 git Not specified
CNA Linux Linux affected c99ea7855124ca1428a1e59c2b4590aaef34eacf git Not specified
CNA Linux Linux affected 7.2.8 7.3 semver Not specified
CNA Linux Linux affected 7.3 Not specified
CNA Linux Linux unaffected 7.3 semver Not specified
CNA Linux Linux unaffected 7.3.2 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/add8d7fb04efe564193df73581889c62fc0016f1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4b333aed69cfc2c8687b86b6a4364a0dffc16dd8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report