CVE-2023-4004

published 31 Jul 2023 · updated 7 Nov 2026

Kernel: netfilter: use-after-free due to improper element removal in nft_pipapo_remove()

7.8HighCVSS 7.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 6.4.7, Kernel 5.10.188, Kernel 6.1.42 and 1 more.

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 potentially escalate their privileges on the system.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=6.2 <6.4.7, >=5.6 <5.10.188, >=5.16 <6.1.42, >=5.11 <5.15.1236.4.7, 5.10.188, 6.1.42, 5.15.123
Red HatEnterprise Linux
Red HatVirtualization
debiandebian_linux=12.0, =11.0, =10.0
fedoraprojectfedora=38
netapph300s
netapph410s
netapph500s
netapph700s
redhatenterprise_linux=9.0, =8.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-4004 severity on Zeptric[![CVE-2023-4004](https://zeptric.io/badge/cve/CVE-2023-4004.svg)](https://zeptric.io/cve/CVE-2023-4004)