CVE-2023-54035

netfilter: nf_tables: fix underflow in chain reference counter

State
Published
Severity
7.8 High
Published
Dec 24, 2025
Updated
Aug 5, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 35651fde1a7bb54dde0a46d35cd0d7136869ae86 to before b068314fd8ce751a7f906e55bb90f3551815f1a0Affected
  • 628bd3e49cba1c066228e23d71a852c23e26da73 to before 9c959671abc7d4ffdf34eed10c64492d43cb6a3cAffected
  • 628bd3e49cba1c066228e23d71a852c23e26da73 to before b389139f12f287b8ed2e2628b72df89a081f0b59Affected
  • bc9f791d2593f17e39f87c6e2b3a36549a3705b1Affected
  • 3c7ec098e3b588434a8b07ea9b5b36f04cef1f50Affected
  • a136b7942ad2a50de708f76ea299ccb45ac7a7f9Affected
  • 25aa2ad37c2162be1c0bc4fe6397f7e4c13f00f8Affected
  • d60be2da67d172aecf866302c91ea11533eca4d9Affected
  • dc7cdf8cbcbf8b13de1df93f356ec04cdeef5c41Affected
  • 4.19.316 to before 4.20Affected
  • 5.4.262 to before 5.5Affected
  • 5.10.188 to before 5.11Affected
  • 5.15.121 to before 5.16Affected
  • 6.3.10 to before 6.4Affected
LinuxLinux
  • 6.4Affected
  • before 6.4Not affected
  • 6.4.4 through 6.4.*Not affected
  • 6.5 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.