cvelo
P2 · HighCVSS 8.1EPSS 0.8%

smb: client: hold server ref while queueing reconnect work

  • CVE-2026-143042
  • GHSA-r8p9-wh4g-7466
  • EUVD-2026-142659

Description

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.

Text from the CVE.org record.

Recommendation

  • Linux

    • If you run a version from 6.6.15 to before 6.7update to 6.7 or laterMinor version change: check the release notes

    Some affected versions have no stated fix.

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Linux

    Affected versionsFixed in
    from 6.6.15 to before 6.76.7
    from 6.7.3 to before 6.8none stated
    6.8none stated
    before 6.8: not affectednone stated
    from 7.3.7 up to 7.3.*: not affectednone stated
    from 7.4-rc3 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.