CVE-2026-143042
smb: client: hold server ref while queueing reconnect work
설명(영어 원문)
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.
기본 정보
- 공개일
- 2026-12-03
- 최근 수정
- 2026-12-03
- 심각도
- —
영향 받는 제품
- Linux Linux — f591062bdbf4742b7f1622173017f19e927057b0 – < 6d57e23dff80a7bdf9d29ba4ea082804278bab92, f591062bdbf4742b7f1622173017f19e927057b0 – < f02d249e9756b78990aaaa1635e47e06deb2cb51, 50e8363ecc85da49764781da90ebffe1a657b370, d61ba1d71ea6039eca7ada870bf3f0c3c8fc12e4, 6.6.15 – < 6.7, 6.7.3 – < 6.8
- Linux Linux — 6.8