{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "b54034a73baf9fe31fb3f218c17bd5308a27a1ca"
            },
            {
              "fixed": "c3a6c0bc5340024997a84b7a438444bd63287ed1"
            },
            {
              "fixed": "4496c1f86ec80f5956ce8b95672df95bf6ac46ba"
            },
            {
              "fixed": "319ed39077dddcced202fc5f3aeda513a0e6ca05"
            },
            {
              "fixed": "8deaf64a59a263161dfc5128f8398fb3dcba4fac"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143036.json"
  },
  "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.",
  "id": "CVE-2026-143036",
  "modified": "2026-12-03T10:45:30.440993795Z",
  "published": "2026-12-03T09:18:11.891Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "smb: client: skip NULL channel in __cifs_put_smb_ses()"
}