{"id":"CVE-2026-143036","summary":"smb: client: skip NULL channel in __cifs_put_smb_ses()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: skip NULL channel in __cifs_put_smb_ses()\n\ncifs_chan_skip_or_disable() clears a secondary channel's slot in the\nsession (ses-\u003echans[chan_index].server = NULL) without lowering\nchan_count when the server stops supporting multichannel.  When the\nsession is later released, __cifs_put_smb_ses() walks every slot up to\nchan_count and calls cifs_put_tcp_session() on it, which dereferences\nthe server pointer immediately, so a slot left NULL by the skip path\nmakes the release crash with a NULL pointer dereference.\n\nClearing a slot without lowering chan_count is older than\ncifs_chan_skip_or_disable(): cifs_chan_update_iface() could already do\nthe same since commit b54034a73baf9 (\"cifs: during reconnect, update\ninterface if necessary\"), and the release loop has been unguarded\nsince then.  Commit 12d1e301bdfd1 (\"cifs: do not let\ncifs_chan_update_iface deallocate channels\") later removed that\ntrigger, but the crash is reachable through it on older kernels.\n\ncifs_decrease_secondary_channels() already guards the same put with\nif (server).  Add the same guard to the release loop so a skipped\nchannel slot is left alone.","modified":"2026-12-03T11:00:56.606015884Z","published":"2026-12-03T09:18:11.891Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143036.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/319ed39077dddcced202fc5f3aeda513a0e6ca05"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4496c1f86ec80f5956ce8b95672df95bf6ac46ba"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8deaf64a59a263161dfc5128f8398fb3dcba4fac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c3a6c0bc5340024997a84b7a438444bd63287ed1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143036.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143036"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b54034a73baf9fe31fb3f218c17bd5308a27a1ca"},{"fixed":"c3a6c0bc5340024997a84b7a438444bd63287ed1"},{"fixed":"4496c1f86ec80f5956ce8b95672df95bf6ac46ba"},{"fixed":"319ed39077dddcced202fc5f3aeda513a0e6ca05"},{"fixed":"8deaf64a59a263161dfc5128f8398fb3dcba4fac"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143036.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.19.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143036.json"}}],"schema_version":"1.9.2"}