CVE-2023-5178

published 1 Nov 2023 · updated 7 Nov 2026

Kernel: use after free in nvmet_tcp_free_crypto in nvme

8.8HighCVSS 8.8EPSS 10%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 10%. Fixed in Kernel 5.15.137, Kernel 6.1.60, Kernel 5.10.199 and 2 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.11 <5.15.137, >=5.16 <6.1.60, >=5.5 <5.10.199, >=6.2 <6.5.9, >=5.0 <5.4.2605.15.137, 6.1.60, 5.10.199, 6.5.9, 5.4.260
Red HatEnterprise Linux
Red HatVirtualization
netappsolidfire_\&_hci_storage_node
netappsolidfire_\&_hci_management_node
netappactive_iq_unified_manager
redhatenterprise_linux=9.0, =8.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-5178 severity on Zeptric[![CVE-2023-5178](https://zeptric.io/badge/cve/CVE-2023-5178.svg)](https://zeptric.io/cve/CVE-2023-5178)