What’s Vulnerable › Vulnerabilities
CVE-2024-35897: netfilter: nf_tables: discard table flag update with pending basechain deletion
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-19 · updated 2026-10-15
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: discard table flag update with pending basechain deletion Hook unregistration is deferred to the commit phase, same occurs with hook updates triggered by the table dormant flag. When both commands are combined, this results in deleting a basechain while leaving its hook still registered in the core.
Affected products
- Debian Linux: 10.0
- Linux kernel: from 5.4.262 before 5.4.274; from 5.10.202 before 5.10.215; from 5.13.1 before 5.15.155; from 5.16 before 6.1.86; from 6.2 before 6.6.26; from 6.7 before 6.8.5 — fixed in 5.10.215, 5.15.155, 5.4.274, 6.1.86, 6.6.26, 6.8.5
How to fix
Upgrade to a fixed version: Linux kernel 5.10.215, 5.15.155, 5.4.274, 6.1.86. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1bc83a019bbe268be3526406245ec28c2458a518
- https://git.kernel.org/stable/c/2aeb805a1bcd5f27c8c0d1a9d4d653f16d1506f4
- https://git.kernel.org/stable/c/6cbbe1ba76ee7e674a86abd43009b083a45838cb
- https://git.kernel.org/stable/c/7f609f630951b624348373cef99991ce08831927
- https://git.kernel.org/stable/c/9627fd0c6ea1c446741a33e67bc5709c59923827
- https://git.kernel.org/stable/c/9a3b90904d8a072287480eed4c3ece4b99d64f78
- https://git.kernel.org/stable/c/b58d0ac35f6d75ec1db8650a29dfd6f292c11362
- https://git.kernel.org/stable/c/e75faf01e22ec7dc671640fa0e0968964fafd2fc
- https://git.kernel.org/stable/c/1bc83a019bbe268be3526406245ec28c2458a518
- https://git.kernel.org/stable/c/2aeb805a1bcd5f27c8c0d1a9d4d653f16d1506f4
- https://git.kernel.org/stable/c/6cbbe1ba76ee7e674a86abd43009b083a45838cb
- https://git.kernel.org/stable/c/7f609f630951b624348373cef99991ce08831927
Get alerted when CVE-2024-35897 or the next vulnerability affects your stack