# CVE-2024-35861: smb: client: fix potential UAF in cifs_signal_cifsd_for_reconnect()

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/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.66%, higher than 52% of CVEs (2026-12-01)
- Published: 2024-05-19T08:34:20.364Z
- Modified: 2026-08-05T11:30:25.104Z
- 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_signal_cifsd_for_reconnect()

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

(As written by CVE List.)

## Affected

- Linux Linux: from dca65818c80cf06e0f08ba2cf94060a5236e73c2 before 7e8360ac8774e19b0b25f44fff84a105bb2417e4; from dca65818c80cf06e0f08ba2cf94060a5236e73c2 before 2cfff21732132e363b4cc275d63ea98f1af726c1; from dca65818c80cf06e0f08ba2cf94060a5236e73c2 before f9a96a7ad1e8d25dc6662bc7552e0752de74a20d; from dca65818c80cf06e0f08ba2cf94060a5236e73c2 before e0e50401cc3921c9eaf1b0e667db174519ea939f; dd9ccff8c8980bf9ea7f25e83eeb28154f902920; from 5.17.2 before 5.18; 5.18 (not affected: before 5.18; 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 *)
- linux linux_kernel: from 5.17.2 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 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/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/7e8360ac8774e19b0b25f44fff84a105bb2417e4> (patch)
- <https://git.kernel.org/stable/c/2cfff21732132e363b4cc275d63ea98f1af726c1> (patch)
- <https://git.kernel.org/stable/c/f9a96a7ad1e8d25dc6662bc7552e0752de74a20d> (patch)
- <https://git.kernel.org/stable/c/e0e50401cc3921c9eaf1b0e667db174519ea939f> (patch)

## Sources

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

---

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