UnratedFix available
smb: client: fix potential UAF in cifs_stats_proc_write()
Type: advisorySources: OSV
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF in cifs_stats_proc_write() Skip sessions that are being teared down (status == SES_EXITING) to avoid UAF.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.85, 6.6.26, 6.8.5
- CVEs
- CVE-2024-35868
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 04:37 UTC · Revision 1
Source evidence
smb: client: fix potential UAF in cifs_stats_proc_write()
core-osv · Original sourcePublished 19 May 2024, 08:34 UTC
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF in cifs_stats_proc_write() Skip sessions that are being teared down (status == SES_EXITING) to avoid UAF.
osv:CVE-2024-35868
Kernel
Fixed versions: 6.1.85, 6.6.26, 6.8.5
Complete source record
{
"id": "7f38bea714b7bd367c53ce4205f76317052dea2c5f6d251ded70a1db094dce11",
"url": "https://osv.dev/vulnerability/CVE-2024-35868",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "smb: client: fix potential UAF in cifs_stats_proc_write()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF in cifs_stats_proc_write() Skip sessions that are being teared down (status == SES_EXITING) to avoid UAF.",
"evidence": "osv:CVE-2024-35868",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.85",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.26",
"evidence": "/affected/1/ranges"
},
{
"value": "6.8.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2024-35868",
"aliases": [
"CVE-2024-35868"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "7f48558e6489d032b1584b0cc9ac4bb11072c034"
},
{
"fixed": "8fefd166fcb368c5fcf48238e3f7c8af829e0a72"
},
{
"fixed": "cf03020c56d3ed28c4942280957a007b5e9544f7"
},
{
"fixed": "5b5475ce69f02ecc1b13ea23106e5b89c690429b"
},
{
"fixed": "d3da25c5ac84430f89875ca7485a3828150a7e0a"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "3.12.48"
},
{
"fixed": "3.13"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "a67172a013953664b1dad03c648200c70b90506c"
}
]
}
],
"versions": [
"v3.12.74",
"v3.12.73",
"v3.12.72",
"v3.12.71",
"v3.12.70",
"v3.12.69",
"v3.12.68",
"v3.12.67",
"v3.12.66",
"v3.12.65",
"v3.12.64",
"v3.12.63",
"v3.12.62",
"v3.12.61",
"v3.12.60",
"v3.12.59",
"v3.12.58",
"v3.12.57",
"v3.12.56",
"v3.12.55",
"v3.12.54",
"v3.12.53",
"v3.12.52",
"v3.12.51",
"v3.12.50",
"v3.12.49",
"v3.12.48"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35868.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.13.0"
},
{
"fixed": "6.1.85"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.26"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.8.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35868.json"
}
}
],
"modified": "2026-10-28T02:30:49.786594716Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/5b5475ce69f02ecc1b13ea23106e5b89c690429b",
"https://git.kernel.org/stable/c/8fefd166fcb368c5fcf48238e3f7c8af829e0a72",
"https://git.kernel.org/stable/c/cf03020c56d3ed28c4942280957a007b5e9544f7",
"https://git.kernel.org/stable/c/d3da25c5ac84430f89875ca7485a3828150a7e0a",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35868.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-35868",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35868.json"
}
},
"related_cves": [
{
"value": "CVE-2024-35868",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 518191,
"published_at": "2024-05-19T08:34:26.806+00:00"
}