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

Summary

CVECVE-2024-27397
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-05-14 15:12:28 UTC
Updated2026-05-12 12:16:32 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 7 HIGH from [email protected]

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem Types: CWE-416

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected c3e1b005ed1cc068fc9d454a6e745830d55d251d f8dfda798650241c1692058713ca4fef8e429061 git Not specified
CNA Linux Linux affected c3e1b005ed1cc068fc9d454a6e745830d55d251d eaf1a29ea5d7dba8e84e9e9f3b3f47d0cd540bfe git Not specified
CNA Linux Linux affected c3e1b005ed1cc068fc9d454a6e745830d55d251d 7b17de2a71e56c10335b565cc7ad238e6d984379 git Not specified
CNA Linux Linux affected c3e1b005ed1cc068fc9d454a6e745830d55d251d 0d40e8cb1d1f56a994cdd2e015af622fdca9ed4d git Not specified
CNA Linux Linux affected c3e1b005ed1cc068fc9d454a6e745830d55d251d b45176b869673417ace338b87cf9cdb66e2eeb01 git Not specified
CNA Linux Linux affected c3e1b005ed1cc068fc9d454a6e745830d55d251d 7fa2e2960fff8322ce2ded57b5f8e9cbc450b967 git Not specified
CNA Linux Linux affected c3e1b005ed1cc068fc9d454a6e745830d55d251d 383182db8d58c4237772ba0764cded4938a235c3 git Not specified
CNA Linux Linux affected c3e1b005ed1cc068fc9d454a6e745830d55d251d 7395dfacfff65e9938ac0889dafa1ab01e987d15 git Not specified
CNA Linux Linux affected 4.1 Not specified
CNA Linux Linux unaffected 4.1 semver Not specified
CNA Linux Linux unaffected 4.19.320 4.19.* semver Not specified
CNA Linux Linux unaffected 5.4.282 5.4.* semver Not specified
CNA Linux Linux unaffected 5.10.224 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.165 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.97 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.84 6.6.* semver Not specified
CNA Linux Linux unaffected 6.7.5 6.7.* semver Not specified
CNA Linux Linux unaffected 6.8 * original_commit_for_fix Not specified
ADP Siemens SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem affected * custom Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/b45176b869673417ace338b87cf9cdb66e2eeb01 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/0d40e8cb1d1f56a994cdd2e015af622fdca9ed4d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
cert-portal.siemens.com/productcert/html/ssa-265688.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
git.kernel.org/stable/c/f8dfda798650241c1692058713ca4fef8e429061 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/eaf1a29ea5d7dba8e84e9e9f3b3f47d0cd540bfe 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/7b17de2a71e56c10335b565cc7ad238e6d984379 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/7fa2e2960fff8322ce2ded57b5f8e9cbc450b967 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
lists.debian.org/debian-lts-announce/2024/10/msg00003.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
git.kernel.org/stable/c/383182db8d58c4237772ba0764cded4938a235c3 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
lists.debian.org/debian-lts-announce/2025/01/msg00001.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
git.kernel.org/stable/c/7395dfacfff65e9938ac0889dafa1ab01e987d15 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report