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

Published Nov 7, 2026
·
Updated

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

ksmbd: defer connection scavenging while session locks are busy

The expiration worker holds connlistlock for reading while checking for authenticated sessions. Without this change, the check can wait for conn->sessionlock or sessionstablelock.

In destroyprevioussession(), the status updates after ksmbdconnwaitidlesess() run with both session locks held for writing. Both the KSMBDSESSGOOD error path and the KSMBDSESSNEEDSETUP success path call ksmbdallconnsetstatus(), which takes connlistlock for reading.

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

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.

Event History

Nov 7, 2026
CVE Published
via MITRE·02:08 PM
Data Sourced
via MITRE·02:08 PM
Description
Data Sourced
via NVD·02:17 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203