CVE-2024-27397

netfilter: nf_tables: use timestamp to check for set element timeout

HIGH
7
CVSS Score
Published: May 9, 2024 at 04:37 PM UTC
Updated: October 15, 2026 at 01:17 AM UTC
2 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.1 ≤ v < 4.19.3204.20 ≤ v < 5.4.2825.11 ≤ v < 5.15.1655.16 ≤ v < 6.1.975.5 ≤ v < 5.10.2246.2 ≤ v < 6.6.846.7 ≤ v < 6.7.56.86.8 rc16.8 rc26.8 rc3c3e1b005ed1cc068fc9d454a6e745830d55d251d
Vendor states this is fixed in 0d40e8cb1d1f56a994cdd2e015af622fdca9ed4d (fixed)
Vendor states this is fixed in 383182db8d58c4237772ba0764cded4938a235c3 (fixed)
Vendor states this is fixed in 7395dfacfff65e9938ac0889dafa1ab01e987d15 (fixed)
Vendor states this is fixed in 7b17de2a71e56c10335b565cc7ad238e6d984379 (fixed)
Vendor states this is fixed in 7fa2e2960fff8322ce2ded57b5f8e9cbc450b967 (fixed)
Vendor states this is fixed in b45176b869673417ace338b87cf9cdb66e2eeb01 (fixed)
Vendor states this is fixed in eaf1a29ea5d7dba8e84e9e9f3b3f47d0cd540bfe (fixed)
Vendor states this is fixed in f8dfda798650241c1692058713ca4fef8e429061 (fixed)
Vendor states this is fixed in 4.1 (unaffected)
Vendor states this is fixed in 4.19.320 (unaffected)
Vendor states this is fixed in 5.10.224 (unaffected)
Vendor states this is fixed in 5.15.165 (unaffected)
Vendor states this is fixed in 5.4.282 (unaffected)
Vendor states this is fixed in 6.1.97 (unaffected)
Vendor states this is fixed in 6.6.84 (unaffected)
Vendor states this is fixed in 6.7.5 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0d40e8cb1d1f56a994cdd2e015af622fdca9ed4d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/383182db8d58c4237772ba0764cded4938a235c3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7395dfacfff65e9938ac0889dafa1ab01e987d15
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7b17de2a71e56c10335b565cc7ad238e6d984379
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7fa2e2960fff8322ce2ded57b5f8e9cbc450b967
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b45176b869673417ace338b87cf9cdb66e2eeb01
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eaf1a29ea5d7dba8e84e9e9f3b3f47d0cd540bfe
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f8dfda798650241c1692058713ca4fef8e429061

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card