CVE-2026-143036

Source
https://cve.org/CVERecord?id=CVE-2026-143036
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143036.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143036
Downstream
Published
2026-12-03T09:18:11Z
Modified
2026-12-03T11:00:56Z
Summary
smb: client: skip NULL channel in __cifs_put_smb_ses()
Details

In the Linux kernel, the following vulnerability has been resolved:

smb: client: skip NULL channel in __cifs_put_smb_ses()

cifs_chan_skip_or_disable() clears a secondary channel's slot in the session (ses->chans[chan_index].server = NULL) without lowering chan_count when the server stops supporting multichannel. When the session is later released, __cifs_put_smb_ses() walks every slot up to chan_count and calls cifs_put_tcp_session() on it, which dereferences the server pointer immediately, so a slot left NULL by the skip path makes the release crash with a NULL pointer dereference.

Clearing a slot without lowering chan_count is older than cifs_chan_skip_or_disable(): cifs_chan_update_iface() could already do the same since commit b54034a73baf9 ("cifs: during reconnect, update interface if necessary"), and the release loop has been unguarded since then. Commit 12d1e301bdfd1 ("cifs: do not let cifs_chan_update_iface deallocate channels") later removed that trigger, but the crash is reachable through it on older kernels.

cifs_decrease_secondary_channels() already guards the same put with if (server). Add the same guard to the release loop so a skipped channel slot is left alone.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143036.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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"

Linux / Kernel

Package

Name
Kernel

Affected 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"