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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.49% (percentile 35, 2026-11-26)
- **Published:** 2026-11-07T14:08:46.710Z
- **Modified:** 2026-11-25T19:17:43.320Z

## Who should check

- Anyone running Linux \>= d7fd1f98607f2cd358e583f9548bdf0173090a86, \< 4b333aed69cfc2c8687b86b6a4364a0dffc16dd8; \>= d7fd1f98607f2cd358e583f9548bdf0173090a86, \< add8d7fb04efe564193df73581889c62fc0016f1; c99ea7855124ca1428a1e59c2b4590aaef34eacf; \>= 7.2.8, \< 7.3
- Anyone running Linux 7.3

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

## Affected and fixed versions

- Linux: \>= d7fd1f98607f2cd358e583f9548bdf0173090a86, \< 4b333aed69cfc2c8687b86b6a4364a0dffc16dd8; \>= d7fd1f98607f2cd358e583f9548bdf0173090a86, \< add8d7fb04efe564193df73581889c62fc0016f1; c99ea7855124ca1428a1e59c2b4590aaef34eacf; \>= 7.2.8, \< 7.3 (cvelist)
- Linux: 7.3 (cvelist)

## Mitigation

- Upgrade Linux to 7.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99277. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99277.md
Affected: Linux >= d7fd1f98607f2cd358e583f9548bdf0173090a86, < 4b333aed69cfc2c8687b86b6a4364a0dffc16dd8; >= d7fd1f98607f2cd358e583f9548bdf0173090a86, < add8d7fb04efe564193df73581889c62fc0016f1; c99ea7855124ca1428a1e59c2b4590aaef34eacf; >= 7.2.8, < 7.3; Linux 7.3
Fixed in: Linux 4b333aed69cfc2c8687b86b6a4364a0dffc16dd8, Linux 7.3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99277 being exploited?

There is no confirmed exploitation: CVE-2026-99277 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99277?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-99277?

Linux \>= d7fd1f98607f2cd358e583f9548bdf0173090a86, \< 4b333aed69cfc2c8687b86b6a4364a0dffc16dd8; \>= d7fd1f98607f2cd358e583f9548bdf0173090a86, \< add8d7fb04efe564193df73581889c62fc0016f1; c99ea7855124ca1428a1e59c2b4590aaef34eacf; \>= 7.2.8, \< 7.3; Linux 7.3.

### Is there a fix for CVE-2026-99277?

Yes. Fixed in Linux 4b333aed69cfc2c8687b86b6a4364a0dffc16dd8, Linux 7.3. Upgrade Linux to 7.3 or later.

### How do I check if I'm affected by CVE-2026-99277?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99277>

HTML: <https://flawdb.com/CVE-2026-99277> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99277>
