CVE-2026-99525 (GCVE-0-2026-99525)
Vulnerability from cvelistv5 – Published: 2026-11-19 14:44 – Updated: 2026-11-23 08:03
VLAI
EPSS
VEX
Title
smb: client: fix use-after-free in cifs_ses_add_channel()
Summary
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix use-after-free in cifs_ses_add_channel()
The error path of cifs_ses_add_channel() calls cifs_put_tcp_session()
before cifs_chan_clear_need_reconnect(). The latter reaches
cifs_ses_get_chan_index(), which dereferences server->terminate; if
the put was the final reference, TCP_Server_Info is already freed and
this is a use-after-free. Same put-then-use pattern as the recently
fixed sibling in commit 717e0a25036b ("cifs: Fix server use-after-free
in cifs_chan_skip_or_disable()").
Move the put last, but do not read chan->server after dropping
chan_lock: chan points into ses->chans[], and once chan_count is
decremented a concurrent add_channel can reuse the slot and overwrite
the pointer, so the put would act on the new channel's server. Cache
the pointer under chan_lock, clear the reconnect bit and decrement
chan_count while still holding the reference, and release it after
the unlock.
This issue was discovered by Tencent CodeBuddy Security.
Severity
No CVSS data available.
Assigner
References
6 references
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
e341b7975bd72d3ebda92b8d747d0aad15ce8717 , < 093a42a31ae8bb26da7f4a358f83300d76d0c46b
(git)
Affected: 3e1615361b6fa6e6e0bfae0efb3a8c2255ac101f , < 4bc20a4ccdbdbe14e8628073109c52a22d7512d1 (git) Affected: ee1d21794e55ab76505745d24101331552182002 , < d88e3e844fad0f6b9fbeb8c8862f9272a7c26a99 (git) Affected: ee1d21794e55ab76505745d24101331552182002 , < 8069935474b1502459ab50f75a67d7394a93cd5d (git) Affected: ee1d21794e55ab76505745d24101331552182002 , < 72367dacb5c9d8bd486b2fcaf56b6d3086d57250 (git) Affected: ee1d21794e55ab76505745d24101331552182002 , < 031278577380e7875d95aed81a2b2bcac39be923 (git) Affected: 6.1.178 , < 6.1.193 (semver) Affected: 6.6.15 , < 6.6.163 (semver) |
|
| Linux | Linux |
Affected:
6.7
Unaffected: 0 , < 6.7 (semver) Unaffected: 6.1.193 , ≤ 6.1.* (semver) Unaffected: 6.6.163 , ≤ 6.6.* (semver) Unaffected: 6.12.117 , ≤ 6.12.* (semver) Unaffected: 6.18.61 , ≤ 6.18.* (semver) Unaffected: 7.3.2 , ≤ 7.3.* (semver) Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/smb/client/sess.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "093a42a31ae8bb26da7f4a358f83300d76d0c46b",
"status": "affected",
"version": "e341b7975bd72d3ebda92b8d747d0aad15ce8717",
"versionType": "git"
},
{
"lessThan": "4bc20a4ccdbdbe14e8628073109c52a22d7512d1",
"status": "affected",
"version": "3e1615361b6fa6e6e0bfae0efb3a8c2255ac101f",
"versionType": "git"
},
{
"lessThan": "d88e3e844fad0f6b9fbeb8c8862f9272a7c26a99",
"status": "affected",
"version": "ee1d21794e55ab76505745d24101331552182002",
"versionType": "git"
},
{
"lessThan": "8069935474b1502459ab50f75a67d7394a93cd5d",
"status": "affected",
"version": "ee1d21794e55ab76505745d24101331552182002",
"versionType": "git"
},
{
"lessThan": "72367dacb5c9d8bd486b2fcaf56b6d3086d57250",
"status": "affected",
"version": "ee1d21794e55ab76505745d24101331552182002",
"versionType": "git"
},
{
"lessThan": "031278577380e7875d95aed81a2b2bcac39be923",
"status": "affected",
"version": "ee1d21794e55ab76505745d24101331552182002",
"versionType": "git"
},
{
"lessThan": "6.1.193",
"status": "affected",
"version": "6.1.178",
"versionType": "semver"
},
{
"lessThan": "6.6.163",
"status": "affected",
"version": "6.6.15",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/smb/client/sess.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.7"
},
{
"lessThan": "6.7",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.193",
"versionStartIncluding": "6.1.178",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.163",
"versionStartIncluding": "6.6.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.117",
"versionStartIncluding": "6.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.61",
"versionStartIncluding": "6.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3.2",
"versionStartIncluding": "6.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.4-rc1",
"versionStartIncluding": "6.7",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"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-\u003eterminate; 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-\u003eserver after dropping\nchan_lock: chan points into ses-\u003echans[], 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\u0027s 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."
}
],
"providerMetadata": {
"dateUpdated": "2026-11-23T08:03:50.786Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"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"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-99525",
"datePublished": "2026-11-19T14:44:37.402Z",
"dateReserved": "2026-09-25T10:25:14.420Z",
"dateUpdated": "2026-11-23T08:03:50.786Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-99525",
"date": "2026-11-22",
"epss": "0.00168",
"percentile": "0.06221"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/smb/client/sess.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "093a42a31ae8bb26da7f4a358f83300d76d0c46b",
"status": "affected",
"version": "e341b7975bd72d3ebda92b8d747d0aad15ce8717",
"versionType": "git"
},
{
"lessThan": "4bc20a4ccdbdbe14e8628073109c52a22d7512d1",
"status": "affected",
"version": "3e1615361b6fa6e6e0bfae0efb3a8c2255ac101f",
"versionType": "git"
},
{
"lessThan": "d88e3e844fad0f6b9fbeb8c8862f9272a7c26a99",
"status": "affected",
"version": "ee1d21794e55ab76505745d24101331552182002",
"versionType": "git"
},
{
"lessThan": "8069935474b1502459ab50f75a67d7394a93cd5d",
"status": "affected",
"version": "ee1d21794e55ab76505745d24101331552182002",
"versionType": "git"
},
{
"lessThan": "72367dacb5c9d8bd486b2fcaf56b6d3086d57250",
"status": "affected",
"version": "ee1d21794e55ab76505745d24101331552182002",
"versionType": "git"
},
{
"lessThan": "031278577380e7875d95aed81a2b2bcac39be923",
"status": "affected",
"version": "ee1d21794e55ab76505745d24101331552182002",
"versionType": "git"
},
{
"lessThan": "6.1.193",
"status": "affected",
"version": "6.1.178",
"versionType": "semver"
},
{
"lessThan": "6.6.163",
"status": "affected",
"version": "6.6.15",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/smb/client/sess.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.7"
},
{
"lessThan": "6.7",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"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-\u003eterminate; 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-\u003eserver after dropping\nchan_lock: chan points into ses-\u003echans[], 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\u0027s 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."
}
],
"id": "CVE-2026-99525",
"lastModified": "2026-11-23T08:17:54.580",
"metrics": {},
"published": "2026-11-19T15:18:08.147",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/031278577380e7875d95aed81a2b2bcac39be923"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/093a42a31ae8bb26da7f4a358f83300d76d0c46b"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/4bc20a4ccdbdbe14e8628073109c52a22d7512d1"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/72367dacb5c9d8bd486b2fcaf56b6d3086d57250"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/8069935474b1502459ab50f75a67d7394a93cd5d"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/d88e3e844fad0f6b9fbeb8c8862f9272a7c26a99"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-11-19T21:53:41+00:00",
"cve": "CVE-2026-99525",
"id": "CVE-2026-99525",
"initial_release_date": "2026-11-19T14:44:37.402000+00:00",
"product_status:known_affected": "111",
"product_status:known_not_affected": "93",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: kernel: Denial of Service via use-after-free in cifs_ses_add_channel()",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99525.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…