{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143042","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.344Z","datePublished":"2026-12-03T09:18:18.274Z","dateUpdated":"2026-12-04T03:27:33.778Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-04T03:27:33.778Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: hold server ref while queueing reconnect work\n\nWhen query_server_interfaces() returns -EOPNOTSUPP on a secondary\nchannel, smb2_reconnect() calls smb3_update_ses_channels() which for a\nchannel runs cifs_chan_skip_or_disable().  That clears the channel's\nslot in the session and calls cifs_put_tcp_session(), which can drop\nthe last reference of the channel and tear it down.\n\nsmb2_reconnect() then falls through to skip_add_channels and queues\nreconnect work on that server, using a server that may already be\nfreed.  The send path obtained the channel from cifs_pick_channel(),\nwhich does not take a reference, so the session's channel reference is\nthe only one.\n\nTake our own reference on the channel before calling\nsmb3_update_ses_channels() and drop it after the reconnect work has\nbeen queued, so the channel cannot be freed while it is still used."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - The SMB2 IOCTL response to FSCTL_QUERY_NETWORK_INTERFACE_INFO carries Status STATUS_NOT_IMPLEMENTED (0xC0000002). map_smb2_to_linux_error() turns that into -EOPNOTSUPP, and smb2_reconnect() then calls smb3_update_ses_channels() on the channel cifs_pick_channel() selected. The response arrives on the client's TCP/445 socket.\nAC:H - cifs_chan_skip_or_disable() drops the secondary channel's last srv_count in cifs_put_tcp_session(), which only SIGKILLs cifsd. clean_demultiplex_info() msleeps at least 125ms before kfree_sensitive(server), while cifs_queue_server_reconn() runs a few instructions later. The caller must be descheduled across that window, which the server cannot force.\nPR:N - The attacker is the SMB server and needs no credentials on the client: the client authenticates outward, and cifs_fs_type has no FS_USERNS_MOUNT. smb2_reconnect() acts on the Status field of the server's IOCTL response after the session already exists.\nUI:N - On an existing multichannel mount, the server sets tcon->need_reconnect by answering an SMB2 echo or FSCTL_QUERY_NETWORK_INTERFACE_INFO with STATUS_NETWORK_NAME_DELETED (smb2_is_network_name_deleted()). A lease break then reaches SMB2_lease_break() or SMB2_close(), which call cifs_pick_channel() and smb2_plain_req_init() with no new user action.\nS:U - The freed TCP_Server_Info and the cifs_queue_server_reconn() use of its reconnect work are both in the client kernel, the same security authority. No guest-to-host, IOMMU, or sandbox boundary is crossed.\nC:H - cifs_queue_server_reconn() reads delayed_work_pending() from the freed TCP_Server_Info.reconnect. Once that slab slot is reused, that read and smb2_reconnect_server()'s loads of srv_count and primary_server return attacker-controlled bytes.\nI:H - After the last srv_count drop, cifs_queue_server_reconn() WRITE_ONCE()s reconn_delay and mod_delayed_work()s the embedded reconnect work_struct. A reused object makes that a workqueue write and can redirect the callback.\nA:H - cifs_queue_server_reconn() touches server->reconnect after cifs_tcp_server_put() can kfree_sensitive() the TCP_Server_Info. That use, or a worker still queued on the freed work_struct, oopses the client kernel."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/smb2pdu.c"],"versions":[{"version":"f591062bdbf4742b7f1622173017f19e927057b0","lessThan":"6d57e23dff80a7bdf9d29ba4ea082804278bab92","status":"affected","versionType":"git"},{"version":"f591062bdbf4742b7f1622173017f19e927057b0","lessThan":"f02d249e9756b78990aaaa1635e47e06deb2cb51","status":"affected","versionType":"git"},{"version":"50e8363ecc85da49764781da90ebffe1a657b370","status":"affected","versionType":"git"},{"version":"d61ba1d71ea6039eca7ada870bf3f0c3c8fc12e4","status":"affected","versionType":"git"},{"version":"6.6.15","lessThan":"6.7","status":"affected","versionType":"semver"},{"version":"6.7.3","lessThan":"6.8","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/smb2pdu.c"],"versions":[{"version":"6.8","status":"affected"},{"version":"0","lessThan":"6.8","status":"unaffected","versionType":"semver"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.4-rc3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.15"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7.3"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/6d57e23dff80a7bdf9d29ba4ea082804278bab92"},{"url":"https://git.kernel.org/stable/c/f02d249e9756b78990aaaa1635e47e06deb2cb51"}],"title":"smb: client: hold server ref while queueing reconnect work","x_generator":{"engine":"bippy-1.2.0"}}}}