ksmbd: hold a connection reference for each session channel
- State
- Published
- Severity
- 7.5 High
- Published
- Nov 7, 2026
- Updated
- Nov 25, 2026
- Reserved
- Sep 25, 2026
Description
In 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.
| Product | Versions |
|---|---|
| Linux Linux | d7fd1f98607f2cd358e583f9548bdf0173090a86 to before 4b333aed69cfc2c8687b86b6a4364a0dffc16dd8 Affectedd7fd1f98607f2cd358e583f9548bdf0173090a86 to before add8d7fb04efe564193df73581889c62fc0016f1 Affectedc99ea7855124ca1428a1e59c2b4590aaef34eacf Affected7.2.8 to before 7.3 Affected |
| Linux Linux | 7.3 Affectedbefore 7.3 Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.5 High | Linux |
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.