# CVE-2024-35867: smb: client: fix potential UAF in cifs_stats_proc_show()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2024-05-19T08:34:25.911Z
- Modified: 2026-08-05T11:30:30.460Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7f48558e6489d032b1584b0cc9ac4bb11072c034 before 838ec01ea8d3deb5d123e8ed9022e8162dc3f503; from 7f48558e6489d032b1584b0cc9ac4bb11072c034 before bb6570085826291dc392005f9fec16ea5da3c8ad; from 7f48558e6489d032b1584b0cc9ac4bb11072c034 before 16b7d785775eb03929766819415055e367398f49; from 7f48558e6489d032b1584b0cc9ac4bb11072c034 before c3cf8b74c57924c0985e49a1fdf02d3395111f39; from 7f48558e6489d032b1584b0cc9ac4bb11072c034 before 1e12f0d5c66f07c934041621351973a116fa13c7; from 7f48558e6489d032b1584b0cc9ac4bb11072c034 before 0865ffefea197b437ba78b5dd8d8e256253efd65; a67172a013953664b1dad03c648200c70b90506c; from 3.12.48 before 3.13; 3.13 (not affected: before 3.13; from 5.10.237 up to 5.10.*; from 5.15.181 up to 5.15.*; from 6.1.85 up to 6.1.*; from 6.6.26 up to 6.6.*; from 6.8.5 up to 6.8.*; from 6.9 up to *)
- debian debian_linux: 11.0
- linux linux_kernel: from 4.20 before 5.10.237; from 5.11 before 5.15.181; from 5.16 before 6.1.85; from 6.2 before 6.6.26; from 6.7 before 6.8.5; 6.9

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/838ec01ea8d3deb5d123e8ed9022e8162dc3f503> (patch)
- <https://git.kernel.org/stable/c/bb6570085826291dc392005f9fec16ea5da3c8ad> (patch)
- <https://git.kernel.org/stable/c/16b7d785775eb03929766819415055e367398f49> (patch)
- <https://git.kernel.org/stable/c/c3cf8b74c57924c0985e49a1fdf02d3395111f39> (patch)
- <https://git.kernel.org/stable/c/1e12f0d5c66f07c934041621351973a116fa13c7> (patch)
- <https://git.kernel.org/stable/c/0865ffefea197b437ba78b5dd8d8e256253efd65> (patch)
- <http://www.openwall.com/lists/oss-security/2024/05/30/2> (mailing-list)
- <http://www.openwall.com/lists/oss-security/2024/05/30/1> (mailing-list)
- <http://www.openwall.com/lists/oss-security/2024/05/29/2> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2024-35867](https://www.cve.org/CVERecord?id=CVE-2024-35867), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-35867](https://nvd.nist.gov/vuln/detail/CVE-2024-35867), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-35867 · Whole record: https://cve.day/CVE-2024-35867.json · Rebuilt by cve.day 2026-11-25T22:58:40.573Z
