CVE-2026-143036: smb: client: skip NULL channel in __cifs_put_smb_ses()

Published Dec 3, 2026
·
Updated

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

smb: client: skip NULL channel in cifsputsmbses()

cifschanskipordisable() clears a secondary channel's slot in the session (ses->chans[chanindex].server = NULL) without lowering chancount when the server stops supporting multichannel. When the session is later released, cifsputsmbses() walks every slot up to chancount and calls cifsputtcpsession() on it, which dereferences the server pointer immediately, so a slot left NULL by the skip path makes the release crash with a NULL pointer dereference.

Clearing a slot without lowering chancount is older than cifschanskipordisable(): cifschanupdateiface() could already do the same since commit b54034a73baf9 ("cifs: during reconnect, update interface if necessary"), and the release loop has been unguarded since then. Commit 12d1e301bdfd1 ("cifs: do not let cifschanupdateiface deallocate channels") later removed that trigger, but the crash is reachable through it on older kernels.

cifsdecreasesecondarychannels() already guards the same put with if (server). Add the same guard to the release loop so a skipped channel slot is left alone.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Add a NULL-server guard in the __cifs_put_smb_ses() release loop before calling cifs_put_tcp_session(), so skipped channel slots are not dereferenced.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:18 AM
Data Sourced
via MITRE·09:18 AM
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