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

Status: published. Published: 2026-11-07. Updated: 2026-11-07.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ d7fd1f98607f2cd358e583f9548bdf0173090a86; < 4b333aed69cfc2c8687b86b6a4364a0dffc16dd8 (affected, git); ≥ d7fd1f98607f2cd358e583f9548bdf0173090a86; < add8d7fb04efe564193df73581889c62fc0016f1 (affected, git); c99ea7855124ca1428a1e59c2b4590aaef34eacf (affected, git); ≥ 7.2.8; < 7.3 (affected, semver). Source: CNA: Linux
- Linux / Linux: 7.3 (affected); ≥ 0; < 7.3 (unaffected, semver); ≥ 7.3.2; ≤ 7.3.* (unaffected, semver); ≥ 7.4-rc1; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/4b333aed69cfc2c8687b86b6a4364a0dffc16dd8 (CNA: Linux)

- https://git.kernel.org/stable/c/add8d7fb04efe564193df73581889c62fc0016f1 (CNA: Linux)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-99277; retrieved 2026-11-07; source updated 2026-11-07

Revision: 66acfc77f1712f89214b5afd94821aa1f54215072451f8ff87c365e9a031696e

Canonical: https://y2.dev/cve/CVE-2026-99277

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.