{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99525",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.420Z",
        "datePublished": "2026-11-19T14:44:37.402Z",
        "dateUpdated": "2026-11-23T08:03:50.786Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-23T08:03:50.786Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix use-after-free in cifs_ses_add_channel()\n\nThe error path of cifs_ses_add_channel() calls cifs_put_tcp_session()\nbefore cifs_chan_clear_need_reconnect().  The latter reaches\ncifs_ses_get_chan_index(), which dereferences server->terminate; if\nthe put was the final reference, TCP_Server_Info is already freed and\nthis is a use-after-free.  Same put-then-use pattern as the recently\nfixed sibling in commit 717e0a25036b (\"cifs: Fix server use-after-free\nin cifs_chan_skip_or_disable()\").\n\nMove the put last, but do not read chan->server after dropping\nchan_lock: chan points into ses->chans[], and once chan_count is\ndecremented a concurrent add_channel can reuse the slot and overwrite\nthe pointer, so the put would act on the new channel's server.  Cache\nthe pointer under chan_lock, clear the reconnect bit and decrement\nchan_count while still holding the reference, and release it after\nthe unlock.\n\nThis issue was discovered by Tencent CodeBuddy Security."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/client/sess.c"
                    ],
                    "versions": [
                        {
                            "version": "e341b7975bd72d3ebda92b8d747d0aad15ce8717",
                            "lessThan": "093a42a31ae8bb26da7f4a358f83300d76d0c46b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3e1615361b6fa6e6e0bfae0efb3a8c2255ac101f",
                            "lessThan": "4bc20a4ccdbdbe14e8628073109c52a22d7512d1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ee1d21794e55ab76505745d24101331552182002",
                            "lessThan": "d88e3e844fad0f6b9fbeb8c8862f9272a7c26a99",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ee1d21794e55ab76505745d24101331552182002",
                            "lessThan": "8069935474b1502459ab50f75a67d7394a93cd5d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ee1d21794e55ab76505745d24101331552182002",
                            "lessThan": "72367dacb5c9d8bd486b2fcaf56b6d3086d57250",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ee1d21794e55ab76505745d24101331552182002",
                            "lessThan": "031278577380e7875d95aed81a2b2bcac39be923",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.1.178",
                            "lessThan": "6.1.193",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.15",
                            "lessThan": "6.6.163",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/client/sess.c"
                    ],
                    "versions": [
                        {
                            "version": "6.7",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.7",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.117",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.61",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.2",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1.178",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6.15",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7",
                                    "versionEndExcluding": "6.18.61"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7",
                                    "versionEndExcluding": "7.3.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/093a42a31ae8bb26da7f4a358f83300d76d0c46b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4bc20a4ccdbdbe14e8628073109c52a22d7512d1"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d88e3e844fad0f6b9fbeb8c8862f9272a7c26a99"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8069935474b1502459ab50f75a67d7394a93cd5d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/72367dacb5c9d8bd486b2fcaf56b6d3086d57250"
                },
                {
                    "url": "https://git.kernel.org/stable/c/031278577380e7875d95aed81a2b2bcac39be923"
                }
            ],
            "title": "smb: client: fix use-after-free in cifs_ses_add_channel()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}