PT-2026-166897
CVE-2026-143042
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
CVSS 3.1
8.1
HighMetricsAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
In the Linux kernel, the following vulnerability has been resolved:
smb: client: hold server ref while queueing reconnect work
When query server interfaces() returns -EOPNOTSUPP on a secondary
channel, smb2 reconnect() calls smb3 update ses channels() which for a
channel runs cifs chan skip or disable(). That clears the channel's
slot in the session and calls cifs put tcp session(), which can drop
the last reference of the channel and tear it down.
smb2 reconnect() then falls through to skip add channels and queues
reconnect work on that server, using a server that may already be
freed. The send path obtained the channel from cifs pick channel(),
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
smb3 update ses channels() and drop it after the reconnect work has
been queued, so the channel cannot be freed while it is still used.
Found an issue in the description? Have something to add? Feel free to write us 👾