# CVE-2026-99277: ksmbd: hold a connection reference for each session channel

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-07T14:08:46.710Z
- Modified: 2026-11-25T19:17:43.320Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d7fd1f98607f2cd358e583f9548bdf0173090a86 before 4b333aed69cfc2c8687b86b6a4364a0dffc16dd8; from d7fd1f98607f2cd358e583f9548bdf0173090a86 before add8d7fb04efe564193df73581889c62fc0016f1; c99ea7855124ca1428a1e59c2b4590aaef34eacf; from 7.2.8 before 7.3; 7.3 (not affected: before 7.3; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://github.com/suruurism/cve-writeups-and-pocs/blob/main/CVE-2026-99277/CVE-2026-99277.md> (exploit)
- <https://git.kernel.org/stable/c/4b333aed69cfc2c8687b86b6a4364a0dffc16dd8>
- <https://git.kernel.org/stable/c/add8d7fb04efe564193df73581889c62fc0016f1>

## Sources

- CVE List: [CVE-2026-99277](https://www.cve.org/CVERecord?id=CVE-2026-99277), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-99277](https://nvd.nist.gov/vuln/detail/CVE-2026-99277), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-99277 · Whole record: https://cve.day/CVE-2026-99277.json · Rebuilt by cve.day 2026-11-25T23:18:22.774Z
