# CVE-2024-27397: netfilter: nf_tables: use timestamp to check for set element 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.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2024-05-09T16:37:22.463Z
- Modified: 2026-10-15T01:17:40.477Z
- Weaknesses: CWE-416
- 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: use timestamp to check for set element timeout

Add a timestamp field at the beginning of the transaction, store it
in the nftables per-netns area.

Update set backend .insert, .deactivate and sync gc path to use the
timestamp, this avoids that an element expires while control plane
transaction is still unfinished.

.lookup and .update, which are used from packet path, still use the
current time to check if the element has expired. And .get path and dump
also since this runs lockless under rcu read size lock. Then, there is
async gc which also needs to check the current time since it runs
asynchronously from a workqueue.

(As written by CVE List.)

## Affected

- Linux Linux: from c3e1b005ed1cc068fc9d454a6e745830d55d251d before f8dfda798650241c1692058713ca4fef8e429061; from c3e1b005ed1cc068fc9d454a6e745830d55d251d before eaf1a29ea5d7dba8e84e9e9f3b3f47d0cd540bfe; from c3e1b005ed1cc068fc9d454a6e745830d55d251d before 7b17de2a71e56c10335b565cc7ad238e6d984379; from c3e1b005ed1cc068fc9d454a6e745830d55d251d before 0d40e8cb1d1f56a994cdd2e015af622fdca9ed4d; from c3e1b005ed1cc068fc9d454a6e745830d55d251d before b45176b869673417ace338b87cf9cdb66e2eeb01; from c3e1b005ed1cc068fc9d454a6e745830d55d251d before 7fa2e2960fff8322ce2ded57b5f8e9cbc450b967; from c3e1b005ed1cc068fc9d454a6e745830d55d251d before 383182db8d58c4237772ba0764cded4938a235c3; from c3e1b005ed1cc068fc9d454a6e745830d55d251d before 7395dfacfff65e9938ac0889dafa1ab01e987d15; 4.1 (not affected: before 4.1; from 4.19.320 up to 4.19.*; from 5.4.282 up to 5.4.*; from 5.10.224 up to 5.10.*; from 5.15.165 up to 5.15.*; from 6.1.97 up to 6.1.*; from 6.6.84 up to 6.6.*; from 6.7.5 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 4.1 before 4.19.320; from 4.20 before 5.4.282; from 5.5 before 5.10.224; from 5.11 before 5.15.165; from 5.16 before 6.1.97; from 6.2 before 6.6.84; from 6.7 before 6.7.5; 6.8

## 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 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/f8dfda798650241c1692058713ca4fef8e429061> (patch)
- <https://git.kernel.org/stable/c/eaf1a29ea5d7dba8e84e9e9f3b3f47d0cd540bfe> (patch)
- <https://git.kernel.org/stable/c/7b17de2a71e56c10335b565cc7ad238e6d984379> (patch)
- <https://git.kernel.org/stable/c/0d40e8cb1d1f56a994cdd2e015af622fdca9ed4d> (patch)
- <https://git.kernel.org/stable/c/b45176b869673417ace338b87cf9cdb66e2eeb01> (patch)
- <https://git.kernel.org/stable/c/7fa2e2960fff8322ce2ded57b5f8e9cbc450b967> (patch)
- <https://git.kernel.org/stable/c/383182db8d58c4237772ba0764cded4938a235c3> (patch)
- <https://git.kernel.org/stable/c/7395dfacfff65e9938ac0889dafa1ab01e987d15> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

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

---

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