# CVE-2026-98115: ksmbd: safely drain sessions during logoff

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-25 · Modified: 2026-10-19
- Aliases: UBUNTU-CVE-2026-98115, DEBIAN-CVE-2026-98115, CGA-23xm-qfp3-rm79, CGA-266f-wx99-89fg, CGA-2fx5-97f5-8272, CGA-2g65-g4hq-83w7, CGA-2m5p-v3v3-5vp3, CGA-2wfh-prcr-3ph3, CGA-394v-mxmj-gvjr, CGA-3gqr-hjfh-mhm3, CGA-45wj-5jpw-2f8p, CGA-4gqx-4cfc-rgvr, CGA-4p32-f24h-j9c9, CGA-4p8g-2jqp-5v44, CGA-4xw6-gqcm-jcv8, CGA-5246-c78p-q3h5, CGA-572f-3mxv-8f8g, CGA-587g-xjww-j726, CGA-59cw-xq26-pqmm, CGA-5cpm-63jp-9g3h, CGA-5ggr-4mj4-v2mm, CGA-5mr8-gqjw-fvmv, CGA-6fhr-pfcc-x365, CGA-6qh5-gm6x-q8gr, CGA-6qj2-p52c-7mpw, CGA-7vg3-p3vf-gp8g, CGA-7xw9-564f-vfqh, CGA-82pr-jw2m-gvr9, CGA-83c4-cxvp-2h9j, CGA-8599-8fwh-cfwv, CGA-8746-w7gp-wjhf, CGA-8v4f-wr7p-j969, CGA-8wfv-3rwq-jxg4, CGA-92gh-wj23-6ffv, CGA-92mg-wwqr-9jpq, CGA-952c-38w9-c3x6, CGA-972j-9gfm-r3rv, CGA-9785-8gxm-w9vp, CGA-99g7-7624-p44x, CGA-9m24-rg78-chmg, CGA-c2qx-36rp-pqpr, CGA-cjq7-6wm7-q7gw, CGA-cpx9-3q6w-wpww, CGA-cq99-4rwq-99rj, CGA-cqmm-5gwh-ffx2, CGA-cvh3-m432-j9mj, CGA-cw75-j499-9f62, CGA-f3g4-4pp9-j6jp, CGA-fq98-fghg-w3g7, CGA-g8jj-hjqg-486v, CGA-gxc2-j5xq-m4gq, CGA-gxcc-wfmr-g68f, CGA-h6cg-j68x-6j52, CGA-hppp-9f2r-v222, CGA-hw65-7ch6-x34j, CGA-j66j-4whc-53jv, CGA-j7mw-7fjm-mfr2, CGA-jpv3-c9mw-6rh4, CGA-ph73-wpvq-p4qm, CGA-phqv-g883-jmrw, CGA-pm73-7p7w-x548, CGA-pqxm-j7rx-rcr3, CGA-pvv4-4g8f-q7vf, CGA-w7q3-gv3p-2w9q, CGA-wx73-45q6-42xq, CGA-pwhp-jwfw-pmm3, CGA-q37h-m87f-89p6, CGA-q64w-vm2c-x237, CGA-qjm7-wmcp-hqj9, CGA-qjrj-24gp-hpr9, CGA-qqq2-23xm-5353, CGA-qv86-48w8-ggq2, CGA-r2x8-m2hj-hv35, CGA-r3xr-m79x-f472, CGA-r79g-pv2f-2pr5, CGA-rfhv-wc9f-c3jj, CGA-rg9h-c824-82cv, CGA-rh9q-4j8x-g5gx, CGA-v62f-25c5-3wc2, CGA-vc2q-hx78-qf2h, CGA-vwhw-c8pv-x8x3, CGA-vwm5-87f6-95pj, CGA-w8mv-5fcm-8j82, CGA-wcxm-pqpc-7532, CGA-wf43-fvr3-5m2p, CGA-wjjm-c9x9-jwvm, CGA-wp8w-cw62-g88c, CGA-wv76-qw6m-3c78, CGA-xfp6-xq5j-vhfj, CGA-xphq-9m74-8q9w, CGA-xwxf-vggr-45vx, CGA-xx53-fg2w-x947, CGA-w6mg-qpwc-x24p, CGA-w6q3-h8vg-9qxp, CGA-3h9j-c4rg-68wx, CGA-3wfc-jcww-62f2, CGA-4c24-h9f9-p96j, CGA-4vcx-594x-7hf6, CGA-j87g-7wfw-qqg7, CGA-25xg-5j85-hgp8, CGA-5xvf-x54r-mch9, CGA-8pv8-p376-q734, CGA-hprv-4jq3-37qg, CGA-8q4v-hwcp-94fq, CGA-9v3w-gfv5-2j9v
- Record: https://cvemate.com/vulnerability/CVE-2026-98115 · JSON: https://cvemate.com/vulnerability/CVE-2026-98115/json

## Description

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

ksmbd: safely drain sessions during logoff

SMB3 multichannel allows requests for one session to run on multiple
connections. Wait for all channels bound to a session before freeing
shared session objects.

A deferred byte-range lock remains counted as a running request and only
wakes when its file closes. Wake blocked locks during the drain without
unpublishing or modifying their file objects. Synchronous CANCEL requests
must invoke their cancellation callback to wake pending operations, while
CHANGE_NOTIFY completion remains specific to the asynchronous path.

Serialize session teardown with channel registration and previous-session
cleanup, and use atomic work-state transitions so LOGOFF, CANCEL, and
connection teardown invoke cancellation callbacks only once.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.275%, percentile 21.229%, 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 192)

- chainguard hyperv-daemons-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-fips-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18-nestkvm-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-fips-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): \< 7.2.7-r0

## References

- <https://git.kernel.org/stable/c/a7e6df0bb92642bee4431b2b85c69ada1e463b21>
- <https://git.kernel.org/stable/c/d12168084c8c1b6d883c8eca5853929ac5136a9e>
- <https://ubuntu.com/security/CVE-2026-98115>
- <https://www.cve.org/CVERecord?id=CVE-2026-98115>
- <https://security-tracker.debian.org/tracker/CVE-2026-98115>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98115.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-98115>
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git>
- <https://ubuntu.com/security/notices/USN-8959-1>
- <https://ubuntu.com/security/notices/USN-8960-1>
- <https://ubuntu.com/security/notices/USN-9020-1>
- <https://ubuntu.com/security/notices/USN-9019-1>
- <https://ubuntu.com/security/notices/USN-9021-1>
- <https://ubuntu.com/security/notices/USN-9160-1>

---

Data as of 2026-12-05T03:23:44.955Z. 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
