CVE-2023-5345

Use-after-free in Linux kernel's fs/smb/client component

Published Oct 3, 2023 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-57662 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.
Ubuntu USN Ubuntu USN USN-6461-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-6502-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6502-2 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-6502-3 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-6502-4 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6503-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6520-1 Linux kernel (StarFive) vulnerabilities
Ubuntu USN Ubuntu USN USN-6537-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-6572-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-6607-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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. 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.
Weaknesses

Sources

Status
PUBLISHED
Assigner
Google
Published
Updated
Feb 27, 2025, 8:48 PM
Reserved
Oct 2, 2023, 11:43 PM
Status
Analyzed
Published
Oct 3, 2023, 3:15 AM
Modified
Jun 17, 2026, 6:48 AM
Severity
Important
Public date
Oct 2, 2023, 12:00 AM