CVE-2024-35867
smb: client: fix potential UAF in cifs_stats_proc_show()
Mitigation
- Upgrade Linux to 3.13 or later.
Who should check
- Anyone running Linux >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 838ec01ea8d3deb5d123e8ed9022e8162dc3f503; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < bb6570085826291dc392005f9fec16ea5da3c8ad; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 16b7d785775eb03929766819415055e367398f49; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < c3cf8b74c57924c0985e49a1fdf02d3395111f39; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 1e12f0d5c66f07c934041621351973a116fa13c7; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 0865ffefea197b437ba78b5dd8d8e256253efd65; a67172a013953664b1dad03c648200c70b90506c; >= 3.12.48, < 3.13
- Anyone running Linux 3.13
Vulnerability facts
- Affected
- Linux >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 838ec01ea8d3deb5d123e8ed9022e8162dc3f503; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < bb6570085826291dc392005f9fec16ea5da3c8ad; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 16b7d785775eb03929766819415055e367398f49; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < c3cf8b74c57924c0985e49a1fdf02d3395111f39; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 1e12f0d5c66f07c934041621351973a116fa13c7; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 0865ffefea197b437ba78b5dd8d8e256253efd65; a67172a013953664b1dad03c648200c70b90506c; >= 3.12.48, < 3.13; Linux 3.13
- Fixed in
- Linux 838ec01ea8d3deb5d123e8ed9022e8162dc3f503, Linux 16b7d785775eb03929766819415055e367398f49, Linux 1e12f0d5c66f07c934041621351973a116fa13c7, Linux 0865ffefea197b437ba78b5dd8d8e256253efd65, Linux 3.13
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.35% chance of exploitation in 30 days (percentile 21, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF in cifs_stats_proc_show() Skip sessions that are being teared down (status == SES_EXITING) to avoid UAF.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 838ec01ea8d3deb5d123e8ed9022e8162dc3f503; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < bb6570085826291dc392005f9fec16ea5da3c8ad; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 16b7d785775eb03929766819415055e367398f49; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < c3cf8b74c57924c0985e49a1fdf02d3395111f39; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 1e12f0d5c66f07c934041621351973a116fa13c7; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 0865ffefea197b437ba78b5dd8d8e256253efd65; a67172a013953664b1dad03c648200c70b90506c; >= 3.12.48, < 3.13 | — | cvelist |
| Linux | 3.13 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-35867. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-35867.md Affected: Linux >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 838ec01ea8d3deb5d123e8ed9022e8162dc3f503; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < bb6570085826291dc392005f9fec16ea5da3c8ad; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 16b7d785775eb03929766819415055e367398f49; >= 7f48558e6489d032b1584b0… Fixed in: Linux 838ec01ea8d3deb5d123e8ed9022e8162dc3f503, Linux 16b7d785775eb03929766819415055e367398f49, Linux 1e12f0d5c66f07c934041621351973a116fa13c7, Linux 0865ffefea197b437ba78b5dd8d8e256253efd65, Linux 3.13 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/838ec01ea8d3deb5d123e8ed9022e8162dc3f503
- https://git.kernel.org/stable/c/bb6570085826291dc392005f9fec16ea5da3c8ad
- https://git.kernel.org/stable/c/16b7d785775eb03929766819415055e367398f49
- https://git.kernel.org/stable/c/c3cf8b74c57924c0985e49a1fdf02d3395111f39
- https://git.kernel.org/stable/c/1e12f0d5c66f07c934041621351973a116fa13c7
- https://git.kernel.org/stable/c/0865ffefea197b437ba78b5dd8d8e256253efd65
FAQ
Is CVE-2024-35867 being exploited?
There is no confirmed exploitation: CVE-2024-35867 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-35867?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-35867?
Linux >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 838ec01ea8d3deb5d123e8ed9022e8162dc3f503; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < bb6570085826291dc392005f9fec16ea5da3c8ad; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 16b7d785775eb03929766819415055e367398f49; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < c3cf8b74c57924c0985e49a1fdf02d3395111f39; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 1e12f0d5c66f07c934041621351973a116fa13c7; >= 7f48558e6489d032b1584b0cc9ac4bb11072c034, < 0865ffefea197b437ba78b5dd8d8e256253efd65; a67172a013953664b1dad03c648200c70b90506c; >= 3.12.48, < 3.13; Linux 3.13.
Is there a fix for CVE-2024-35867?
Yes. Fixed in Linux 838ec01ea8d3deb5d123e8ed9022e8162dc3f503, Linux 16b7d785775eb03929766819415055e367398f49, Linux 1e12f0d5c66f07c934041621351973a116fa13c7, Linux 0865ffefea197b437ba78b5dd8d8e256253efd65, Linux 3.13. Upgrade Linux to 3.13 or later.
How do I check if I'm affected by CVE-2024-35867?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.