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

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-11-07T14:08:46.432Z
- **Modified:** 2026-11-25T19:17:43.217Z

## Who should check

- Anyone running Linux \>= d7fd1f98607f2cd358e583f9548bdf0173090a86, \< 4e4e8b38994a0b0fc23f00ca6698b469a41abe70; \>= d7fd1f98607f2cd358e583f9548bdf0173090a86, \< b4bae7af1154089be87c7475218264fcbfd16d10; c99ea7855124ca1428a1e59c2b4590aaef34eacf; \>= 7.2.8, \< 7.3
- Anyone running Linux 7.3

## Description

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.

## Affected and fixed versions

- Linux: \>= d7fd1f98607f2cd358e583f9548bdf0173090a86, \< 4e4e8b38994a0b0fc23f00ca6698b469a41abe70; \>= d7fd1f98607f2cd358e583f9548bdf0173090a86, \< b4bae7af1154089be87c7475218264fcbfd16d10; 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-99276. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99276.md
Affected: Linux >= d7fd1f98607f2cd358e583f9548bdf0173090a86, < 4e4e8b38994a0b0fc23f00ca6698b469a41abe70; >= d7fd1f98607f2cd358e583f9548bdf0173090a86, < b4bae7af1154089be87c7475218264fcbfd16d10; c99ea7855124ca1428a1e59c2b4590aaef34eacf; >= 7.2.8, < 7.3; Linux 7.3
Fixed in: Linux 4e4e8b38994a0b0fc23f00ca6698b469a41abe70, 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-99276 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= d7fd1f98607f2cd358e583f9548bdf0173090a86, \< 4e4e8b38994a0b0fc23f00ca6698b469a41abe70; \>= d7fd1f98607f2cd358e583f9548bdf0173090a86, \< b4bae7af1154089be87c7475218264fcbfd16d10; c99ea7855124ca1428a1e59c2b4590aaef34eacf; \>= 7.2.8, \< 7.3; Linux 7.3.

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

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

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

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/4e4e8b38994a0b0fc23f00ca6698b469a41abe70>
- other: <https://git.kernel.org/stable/c/b4bae7af1154089be87c7475218264fcbfd16d10>
- other: <https://github.com/suruurism/cve-writeups-and-pocs/blob/main/CVE-2026-99276/CVE-2026-99276.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-99276>

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