{"id":"CVE-2023-4004","title":"A use-after-free flaw was found in the Linux kernel's netfilter in the way a user triggers the nft_pipapo_remove function with the element, without a NFT_SET_EXT_KEY_END","summary":"A use-after-free flaw was found in the Linux kernel's netfilter in the way a user triggers the nft_pipapo_remove function with the element, without a NFT_SET_EXT_KEY_END. This issue could allow a local user to crash the system or potenti…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-416"],"vendor":"linux","product":"linux_kernel","affected":["linux_kernel >= 5.6, < 5.10.188","linux_kernel >= 5.11, < 5.15.123","linux_kernel >= 5.16, < 6.1.42","linux_kernel >= 6.2, < 6.4.7","fedora = 38","enterprise_linux = 8.0","enterprise_linux = 9.0","h300s","h410s","h500s","h700s","debian_linux = 10.0","debian_linux = 11.0","debian_linux = 12.0"],"patched":["linux_kernel 6.4.7"],"published":"2023-07-31","updated":"2026-10-14","sourceUpdated":"2026-10-14T22:17:16.357","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2023-4004","references":[{"url":"https://access.redhat.com/errata/RHSA-2023:4961","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:4962","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:4967","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:5069","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:5091","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:5093","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:5221","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:5244","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:5255","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:5548","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:5627","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:7382","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:7389","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:7411","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:7417","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:7431","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2023:7434","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/security/cve/CVE-2023-4004","label":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2225275","label":"secalert@redhat.com"},{"url":"https://patchwork.ozlabs.org/project/netfilter-devel/patch/20230719190824.21196-1-fw@strlen.de/","label":"secalert@redhat.com"},{"url":"http://packetstormsecurity.com/files/175072/Kernel-Live-Patch-Security-Notice-LSN-0098-1.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.com/files/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:4961","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:4962","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:4967","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:5069","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:5091","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:5093","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:5221","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:5244","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:5255","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:5548","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:5627","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:7382","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:7389","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:7411","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:7417","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:7431","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2023:7434","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/security/cve/CVE-2023-4004","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2225275","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://patchwork.ozlabs.org/project/netfilter-devel/patch/20230719190824.21196-1-fw@strlen.de/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20231027-0001/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.debian.org/security/2023/dsa-5480","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.debian.org/security/2023/dsa-5492","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-794697.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-831302.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}],"tags":["nvd","cve.org"],"epss":0.00917,"epssPercentile":0.60022,"ingestedAt":"2026-10-14T23:00:02.001Z","slug":"CVE-2023-4004","body":"## Overview\n\nA use-after-free flaw was found in the Linux kernel's netfilter in the way a user triggers the nft_pipapo_remove function with the element, without a NFT_SET_EXT_KEY_END. This issue could allow a local user to crash the system or potentially escalate their privileges on the system.\n\n## Affected\n\n- `linux_kernel >= 5.6, < 5.10.188`\n- `linux_kernel >= 5.11, < 5.15.123`\n- `linux_kernel >= 5.16, < 6.1.42`\n- `linux_kernel >= 6.2, < 6.4.7`\n- `fedora = 38`\n- `enterprise_linux = 8.0`\n- `enterprise_linux = 9.0`\n- `h300s`\n- `h410s`\n- `h500s`\n- `h700s`\n- `debian_linux = 10.0`\n- `debian_linux = 11.0`\n- `debian_linux = 12.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 6.4.7`","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}