Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2023-54035

netfilter: nf_tables: fix underflow in chain reference counter

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 35651fde1a7bb54dde0a46d35cd0d7136869ae86 to < b068314fd8ce751a7f906e55bb90f3551815f1a0affected
  • 628bd3e49cba1c066228e23d71a852c23e26da73 to < 9c959671abc7d4ffdf34eed10c64492d43cb6a3caffected
  • 628bd3e49cba1c066228e23d71a852c23e26da73 to < b389139f12f287b8ed2e2628b72df89a081f0b59affected
  • bc9f791d2593f17e39f87c6e2b3a36549a3705b1affected
  • 3c7ec098e3b588434a8b07ea9b5b36f04cef1f50affected
  • a136b7942ad2a50de708f76ea299ccb45ac7a7f9affected
  • 25aa2ad37c2162be1c0bc4fe6397f7e4c13f00f8affected
  • d60be2da67d172aecf866302c91ea11533eca4d9affected
  • dc7cdf8cbcbf8b13de1df93f356ec04cdeef5c41affected
  • 4.19.316 to < 4.20affected
  • 5.4.262 to < 5.5affected
  • 5.10.188 to < 5.11affected
  • 5.15.121 to < 5.16affected
  • 6.3.10 to < 6.4affected

Linux Linux

Default version status: affected

  • 6.4affected
  • 0 to < 6.4unaffected
  • 6.4.4 to ≤ 6.4.*unaffected
  • 6.5 to ≤ *unaffected

References