CVE-2023-5178
Kernel: use after free in nvmet_tcp_free_crypto in nvme
Reported by redhat · Published November 1, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | Siemens | 1.1 |
| linux_kernel | linux | 6.5.9, 6.1.60, 5.15.137, 5.10.199, 5.4.260 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | 0:4.18.0-513.9.1.rt7.311.el8_9 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:4.18.0-513.9.1.el8_9 |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 0:4.18.0-193.128.1.el8_2 |
| Red Hat | Red Hat Enterprise Linux 8.2 Telecommunications Update Service | 0:4.18.0-193.128.1.rt13.179.el8_2 |
| Red Hat | Red Hat Enterprise Linux 8.2 Telecommunications Update Service | 0:4.18.0-193.128.1.el8_2 |
| Red Hat | Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | 0:4.18.0-193.128.1.el8_2 |
| Red Hat | Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 0:4.18.0-305.114.1.el8_4 |
| Red Hat | Red Hat Enterprise Linux 8.4 Telecommunications Update Service | 0:4.18.0-305.114.1.rt7.190.el8_4 |
| Red Hat | Red Hat Enterprise Linux 8.4 Telecommunications Update Service | 0:4.18.0-305.114.1.el8_4 |
| Red Hat | Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | 0:4.18.0-305.114.1.el8_4 |
| Red Hat | Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | 0:4.18.0-372.87.1.el8_6 |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 0:4.18.0-477.43.1.el8_8 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:5.14.0-362.18.1.el9_3 |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux 9 | 0:5.14.0-362.18.1.el9_3 |
…and 45 more
Timeline
- Oct 4, 2023 CVE Published
- Nov 2, 2023 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (12 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (48 in total, the first dated here)
- Mar 30, 2026 Security Advisory (49 in total, the first dated here)
- Nov 7, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-5178
vulnetix vdb fixes CVE-2023-5178
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-5178/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2023:7370 vendor-advisoryx_refsource_REDHAT
- RHSA-2023:7379 vendor-advisoryx_refsource_REDHAT
- RHSA-2023:7418 vendor-advisoryx_refsource_REDHAT
- RHSA-2023:7548 vendor-advisoryx_refsource_REDHAT
- RHSA-2023:7549 vendor-advisoryx_refsource_REDHAT
- RHSA-2023:7551 vendor-advisoryx_refsource_REDHAT
- RHSA-2023:7554 vendor-advisoryx_refsource_REDHAT
- RHSA-2023:7557 vendor-advisoryx_refsource_REDHAT
- RHSA-2023:7559 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0340 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0378 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0386 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0412 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0431 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0432 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0461 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0554 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0575 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:1268 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:1269 vendor-advisoryx_refsource_REDHAT
…and 9 more