{"id":"CVE-2023-54035","aliases":["CVE-2023-54035"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: nf_tables: fix underflow in chain reference counter","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: fix underflow in chain reference counter\n\nSet element addition error path decrements reference counter on chains\ntwice: once on element release and again via nft_data_release().\n\nThen, d6b478666ffa (\"netfilter: nf_tables: fix underflow in object\nreference counter\") incorrectly fixed this by removing the stateful\nobject reference count decrement.\n\nRestore the stateful object decrement as in b91d90368837 (\"netfilter:\nnf_tables: fix leaking object reference count\") and let\nnft_data_release() decrement the chain reference counter, so this is\ndone only once.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: fix underflow in chain reference counter\n\nSet element addition error path decrements reference counter on chains\ntwice: once on element release and again via nft_data_release().\n\nThen, d6b478666ffa (\"netfilter: nf_tables: fix underflow in object\nreference counter\") incorrectly fixed this by removing the stateful\nobject reference count decrement.\n\nRestore the stateful object decrement as in b91d90368837 (\"netfilter:\nnf_tables: fix leaking object reference count\") and let\nnft_data_release() decrement the chain reference counter, so this is\ndone only once.","source":"cvelist"}],"published":"2025-12-24T10:56:02.358Z","modified":"2026-08-05T09:16:39.727Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"35651fde1a7bb54dde0a46d35cd0d7136869ae86","fixed":"b068314fd8ce751a7f906e55bb90f3551815f1a0","status":"affected"},{"type":"git","introduced":"628bd3e49cba1c066228e23d71a852c23e26da73","fixed":"9c959671abc7d4ffdf34eed10c64492d43cb6a3c","status":"affected"},{"type":"git","introduced":"628bd3e49cba1c066228e23d71a852c23e26da73","fixed":"b389139f12f287b8ed2e2628b72df89a081f0b59","status":"affected"},{"type":"git","version":"bc9f791d2593f17e39f87c6e2b3a36549a3705b1","status":"affected"},{"type":"git","version":"3c7ec098e3b588434a8b07ea9b5b36f04cef1f50","status":"affected"},{"type":"git","version":"a136b7942ad2a50de708f76ea299ccb45ac7a7f9","status":"affected"},{"type":"git","version":"25aa2ad37c2162be1c0bc4fe6397f7e4c13f00f8","status":"affected"},{"type":"git","version":"d60be2da67d172aecf866302c91ea11533eca4d9","status":"affected"},{"type":"git","version":"dc7cdf8cbcbf8b13de1df93f356ec04cdeef5c41","status":"affected"},{"type":"semver","introduced":"4.19.316","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.4.262","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"5.10.188","fixed":"5.11","status":"affected"},{"type":"semver","introduced":"5.15.121","fixed":"5.16","status":"affected"},{"type":"semver","introduced":"6.3.10","fixed":"6.4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.4","status":"unaffected"},{"type":"semver","introduced":"6.4.4","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b068314fd8ce751a7f906e55bb90f3551815f1a0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9c959671abc7d4ffdf34eed10c64492d43cb6a3c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b389139f12f287b8ed2e2628b72df89a081f0b59","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54035","url":"https://www.cve.org/CVERecord?id=CVE-2023-54035","licence":"CVE Terms of Use","modified":"2026-08-05T09:16:39.727Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54035","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54035","licence":"Public domain","modified":"2026-08-04T10:19:25.870Z"}],"updatedAt":"2026-11-25T22:58:35.149Z","epss":{"score":0.00153,"percentile":0.04643,"date":"2026-12-01T12:00:22.000Z"}}