CVE-2023-54035

published 24 Dec 2025 · updated 17 Nov 2026

netfilter: nf_tables: fix underflow in chain reference counter

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel b389139f12f287b8ed2e2628b72df89a081f0b59, Kernel 4.20, Kernel 5.11 and 6 more.

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fix underflow in chain reference counter Set element addition error path decrements reference counter on chains twice: once on element release and again via nft_data_release(). Then, d6b478666ffa ("netfilter: nf_tables: fix underflow in object reference counter") incorrectly fixed this by removing the stateful object reference count decrement. Restore the stateful object decrement as in b91d90368837 ("netfilter: nf_tables: fix leaking object reference count") and let nft_data_release() decrement the chain reference counter, so this is done only once.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=628bd3e49cba1c066228e23d71a852c23e26da73 <b389139f12f287b8ed2e2628b72df89a081f0b59, >=4.19.316 <4.20, >=5.10.188 <5.11, >=5.15.121 <5.16, >=5.4.262 <5.5, >=6.3.10 <6.4, >=628bd3e49cba1c066228e23d71a852c23e26da73 <9c959671abc7d4ffdf34eed10c64492d43cb6a3c, =25aa2ad37c2162be1c0bc4fe6397f7e4c13f00f8, =3c7ec098e3b588434a8b07ea9b5b36f04cef1f50, =6.4, =a136b7942ad2a50de708f76ea299ccb45ac7a7f9, =bc9f791d2593f17e39f87c6e2b3a36549a3705b1, =d60be2da67d172aecf866302c91ea11533eca4d9, =dc7cdf8cbcbf8b13de1df93f356ec04cdeef5c41, >=35651fde1a7bb54dde0a46d35cd0d7136869ae86 <b068314fd8ce751a7f906e55bb90f3551815f1a0b389139f12f287b8ed2e2628b72df89a081f0b59, 4.20, 5.11, 5.16, 5.5, 6.4, 9c959671abc7d4ffdf34eed10c64492d43cb6a3c, b068314fd8ce751a7f906e55bb90f3551815f1a0
linux-kernel: Kernel>=5.10.188 <5.11, >=5.15.121 <5.16, >=5.4.262 <5.5, >=6.3.10 <6.4, >=6.4.0 <6.4.4, >=4.19.316 <4.205.11, 5.16, 5.5, 6.4, 6.4.4, 4.20

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-54035 severity on Zeptric[![CVE-2023-54035](https://zeptric.io/badge/cve/CVE-2023-54035.svg)](https://zeptric.io/cve/CVE-2023-54035)