CVE-2023-5178: Kernel: use after free in nvmet_tcp_free_crypto in nvme
Vulnerability summary
CVE-2023-5178 is a high (CVSS 8.8) Use After Free vulnerability in linux linux_kernel. EPSS estimates a 9.62% chance of exploitation in the next 30 days, higher than 95.4% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 52 · Related 30Timeline
- 01-11-2023PublishedVulnerability first disclosed.
- 14-10-2026Last modifiedVulnerability information updated.
Description
A use-after-free vulnerability was found in drivers/nvme/target/tcp.c` in `nvmet_tcp_free_crypto` due to a logical bug in the NVMe/TCP subsystem in the Linux kernel. This issue may allow a malicious user to cause a use-after-free and double-free problem, which may permit remote code execution or lead to local privilege escalation.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · Red hatEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
9.62%
Chance of exploitation in the next 30 days
Percentile
95%
Versus all other CVEs
30-day change
Increase +0.48 pp
From 9.14% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu106 products
- linux< 5.4.0-169.187 | < 5.15.0-91.101
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.4.0-1116.126 | < 5.15.0-1051.56
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Redhat13 products
- enterprise_linux8.0 | 9.0
- kpatch-patch-4_18_0-305_103_1< 0:1-2.el8_4
- kpatch-patch-4_18_0-305_103_1-debuginfo< 0:1-2.el8_4
- kpatch-patch-4_18_0-305_103_1-debugsource< 0:1-2.el8_4
- kpatch-patch-4_18_0-305_108_1< 0:1-1.el8_4
Netapp3 products
Debian1 product
- linux< 6.1.64-1 | < 6.5.8-1
Linux1 product
- linux_kernel≥ 5.0, < 5.4.260 | ≥ 5.5, < 5.10.199 | ≥ 5.11, < 5.15.137 | ≥ 5.16, < 6.1.60 | ≥ 6.2, < 6.5.9
5 vendors · 124 products
References
54 links- access.redhat.com/errata/RHSA-2023:7559Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
Show all 54 references
- bugzilla.redhat.com/show_bug.cgi?id=2241924Issue TrackingX Refsource REDHATREPORTThird Party Advisory
- lore.kernel.org/linux-nvme/20231002105428.226515-1-sagi@grimberg.me/ARTICLEREPORTMailing ListPatchVendor Advisory
- security.netapp.com/advisory/ntap-20231208-0004/X Transferred