{"id":"CVE-2026-143036","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:17:31.640","lastModified":"2026-12-03T10:17:31.640","vulnStatus":"Received","cveTags":[],"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":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/smb/client/connect.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"b54034a73baf9fe31fb3f218c17bd5308a27a1ca","lessThan":"c3a6c0bc5340024997a84b7a438444bd63287ed1","versionType":"git","status":"affected"},{"version":"b54034a73baf9fe31fb3f218c17bd5308a27a1ca","lessThan":"4496c1f86ec80f5956ce8b95672df95bf6ac46ba","versionType":"git","status":"affected"},{"version":"b54034a73baf9fe31fb3f218c17bd5308a27a1ca","lessThan":"319ed39077dddcced202fc5f3aeda513a0e6ca05","versionType":"git","status":"affected"},{"version":"b54034a73baf9fe31fb3f218c17bd5308a27a1ca","lessThan":"8deaf64a59a263161dfc5128f8398fb3dcba4fac","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/smb/client/connect.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.19","status":"affected"},{"version":"0","lessThan":"5.19","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/319ed39077dddcced202fc5f3aeda513a0e6ca05","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/4496c1f86ec80f5956ce8b95672df95bf6ac46ba","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8deaf64a59a263161dfc5128f8398fb3dcba4fac","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c3a6c0bc5340024997a84b7a438444bd63287ed1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}