# CVE-2024-26643: netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-02)
- Published: 2024-03-21T10:43:44.103Z
- Modified: 2026-10-15T01:17:21.317Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout

While the rhashtable set gc runs asynchronously, a race allows it to
collect elements from anonymous sets with timeouts while it is being
released from the commit path.

Mingi Cho originally reported this issue in a different path in 6.1.x
with a pipapo set with low timeouts which is not possible upstream since
7395dfacfff6 ("netfilter: nf_tables: use timestamp to check for set
element timeout").

Fix this by setting on the dead flag for anonymous sets to skip async gc
in this case.

According to 08e4c8c5919f ("netfilter: nf_tables: mark newset as dead on
transaction abort"), Florian plans to accelerate abort path by releasing
objects via workqueue, therefore, this sets on the dead flag for abort
path too.

(As written by CVE List.)

## Affected

- Linux Linux: from 8da1b048f9a501d3d7d38c188ba09d7d0d5b8c27 before d75a589bb92af1abf3b779cfcd1977ca11b27033; from bbdb3b65aa91aa0a32b212f27780b28987f2d94f before edcf1a3f182ecf8b6b805f0ce90570ea98c5f6bf; from 448be0774882f95a74fa5eb7519761152add601b before e2d45f467096e931044f0ab7634499879d851a5c; from d19e8bf3ea4114dd21fc35da21f398203d7f7df1 before 291cca35818bd52a407bc37ab45a15816039e363; from ea3eb9f2192e4fc33b795673e56c97a21987f868 before 406b0241d0eb598a0b330ab20ae325537d8d8163; from 5f68718b34a531a556f2f50300ead2862278da26 before b2d6f9a5b1cf968f1eaa71085ceeb09c2cb276b1; from 5f68718b34a531a556f2f50300ead2862278da26 before 5224afbc30c3ca9ba23e752f0f138729b2c48dd8; from 5f68718b34a531a556f2f50300ead2862278da26 before 552705a3650bbf46a22b1adedc1b04181490fc36; 0624f190b5742a1527cd938295caa8dc5281d4cd; from 5.4.262 before 5.4.274; from 5.10.198 before 5.10.215; from 5.15.134 before 5.15.154; and 3 more (not affected: before 6.5; from 5.4.274 up to 5.4.*; from 5.10.215 up to 5.10.*; from 5.15.154 up to 5.15.*; from 6.1.84 up to 6.1.*; from 6.6.24 up to 6.6.*; from 6.7.12 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: before 5.4.274; from 5.5 before 5.10.215; from 5.11 before 5.15.154; from 5.16 before 6.1.84; from 6.2 before 6.6.24; from 6.7 before 6.7.12
- debian debian_linux: 10.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/d75a589bb92af1abf3b779cfcd1977ca11b27033> (patch)
- <https://git.kernel.org/stable/c/edcf1a3f182ecf8b6b805f0ce90570ea98c5f6bf> (patch)
- <https://git.kernel.org/stable/c/e2d45f467096e931044f0ab7634499879d851a5c> (patch)
- <https://git.kernel.org/stable/c/291cca35818bd52a407bc37ab45a15816039e363> (patch)
- <https://git.kernel.org/stable/c/406b0241d0eb598a0b330ab20ae325537d8d8163> (patch)
- <https://git.kernel.org/stable/c/b2d6f9a5b1cf968f1eaa71085ceeb09c2cb276b1> (patch)
- <https://git.kernel.org/stable/c/5224afbc30c3ca9ba23e752f0f138729b2c48dd8> (patch)
- <https://git.kernel.org/stable/c/552705a3650bbf46a22b1adedc1b04181490fc36> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (mailing-list)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2024-26643](https://www.cve.org/CVERecord?id=CVE-2024-26643), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-26643](https://nvd.nist.gov/vuln/detail/CVE-2024-26643), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-26643 · Whole record: https://cve.day/CVE-2024-26643.json · Rebuilt by cve.day 2026-11-25T22:58:37.808Z
