# CVE-2023-53008: cifs: fix potential memory leaks in session setup

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.17%, higher than 7% of CVEs (2026-12-02)
- Published: 2025-03-27T16:43:38.718Z
- Modified: 2026-06-17T06:44:06.447Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

cifs: fix potential memory leaks in session setup

Make sure to free cifs_ses::auth_key.response before allocating it as
we might end up leaking memory in reconnect or mounting.

(As written by CVE List.)

## Affected

- Linux Linux: from d3686d54c7902a303bd65d751226aa1647319863 before 893d45394dbe4b5cbf3723c19e2ccc8b93a6ac9b; from d3686d54c7902a303bd65d751226aa1647319863 before 2fe58d977ee05da5bb89ef5dc4f5bf2dc15db46f; 2.6.37 (not affected: before 2.6.37; from 6.1.9 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: before 6.1.9; 6.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/893d45394dbe4b5cbf3723c19e2ccc8b93a6ac9b> (patch)
- <https://git.kernel.org/stable/c/2fe58d977ee05da5bb89ef5dc4f5bf2dc15db46f> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2023-53008 · Whole record: https://cve.day/CVE-2023-53008.json · Rebuilt by cve.day 2026-11-25T22:58:34.599Z
