CVE-2025-68226 (GCVE-0-2025-68226)
Vulnerability from cvelistv5
Published
2025-12-16 13:57
Modified
2026-10-15 22:02
Severity ?
VLAI Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix incomplete backport in cfids_invalidation_worker()
The previous commit bdb596ceb4b7 ("smb: client: fix potential UAF in
smb2_close_cached_fid()") was an incomplete backport and missed one
kref_put() call in cfids_invalidation_worker() that should have been
converted to close_cached_dir().
References
Impacted products
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2025-68226",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-15T22:00:27.130563Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-15T22:02:48.233Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/smb/client/cached_dir.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "abd29b6e17a918fdd68352ce4813e167acc8727e",
"status": "affected",
"version": "bdb596ceb4b7c3f28786a33840263728217fbcf5",
"versionType": "git"
}
]
},
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/smb/client/cached_dir.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "6.17.10",
"status": "affected",
"version": "6.17.8",
"versionType": "semver"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.17.10",
"versionStartIncluding": "6.17.8",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix incomplete backport in cfids_invalidation_worker()\n\nThe previous commit bdb596ceb4b7 (\"smb: client: fix potential UAF in\nsmb2_close_cached_fid()\") was an incomplete backport and missed one\nkref_put() call in cfids_invalidation_worker() that should have been\nconverted to close_cached_dir()."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 8.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - The vulnerable SMB client path is driven by a remote SMB peer: a malicious server can grant a cached directory lease and then force a session loss and reconnect that reaches the invalidation worker. This requires only network access to the established client connection.\nAC:L - The server controls the lease grant, connection failure or session-expired response, and reconnect timing, while the worker commonly holds the final lease reference. Triggering the lock and preemption imbalance therefore requires no uncontrollable race.\nPR:N - The remote SMB peer needs no privileges on the client and can accept guest or supplied credentials. Although mounting CIFS normally requires victim-side CAP_SYS_ADMIN, that is a deployment and user-interaction prerequisite rather than an attacker privilege.\nUI:R - A victim or administrator must mount or otherwise connect to the SMB share, which can create the cached root-directory handle. The remote peer can subsequently trigger the flaw without further interaction.\nS:U - The vulnerable cached-directory worker and resulting impacts reside within the same Linux kernel security authority. This does not inherently cross a VM, IOMMU, or other security boundary.\nC:H - The unpaired spin unlock can release cfid_list_lock while another CPU owns it, allowing concurrent cached-fid list and lifetime operations to cause use-after-free or heap corruption. Conservatively, that corruption can expose arbitrary kernel memory.\nI:H - Breaking cfid_list_lock serialization permits concurrent list-pointer and object-lifetime writes, potentially producing exploitable kernel heap corruption and control-flow modification. This supports arbitrary modification or kernel code execution.\nA:H - The flaw underflows the worker\u0027s preemption state when the final reference is dropped, producing workqueue atomic-state and scheduling failures. It can panic, hang, or otherwise destabilize the kernel and is repeatable by the remote SMB peer."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-05T12:10:18.178Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/abd29b6e17a918fdd68352ce4813e167acc8727e"
}
],
"title": "smb: client: fix incomplete backport in cfids_invalidation_worker()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2025-68226",
"datePublished": "2025-12-16T13:57:19.268Z",
"dateReserved": "2025-12-16T13:41:40.257Z",
"dateUpdated": "2026-10-15T22:02:48.233Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2025-68226\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-15T22:00:27.130563Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-15T22:00:28.235Z\"}}], \"cna\": {\"title\": \"smb: client: fix incomplete backport in cfids_invalidation_worker()\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 8.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:N - The vulnerable SMB client path is driven by a remote SMB peer: a malicious server can grant a cached directory lease and then force a session loss and reconnect that reaches the invalidation worker. This requires only network access to the established client connection.\\nAC:L - The server controls the lease grant, connection failure or session-expired response, and reconnect timing, while the worker commonly holds the final lease reference. Triggering the lock and preemption imbalance therefore requires no uncontrollable race.\\nPR:N - The remote SMB peer needs no privileges on the client and can accept guest or supplied credentials. Although mounting CIFS normally requires victim-side CAP_SYS_ADMIN, that is a deployment and user-interaction prerequisite rather than an attacker privilege.\\nUI:R - A victim or administrator must mount or otherwise connect to the SMB share, which can create the cached root-directory handle. The remote peer can subsequently trigger the flaw without further interaction.\\nS:U - The vulnerable cached-directory worker and resulting impacts reside within the same Linux kernel security authority. This does not inherently cross a VM, IOMMU, or other security boundary.\\nC:H - The unpaired spin unlock can release cfid_list_lock while another CPU owns it, allowing concurrent cached-fid list and lifetime operations to cause use-after-free or heap corruption. Conservatively, that corruption can expose arbitrary kernel memory.\\nI:H - Breaking cfid_list_lock serialization permits concurrent list-pointer and object-lifetime writes, potentially producing exploitable kernel heap corruption and control-flow modification. This supports arbitrary modification or kernel code execution.\\nA:H - The flaw underflows the worker\u0027s preemption state when the final reference is dropped, producing workqueue atomic-state and scheduling failures. It can panic, hang, or otherwise destabilize the kernel and is repeatable by the remote SMB peer.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"bdb596ceb4b7c3f28786a33840263728217fbcf5\", \"lessThan\": \"abd29b6e17a918fdd68352ce4813e167acc8727e\", \"versionType\": \"git\"}], \"programFiles\": [\"fs/smb/client/cached_dir.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.17.8\", \"lessThan\": \"6.17.10\", \"versionType\": \"semver\"}], \"programFiles\": [\"fs/smb/client/cached_dir.c\"], \"defaultStatus\": \"unaffected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/abd29b6e17a918fdd68352ce4813e167acc8727e\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nsmb: client: fix incomplete backport in cfids_invalidation_worker()\\n\\nThe previous commit bdb596ceb4b7 (\\\"smb: client: fix potential UAF in\\nsmb2_close_cached_fid()\\\") was an incomplete backport and missed one\\nkref_put() call in cfids_invalidation_worker() that should have been\\nconverted to close_cached_dir().\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.17.10\", \"versionStartIncluding\": \"6.17.8\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T12:10:18.178Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2025-68226\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-15T22:02:48.233Z\", \"dateReserved\": \"2025-12-16T13:41:40.257Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-12-16T13:57:19.268Z\", \"assignerShortName\": \"Linux\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…