Cyber Resilience

CVE-2023-5345

Memory Safety in Linux Kernel 6.0.16 – 6.1.56

Public PoCMemory Safety
Published
03 October 2023
Modified
20 March 2025
Patch / advisory
CVSS Score v3.1 7.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0047 38th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2023-5345 is a high-severity Use After Free (CWE-416) vulnerability in Linux Linux Kernel. Its CVSS base score is 7.8 (High).

Operationally, ranked at the 38th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

EU & UK References

Vulnerability Data

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…

more

free. We recommend upgrading past commit e6e43b8aa7cd3c3af686caf0c2e11819a886d705.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-4134Same product: Fedoraproject Fedora
CVE-2024-1312Same product: Fedoraproject Fedora
CVE-2023-1611Same product: Fedoraproject Fedora
CVE-2023-1194Same product: Fedoraproject Fedora
CVE-2024-27398Same product: Fedoraproject Fedora
CVE-2023-6270Same product: Fedoraproject Fedora
CVE-2023-4133Same product: Fedoraproject Fedora
CVE-2023-39198Same product: Fedoraproject Fedora
CVE-2023-3269Same product: Fedoraproject Fedora
CVE-2024-56554Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
6.6 · 6.0.16 — 6.1.56 · 6.2 — 6.5.6
fedoraproject
fedora
37, 38, 39

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 3 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V1.4.3

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-416

Use-after-free exploits that achieve arbitrary code execution are blocked or significantly hardened by non-executable pages and ASLR.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly incorporate memory-safety tooling and reviews that prevent most use-after-free defects.

ID.RA-01 partial match
prevents

Vulnerability identification processes can discover use-after-free issues via scanning or analysis but do not prevent their introduction.

PR.PS-02 partial match
prevents

Routine patching removes known use-after-free instances after they have been introduced in released software.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing in development can detect use-after-free bugs before release.

prevents

Secure SDLC mandates memory-safety practices that reduce use-after-free defects.

prevents

Application security requirements can specify memory-management rules that mitigate use-after-free.

prevents

Secure architecture principles include memory-safety design choices that limit use-after-free exposure.

prevents

Secure coding standards directly prescribe avoidance of use-after-free patterns.

prevents

Change-management processes help ensure memory-safety fixes are deployed consistently.

References