# CVE-2026-99276: ksmbd: defer connection scavenging while session locks are busy

- Priority: **Routine**
- Reason: Not severe (CVSS 6, 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-99276, UBUNTU-CVE-2026-99276, CGA-26qw-m6cf-25xx, CGA-2pph-j7cc-4w72, CGA-5wx8-hv7w-654q, CGA-75wx-vvxp-3466, CGA-94hx-64xm-7cg9, CGA-c3r9-c5f2-whpp, CGA-cmqv-fqpj-3gm2, CGA-hj5j-ccc9-mhhv, CGA-j765-vmh4-f6xf, CGA-jhfr-jcpj-q93c, CGA-m3f2-rw6q-qq4c, CGA-p4rm-jh7r-936m, CGA-qmxj-m7rx-f82x, CGA-rjrx-mrqr-28p5, CGA-rm28-fj3h-9343, CGA-rp7j-p7ww-35q7, CGA-vr8w-7qr3-j2qv, CGA-fvmr-334w-8x6x, CGA-h4rj-cmfq-pppf
- Record: https://cvemate.com/vulnerability/CVE-2026-99276 · JSON: https://cvemate.com/vulnerability/CVE-2026-99276/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

ksmbd: defer connection scavenging while session locks are busy

The expiration worker holds conn_list_lock for reading while checking
for authenticated sessions. Without this change, the check can wait for
conn->session_lock or sessions_table_lock.

In destroy_previous_session(), the status updates after
ksmbd_conn_wait_idle_sess() run with both session locks held for
writing. Both the KSMBD_SESS_GOOD error path and the
KSMBD_SESS_NEED_SETUP success path call ksmbd_all_conn_set_status(),
which takes conn_list_lock for reading.

A writer queued on conn_list_lock can block these new read acquisitions.
The worker then waits for a session lock held by
destroy_previous_session(), which waits behind the writer. The writer
cannot proceed until the worker releases conn_list_lock.

Try both session locks instead of waiting in the scavenging check. Keep
the connection when either lock is busy and let the periodic worker
retry later.
```

## Signals

- CVSS: 6 medium (v4.0, OSV · Ubuntu) CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.155%, percentile 4.839%, 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/4e4e8b38994a0b0fc23f00ca6698b469a41abe70>
- <https://git.kernel.org/stable/c/b4bae7af1154089be87c7475218264fcbfd16d10>
- <https://security-tracker.debian.org/tracker/CVE-2026-99276>
- <https://ubuntu.com/security/CVE-2026-99276>
- <https://www.cve.org/CVERecord?id=CVE-2026-99276>
- <https://github.com/suruurism/cve-writeups-and-pocs/blob/main/CVE-2026-99276/CVE-2026-99276.md>

---

Data as of 2026-12-05T14:04:05.137Z. 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
