{"answers":{"affected":"It affects 5 products.","exploited":"There is no known exploitation of CVE-2023-5178 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-5178 is a high-severity use after free vulnerability in Linux kernel, published on 1 Nov 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-5178 and fix it if it is affected.\n\nWhat it is: CVE-2023-5178 is a high-severity use after free vulnerability in Linux kernel, published on 1 Nov 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-5178 in the wild and no public exploit code.\n\nAffected product: Linux kernel. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-5178/ (Markdown: https://insights.sbomify.com/CVE-2023-5178/index.md)","id":"CVE-2023-5178","markdown":"https://insights.sbomify.com/CVE-2023-5178/index.md","name":"CVE-2023-5178","record":{"aliases":["AZL-31777","AZL-31852","BELL-CVE-2023-5178","DEBIAN-CVE-2023-5178","GHSA-xr9j-c7v6-7542","RHSA-2023:7559","UBUNTU-CVE-2023-5178"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Linux kernel NVMe/TCP","requires_auth":"low_privilege","summary":"A use-after-free bug in the Linux kernel NVMe/TCP subsystem allows attackers to achieve remote code execution or local privilege escalation.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"linux_kernel","vendor":"linux"},{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"solidfire_\\\u0026_hci_management_node","vendor":"netapp"},{"product":"solidfire_\\\u0026_hci_storage_node","vendor":"netapp"},{"product":"enterprise_linux","vendor":"redhat"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"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.","ecosystems":["Red Hat:rhel_e4s:8.4::baseos"],"exploits":{"exploitdb":0,"first_seen":"2024-02-05","github_poc":1,"max_poc_stars":7,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-02-05T15:58:24Z","kind":"github_poc","ref":"https://github.com/rockrid3r/CVE-2023-5178","stars":7,"title":"Exploit for CVE-2023-5178"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Kernel: use after free in nvmet_tcp_free_crypto in nvme","id":"CVE-2023-5178","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"linux:linux_kernel","products":["linux:linux_kernel","netapp:active_iq_unified_manager","netapp:solidfire_\\\u0026_hci_management_node","redhat:enterprise_linux"],"type":"use_after_free","year":"2023"},"n_packages":12,"n_references":24,"next":{"headline":"Memory corruption in ODA Drawings SDK - All Versions \u003c 2024.10","id":"CVE-2023-5179"},"packages":[{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:1-2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-305_103_1","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-305_103_1","source":"RHSA-2023:7559"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:1-2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-305_103_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-305_103_1-debuginfo","source":"RHSA-2023:7559"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:1-2.el8_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-305_103_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-305_103_1-debugsource","source":"RHSA-2023:7559"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:1-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-305_108_1","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-305_108_1","source":"RHSA-2023:7559"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:1-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-305_108_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-305_108_1-debuginfo","source":"RHSA-2023:7559"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:1-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-305_108_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-305_108_1-debugsource","source":"RHSA-2023:7559"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:1-4.el8_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-305_91_1","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-305_91_1","source":"RHSA-2023:7559"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:1-4.el8_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-305_91_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-305_91_1-debuginfo","source":"RHSA-2023:7559"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:1-4.el8_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-305_91_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-305_91_1-debugsource","source":"RHSA-2023:7559"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:1-3.el8_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-305_97_1","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-305_97_1","source":"RHSA-2023:7559"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:1-3.el8_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-305_97_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-305_97_1-debuginfo","source":"RHSA-2023:7559"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:1-3.el8_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-305_97_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-305_97_1-debugsource","source":"RHSA-2023:7559"}],"prev":{"headline":"Vrm 360 3D Model Viewer \u003c= 1.2.1 - Full Path Disclosure","id":"CVE-2023-5177"},"products":["Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 8.2 Advanced Update Support","Red Hat Enterprise Linux 8.2 Telecommunications Update Service","Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions","Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.4 Telecommunications Update Service","Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions","Red Hat Enterprise Linux 8.6 Extended Update Support","Red Hat Enterprise Linux 8.8 Extended Update Support","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.0 Extended Update Support","Red Hat Enterprise Linux 9.2 Extended Update Support","Red Hat Virtualization 4 for Red Hat Enterprise Linux 8"],"published":"2023-11-01","related":[{"cvss_score":8.8,"headline":"Linux Kernel Out-of-Bounds Write","id":"CVE-2026-53266","kev_date_added":"2026-09-18","published":"2026-06-25"},{"cvss_score":8.8,"headline":"Linux Kernel Improper Input Validation","id":"CVE-2013-6282","kev_date_added":"2022-09-15","published":"2013-11-19"},{"cvss_score":8.4,"headline":"Linux Kernel Heap-Based Buffer Overflow","id":"CVE-2022-0185","kev_date_added":"2024-08-21","published":"2022-02-11"},{"cvss_score":8.4,"headline":"Linux Kernel Privilege Escalation","id":"CVE-2013-2094","kev_date_added":"2022-09-15","published":"2013-05-14"},{"cvss_score":7.8,"headline":"Linux Kernel Unspecified","id":"CVE-2026-53362","kev_date_added":"2026-08-27","published":"2026-07-04"},{"cvss_score":7.8,"headline":"Linux Kernel Missing Initialization of a Variable","id":"CVE-2026-46300","kev_date_added":"2026-10-28","published":"2026-05-23"},{"cvss_score":7.8,"headline":"Linux Kernel Race Condition","id":"CVE-2025-39964","kev_date_added":"2026-09-18","published":"2025-10-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-14","vendors":["Red Hat"]},"summary":"A use-after-free bug in the Linux kernel NVMe/TCP subsystem allows attackers to achieve remote code execution or local privilege escalation.","url":"https://insights.sbomify.com/CVE-2023-5178/"}