Use-after-free in Linux kernel's fs/smb/client component
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Kernel | 0.0 to before 6.6 | 6.6 | Patch available | CNA |
- Kernel VendorLinux Affected 0.0 to before 6.6 Fixed in 6.6 Patch available CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.0.16 to before 6.1.56; 6.2 to before 6.5.6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:* | 6.6 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:* | 6.6 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.6:rc3:*:*:*:*:*:* | 6.6 rc3 | Vulnerable | Linux |
| cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* | 37 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* | 38 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* | 39 | Vulnerable | Fedoraproject |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 6.0.16 to before 6.1.56; 6.2 to before 6.5.6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:* Versions 6.6 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:* Versions 6.6 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.6:rc3:*:*:*:*:*:* Versions 6.6 rc3 Vulnerable ·Linux
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Versions 38 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* Versions 39 Vulnerable ·Fedoraproject
Remediation
- Fix · CNA Kernel (Linux) Fixed in 6.6
Red Hat 2 advisories
- RHSA-2023:7749 Released 2023-12-12 · Red Hat rating Importantkernel security update
- Red Hat CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-362.13.1.el9_3, libperf-5.14.0-362.13.1.el9_3
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-362.13.1.el9_3, kernel-64k-debug-devel-matched-5.14.0-362.13.1.el9_3, kernel-64k-devel-5.14.0-362.13.1.el9_3 +11
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.2.0-362.13.1.el9_3, kernel-5.14.0-362.13.1.el9_3, kernel-64k-5.14.0-362.13.1.el9_3 +29
- Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-362.13.1.el9_3, kernel-rt-core-5.14.0-362.13.1.el9_3, kernel-rt-debug-5.14.0-362.13.1.el9_3 +9
- Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-362.13.1.el9_3, kernel-rt-core-5.14.0-362.13.1.el9_3, kernel-rt-debug-5.14.0-362.13.1.el9_3 +11
- RHSA-2023:7734 Released 2023-12-12 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS (v. 9) kpatch-patch-5_14_0-362_8_1-1-1.el9_3
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2023:7749 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:7749 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2023:7734, RHSA-2023:7749 |
| Red Hat Enterprise Linux Real Time (v. 9) | Fixed | RHSA-2023:7749 |
| Red Hat Enterprise Linux Real Time for NFV (v. 9) | Fixed | RHSA-2023:7749 |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2023-5345
- 2026-10-03 Alias added: GHSA-g488-m495-9mgj
- 2026-10-26 Affected versions changed · Red Hat
References
Patch 2
Advisory 1
Other 3
- https://lists.fedoraproject.org/archives/list/[email protected]/message/V5PDNWPKAP3WL5RQZ4RIDS6MG32OHH5R/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/GISYSL3F6WIEVGHJGLC2MFNTUXHPTKQH/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/GPMICQ2HVZO5UAM5KPXHAZKA2U3ZDOO6/
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2023-5345 · CVE Program
- CVE-2023-5345 · NVD
- FIRST EPSS
- GHSA-g488-m495-9mgj · GitHub Advisory Database · CC BY 4.0
- CVE-2023-5345 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences