# CVE-2023-5345: Use-after-free in Linux kernel's fs/smb/client component

- Severity: High 7.8 (CVSS:3.1, scored by Google) `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.48%, higher than 43% of CVEs (2026-12-02)
- Published: 2023-10-03T02:33:06.684Z
- Modified: 2026-06-17T06:48:23.373Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Google

## Description

A use-after-free vulnerability in the Linux kernel's fs/smb/client component can be exploited to achieve local privilege escalation.

In case of an error in smb3_fs_context_parse_param, ctx->password was freed but the field was not set to NULL which could lead to double free.

We recommend upgrading past commit e6e43b8aa7cd3c3af686caf0c2e11819a886d705.

(As written by CVE List.)

## Affected

- kernel: from 0.0 before 6.6
- linux linux_kernel: from 6.0.16 before 6.1.56; from 6.2 before 6.5.6; 6.6
- fedoraproject fedora: 37; 38; 39

## Every score

- Google: 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/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e6e43b8aa7cd3c3af686caf0c2e11819a886d705> (mailing-list, patch)
- <https://kernel.dance/e6e43b8aa7cd3c3af686caf0c2e11819a886d705> (mailing-list, patch)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V5PDNWPKAP3WL5RQZ4RIDS6MG32OHH5R/> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GISYSL3F6WIEVGHJGLC2MFNTUXHPTKQH/> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GPMICQ2HVZO5UAM5KPXHAZKA2U3ZDOO6/> (mailing-list)
- <http://packetstormsecurity.com/files/177029/Kernel-Live-Patch-Security-Notice-LSN-0100-1.html> (third-party-advisory, vdb-entry)

## Sources

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

---

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