CVE-2023-5345
Use-after-free in Linux kernel's fs/smb/client component
Reported by google · Published October 3, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools-devel | Amazon Linux | 6.1.56-82.125.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.56-82.125.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.56-82.125.amzn2023 |
| perf | Amazon Linux | 6.1.56-82.125.amzn2023 |
| kernel-livepatch-6.1.56-82.125 | Amazon Linux | 1.0-0.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.56-82.125.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.56-82.125.amzn2023 |
| kernel | Amazon Linux | 6.1.56-82.125.amzn2023 |
| python3-perf | Amazon Linux | 6.1.56-82.125.amzn2023 |
| bpftool | Amazon Linux | 6.1.56-82.125.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.56-82.125.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.56-82.125.amzn2023 |
3 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Kernel | 0.0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-livepatch-6.1.56-82.125 | 0 |
| Linux | Kernel | 0.0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-devel | 0 |
Timeline
- Oct 3, 2023 EPSS Score (30 in total, the first dated here)
- Oct 3, 2023 CVE Published
- Oct 5, 2024 Coalition ESS Score (6 in total, the first dated here)
- Feb 27, 2025 CVE Updated
- Mar 21, 2026 Distribution Patch (49 in total, the first dated here)
- Mar 21, 2026 Security Advisory (52 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-5345
vulnetix vdb fixes CVE-2023-5345
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-5345/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart