# CVE-2024-35866: smb: client: fix potential UAF in cifs_dump_full_key()

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `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.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-05-19T08:34:24.877Z
- Modified: 2026-06-17T07:35:35.483Z
- 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_dump_full_key()

Skip sessions that are being teared down (status == SES_EXITING) to
avoid UAF.

(As written by CVE List.)

## Affected

- Linux Linux: from 1bb56810677f26b78d57a3038054943efd334a1c before d798fd98e3563027c5162259ead517057d6fa794; from 1bb56810677f26b78d57a3038054943efd334a1c before f4a60d360d9114b5085701a3702a0102b0d6d846; from 1bb56810677f26b78d57a3038054943efd334a1c before 10e17ca4000ec34737bde002a13435c38ace2682; from 1bb56810677f26b78d57a3038054943efd334a1c before 3103163ccd3be4adcfa37e15608fb497be044113; from 1bb56810677f26b78d57a3038054943efd334a1c before 58acd1f497162e7d282077f816faa519487be045; 5.13 (not affected: before 5.13; from 5.15.181 up to 5.15.*; from 6.1.132 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 5.13 before 5.15.181; from 5.16 before 6.1.132; from 6.2 before 6.6.26; from 6.7 before 6.8.5; 6.9

## References

- <https://git.kernel.org/stable/c/d798fd98e3563027c5162259ead517057d6fa794> (patch)
- <https://git.kernel.org/stable/c/f4a60d360d9114b5085701a3702a0102b0d6d846> (patch)
- <https://git.kernel.org/stable/c/10e17ca4000ec34737bde002a13435c38ace2682> (patch)
- <https://git.kernel.org/stable/c/3103163ccd3be4adcfa37e15608fb497be044113> (patch)
- <https://git.kernel.org/stable/c/58acd1f497162e7d282077f816faa519487be045> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html> (mailing-list, third-party-advisory)

## Sources

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

---

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