CVE-2023-5178
Last modified
CVE-2023-5178 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 9.14% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.0, < 5.4.260 |
| Linux | Linux Kernel | >= 5.5, < 5.10.199 |
| Linux | Linux Kernel | >= 5.11, < 5.15.137 |
| Linux | Linux Kernel | >= 5.16, < 6.1.60 |
| Linux | Linux Kernel | >= 6.2, < 6.5.9 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux | 9.0 |
| Netapp | Active Iq Unified Manager | All versions |
| Netapp | Solidfire \& Hci Management Node | All versions |
| Netapp | Solidfire \& Hci Storage Node | All versions |
References
- https://access.redhat.com/errata/RHSA-2023:7370Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7379Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7418Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7548Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7549Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7551Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7554Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7557Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7559Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0340Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0378Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0386Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0412Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0431Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0432Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0461Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0554Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0575Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:1268Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:1269Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:1278Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2023-5178Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2241924Issue Tracking, Third Party Advisory
- https://lore.kernel.org/linux-nvme/20231002105428.226515-1-sagi@grimberg.me/Mailing List, Patch, Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7370Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7379Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7418Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7548Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7549Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7551Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7554Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7557Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7559Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0340Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0378Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0386Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0412Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0431Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0432Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0461Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0554Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0575Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:1268Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:1269Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:1278Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2023-5178Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2241924Issue Tracking, Third Party Advisory
- https://lore.kernel.org/linux-nvme/20231002105428.226515-1-sagi@grimberg.me/Mailing List, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-5178?
How severe is CVE-2023-5178?
How do I fix CVE-2023-5178?
Are you affected by CVE-2023-5178?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
