# CVE-2024-35897: netfilter: nf\_tables: discard table flag update with pending basechain deletion

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.35% (percentile 21, 2026-11-26)
- **Published:** 2024-05-19T08:34:51.799Z
- **Modified:** 2026-10-15T01:17:51.077Z

## Who should check

- Anyone running Linux \>= bf8083bbf8fa202e6e5316bbd99759ab82bfe7a3, \< e75faf01e22ec7dc671640fa0e0968964fafd2fc; \>= e10f661adc556c4969c70ddaddf238bffdaf1e87, \< 9a3b90904d8a072287480eed4c3ece4b99d64f78; \>= d9c4da8cb74e8ee6e58a064a3573aa37acf6c935, \< b58d0ac35f6d75ec1db8650a29dfd6f292c11362; \>= 179d9ba5559a756f4322583388b3213fe4e391b0, \< 6cbbe1ba76ee7e674a86abd43009b083a45838cb; \>= 179d9ba5559a756f4322583388b3213fe4e391b0, \< 2aeb805a1bcd5f27c8c0d1a9d4d653f16d1506f4; \>= 179d9ba5559a756f4322583388b3213fe4e391b0, \< 9627fd0c6ea1c446741a33e67bc5709c59923827; \>= 179d9ba5559a756f4322583388b3213fe4e391b0, \< 7f609f630951b624348373cef99991ce08831927; \>= 179d9ba5559a756f4322583388b3213fe4e391b0, \< 1bc83a019bbe268be3526406245ec28c2458a518; \>= 5.4.262, \< 5.4.274; \>= 5.10.202, \< 5.10.215
- Anyone running Linux 5.13

## 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 and fixed versions

- Linux: \>= bf8083bbf8fa202e6e5316bbd99759ab82bfe7a3, \< e75faf01e22ec7dc671640fa0e0968964fafd2fc; \>= e10f661adc556c4969c70ddaddf238bffdaf1e87, \< 9a3b90904d8a072287480eed4c3ece4b99d64f78; \>= d9c4da8cb74e8ee6e58a064a3573aa37acf6c935, \< b58d0ac35f6d75ec1db8650a29dfd6f292c11362; \>= 179d9ba5559a756f4322583388b3213fe4e391b0, \< 6cbbe1ba76ee7e674a86abd43009b083a45838cb; \>= 179d9ba5559a756f4322583388b3213fe4e391b0, \< 2aeb805a1bcd5f27c8c0d1a9d4d653f16d1506f4; \>= 179d9ba5559a756f4322583388b3213fe4e391b0, \< 9627fd0c6ea1c446741a33e67bc5709c59923827; \>= 179d9ba5559a756f4322583388b3213fe4e391b0, \< 7f609f630951b624348373cef99991ce08831927; \>= 179d9ba5559a756f4322583388b3213fe4e391b0, \< 1bc83a019bbe268be3526406245ec28c2458a518; \>= 5.4.262, \< 5.4.274; \>= 5.10.202, \< 5.10.215 (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- Upgrade Linux to 5.10.215 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-35897. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35897.md
Affected: Linux >= bf8083bbf8fa202e6e5316bbd99759ab82bfe7a3, < e75faf01e22ec7dc671640fa0e0968964fafd2fc; >= e10f661adc556c4969c70ddaddf238bffdaf1e87, < 9a3b90904d8a072287480eed4c3ece4b99d64f78; >= d9c4da8cb74e8ee6e58a064a3573aa37acf6c935, < b58d0ac35f6d75ec1db8650a29dfd6f292c11362; >= 179d9ba5559a756f4322583…
Fixed in: Linux 9a3b90904d8a072287480eed4c3ece4b99d64f78, Linux 6cbbe1ba76ee7e674a86abd43009b083a45838cb, Linux 2aeb805a1bcd5f27c8c0d1a9d4d653f16d1506f4, Linux 9627fd0c6ea1c446741a33e67bc5709c59923827, Linux 7f609f630951b624348373cef99991ce08831927, Linux 1bc83a019bbe268be3526406245ec28c2458a518, Linux 5.4.2…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-35897 being exploited?

There is no confirmed exploitation: CVE-2024-35897 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-35897?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-35897?

Linux \>= bf8083bbf8fa202e6e5316bbd99759ab82bfe7a3, \< e75faf01e22ec7dc671640fa0e0968964fafd2fc; \>= e10f661adc556c4969c70ddaddf238bffdaf1e87, \< 9a3b90904d8a072287480eed4c3ece4b99d64f78; \>= d9c4da8cb74e8ee6e58a064a3573aa37acf6c935, \< b58d0ac35f6d75ec1db8650a29dfd6f292c11362; \>= 179d9ba5559a756f4322583388b3213fe4e391b0, \< 6cbbe1ba76ee7e674a86abd43009b083a45838cb; \>= 179d9ba5559a756f4322583388b3213fe4e391b0, \< 2aeb805a1bcd5f27c8c0d1a9d4d653f16d1506f4; \>= 179d9ba5559a756f4322583388b3213fe4e391b0, \< 9627fd0c6ea1c446741a33e67bc5709c59923827; \>= 179d9ba5559a756f4322583388b3213fe4e391b0, \< 7f609f630951b624348373cef99991ce08831927; \>= 179d9ba5559a756f4322583388b3213fe4e391b0, \< 1bc83a019bbe268be3526406245ec28c2458a518; \>= 5.4.262, \< 5.4.274; \>= 5.10.202, \< 5.10.215; Linux 5.13.

### Is there a fix for CVE-2024-35897?

Yes. Fixed in Linux 9a3b90904d8a072287480eed4c3ece4b99d64f78, Linux 6cbbe1ba76ee7e674a86abd43009b083a45838cb, Linux 2aeb805a1bcd5f27c8c0d1a9d4d653f16d1506f4, Linux 9627fd0c6ea1c446741a33e67bc5709c59923827, Linux 7f609f630951b624348373cef99991ce08831927, Linux 1bc83a019bbe268be3526406245ec28c2458a518, Linux 5.4.274, Linux 5.10.215. Upgrade Linux to 5.10.215 or later.

### How do I check if I'm affected by CVE-2024-35897?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/e75faf01e22ec7dc671640fa0e0968964fafd2fc>
- patch: <https://git.kernel.org/stable/c/9a3b90904d8a072287480eed4c3ece4b99d64f78>
- patch: <https://git.kernel.org/stable/c/b58d0ac35f6d75ec1db8650a29dfd6f292c11362>
- patch: <https://git.kernel.org/stable/c/6cbbe1ba76ee7e674a86abd43009b083a45838cb>
- patch: <https://git.kernel.org/stable/c/2aeb805a1bcd5f27c8c0d1a9d4d653f16d1506f4>
- patch: <https://git.kernel.org/stable/c/9627fd0c6ea1c446741a33e67bc5709c59923827>
- patch: <https://git.kernel.org/stable/c/7f609f630951b624348373cef99991ce08831927>
- patch: <https://git.kernel.org/stable/c/1bc83a019bbe268be3526406245ec28c2458a518>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-35897>

HTML: <https://flawdb.com/CVE-2024-35897> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-35897>
