CVE-2026-143042: smb: client: hold server ref while queueing reconnect work

Published Dec 3, 2026
·
Updated

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

smb: client: hold server ref while queueing reconnect work

When queryserverinterfaces() returns -EOPNOTSUPP on a secondary channel, smb2reconnect() calls smb3updateseschannels() which for a channel runs cifschanskipordisable(). That clears the channel's slot in the session and calls cifsputtcpsession(), which can drop the last reference of the channel and tear it down.

smb2reconnect() then falls through to skipaddchannels and queues reconnect work on that server, using a server that may already be freed. The send path obtained the channel from cifspickchannel(), which does not take a reference, so the session's channel reference is the only one.

Take our own reference on the channel before calling smb3updateseschannels() and drop it after the reconnect work has been queued, so the channel cannot be freed while it is still used.

Affected Software

4 affected components
Linux Linux kernel
debian/linux*
debian/linux*
debian/linux<=6.12.117-1, <=6.12.118-1, <=7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Hold a server reference while queueing reconnect work, and release it after the reconnect work has been queued.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:18 AM
Data Sourced
via MITRE·09:18 AM
Description
Data Sourced
via NVD·10:17 AM
Description
Data Sourced
via OSV·11:47 AM
DescriptionAffected Software

Frequently Asked Questions

1

Under what conditions can this occur?

The issue occurs during SMB client reconnection when query_server_interfaces() returns -EOPNOTSUPP on a secondary channel. The reconnect path can then disable that channel and release its last session reference before reconnect work is queued against it.

2

Is a remote SMB server involved in triggering the vulnerable path?

Yes. The affected logic is in the Linux SMB client’s handling of a secondary channel during reconnection, specifically when server-interface querying returns -EOPNOTSUPP. The provided information does not establish whether a malicious server can deliberately cause that response.

3

What is the impact of the race?

Reconnect work may be queued using a server/channel object that has already been freed. This is a use-after-free condition in the SMB client reconnect path.

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