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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-07 · Modified: 2026-11-25
- Aliases: DEBIAN-CVE-2026-99277, UBUNTU-CVE-2026-99277, CGA-2vjx-9c59-664p, CGA-4cv3-49rw-22h4, CGA-r6v8-qxqg-j3g4, CGA-v72j-h5j4-9xp2, CGA-xxcq-8x4j-2h8f, CGA-wq72-h8q9-5xq4, CGA-34j4-7xq2-f43p, CGA-43xw-6x6x-jf82, CGA-6473-7vx7-2f6w, CGA-8mh3-7cvf-4w7c, CGA-9chx-cjw8-q7cm, CGA-fvr6-8h79-928g, CGA-fvrh-cjgr-hfg5, CGA-g4v4-56rp-9whh, CGA-gg95-5xm3-c4mf, CGA-hm3q-pr7x-99pp, CGA-jj9r-cjc5-wx4c, CGA-jrrj-2j9m-7j44
- Record: https://cvemate.com/vulnerability/CVE-2026-99277 · JSON: https://cvemate.com/vulnerability/CVE-2026-99277/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.36%, percentile 31.788%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 181)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 7.3.3-1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/4b333aed69cfc2c8687b86b6a4364a0dffc16dd8>
- <https://git.kernel.org/stable/c/add8d7fb04efe564193df73581889c62fc0016f1>
- <https://security-tracker.debian.org/tracker/CVE-2026-99277>
- <https://ubuntu.com/security/CVE-2026-99277>
- <https://www.cve.org/CVERecord?id=CVE-2026-99277>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99277.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-99277>
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git>
- <https://github.com/suruurism/cve-writeups-and-pocs/blob/main/CVE-2026-99277/CVE-2026-99277.md>

---

Data as of 2026-12-05T14:04:08.225Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
