CVE-2023-5178

Kernel: use after free in nvmet_tcp_free_crypto in nvme

HIGH
8.8
CVSS Score
Published: November 1, 2023 at 04:32 PM UTC
Updated: October 14, 2026 at 10:17 PM UTC
5 products affected across 3 vendorsLinux KernelEnterprise LinuxActive IQ Unified Manager

Using Red Hat Enterprise Linux 8 by Red Hat?

Get instant alerts when new vulnerabilities affect Red Hat Enterprise Linux 8 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 10%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

All versions5.0 ≤ v < 5.4.2605.11 ≤ v < 5.15.1375.16 ≤ v < 6.1.605.5 ≤ v < 5.10.1996.2 ≤ v < 6.5.9
Affected range stops below 5.10.199, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.15.137, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.4.260, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.1.60, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.5.9, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 0:4.18.0-193.128.1.el8_2 (unaffected)
Vendor states this is fixed in 0:4.18.0-193.128.1.rt13.179.el8_2 (unaffected)
Vendor states this is fixed in 0:4.18.0-305.114.1.el8_4 (unaffected)
Vendor states this is fixed in 0:4.18.0-305.114.1.rt7.190.el8_4 (unaffected)
Vendor states this is fixed in 0:4.18.0-372.87.1.el8_6 (unaffected)
Vendor states this is fixed in 0:4.18.0-477.43.1.el8_8 (unaffected)
Vendor states this is fixed in 0:4.18.0-513.9.1.el8_9 (unaffected)
Vendor states this is fixed in 0:4.18.0-513.9.1.rt7.311.el8_9 (unaffected)
Vendor states this is fixed in 0:5.14.0-284.40.1.el9_2 (unaffected)
Vendor states this is fixed in 0:5.14.0-284.40.1.rt14.325.el9_2 (unaffected)
Vendor states this is fixed in 0:5.14.0-362.18.1.el9_3 (unaffected)
Vendor states this is fixed in 0:5.14.0-70.85.1.el9_0 (unaffected)
Vendor states this is fixed in 0:5.14.0-70.85.1.rt21.156.el9_0 (unaffected)
Vendor states this is fixed in 6 (unaffected)
Vendor states this is fixed in 7 (unaffected)
Vendor states this is fixed in 8 (unaffected)

References (28)

Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2023:7370
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2023:7379
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2023:7418
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2023:7548
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2023:7549
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2023:7551
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2023:7554
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2023:7557

CVSS

8.8HIGHredhat
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416CWE-1341

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card