{"id":"CVE-2026-143036","state":"PUBLISHED","title":"smb: client: skip NULL channel in __cifs_put_smb_ses()","description":"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->chans[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.","publishedAt":"2026-12-03T09:18:11.891Z","updatedAt":"2026-12-03T09:18:11.891Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b54034a73baf9fe31fb3f218c17bd5308a27a1ca","status":"affected","lessThan":"c3a6c0bc5340024997a84b7a438444bd63287ed1","versionType":"git"},{"version":"b54034a73baf9fe31fb3f218c17bd5308a27a1ca","status":"affected","lessThan":"4496c1f86ec80f5956ce8b95672df95bf6ac46ba","versionType":"git"},{"version":"b54034a73baf9fe31fb3f218c17bd5308a27a1ca","status":"affected","lessThan":"319ed39077dddcced202fc5f3aeda513a0e6ca05","versionType":"git"},{"version":"b54034a73baf9fe31fb3f218c17bd5308a27a1ca","status":"affected","lessThan":"8deaf64a59a263161dfc5128f8398fb3dcba4fac","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/connect.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/connect.c"]}],"references":["https://git.kernel.org/stable/c/c3a6c0bc5340024997a84b7a438444bd63287ed1","https://git.kernel.org/stable/c/4496c1f86ec80f5956ce8b95672df95bf6ac46ba","https://git.kernel.org/stable/c/319ed39077dddcced202fc5f3aeda513a0e6ca05","https://git.kernel.org/stable/c/8deaf64a59a263161dfc5128f8398fb3dcba4fac"],"weaknesses":[],"ingestedAt":"2026-12-03T09:26:06.073Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143036.json","commit":"9fd484e43f2e14021809e195d28c1172759faad0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143036","state":"PUBLISHED","datePublished":"2026-12-03T09:18:11.891Z","dateUpdated":"2026-12-03T09:18:11.891Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.344Z"},"containers":{"cna":{"title":"smb: client: skip NULL channel in __cifs_put_smb_ses()","descriptions":[{"lang":"en","value":"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->chans[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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b54034a73baf9fe31fb3f218c17bd5308a27a1ca","status":"affected","lessThan":"c3a6c0bc5340024997a84b7a438444bd63287ed1","versionType":"git"},{"version":"b54034a73baf9fe31fb3f218c17bd5308a27a1ca","status":"affected","lessThan":"4496c1f86ec80f5956ce8b95672df95bf6ac46ba","versionType":"git"},{"version":"b54034a73baf9fe31fb3f218c17bd5308a27a1ca","status":"affected","lessThan":"319ed39077dddcced202fc5f3aeda513a0e6ca05","versionType":"git"},{"version":"b54034a73baf9fe31fb3f218c17bd5308a27a1ca","status":"affected","lessThan":"8deaf64a59a263161dfc5128f8398fb3dcba4fac","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/connect.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/connect.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c3a6c0bc5340024997a84b7a438444bd63287ed1"},{"url":"https://git.kernel.org/stable/c/4496c1f86ec80f5956ce8b95672df95bf6ac46ba"},{"url":"https://git.kernel.org/stable/c/319ed39077dddcced202fc5f3aeda513a0e6ca05"},{"url":"https://git.kernel.org/stable/c/8deaf64a59a263161dfc5128f8398fb3dcba4fac"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:18:11.891Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}