CVE-2024-27397: netfilter: nf_tables: use timestamp to check for set element timeout

Published May 9, 2024
·
Updated

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

netfilter: nftables: 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.

Other sources

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

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

The Linux kernel CVE team has assigned CVE-2024-27397 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024050837-CVE-2024-27397-fd1e@gregkh/T

Red Hat

Affected Software

18 affected componentsFixes available
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
debian/linux<=5.10.223-1
5.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
debian/linux-6.1
6.1.129-1~deb11u1
redhat/kernel<6.7.5
6.7.5
redhat/kernel<6.8
6.8
Linux Linux kernel>=4.1<4.19.320
Linux Linux kernel>=4.20<5.4.282
Linux Linux kernel>=5.5<5.10.224
Linux Linux kernel>=5.11<5.15.165
Linux Linux kernel>=5.16<6.1.97
Linux Linux kernel>=6.2<6.6.84
Linux Linux kernel>=6.7<6.7.5
Linux Linux kernel=6.8-rc1
Linux Linux kernel=6.8-rc2
Linux Linux kernel=6.8-rc3

Event History

May 9, 2024
CVE Published
via MITRE·04:37 PM
Data Sourced
via MITRE·04:37 PM
Description
May 14, 2024
Data Sourced
via NVD·03:12 PM
Description
Data Sourced
via NVD·03:12 PM
RemedySeverityWeaknessAffected Software
Data Sourced
via Red Hat·11:29 PM
DescriptionSeverityAffected Software
Oct 17, 2024
Data Sourced
via Launchpad·01:41 AM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·02:09 AM
RemedyDescriptionSeverityAffected Software
Sep 17, 57685
Event
via NVD·06:00 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-27397?

CVE-2024-27397 has a medium severity level as it affects the Linux kernel's netfilter subsystem.

2

How do I fix CVE-2024-27397?

To fix CVE-2024-27397, upgrade your Linux kernel to the recommended versions, which include 6.7.5, 6.8, or various specified Debian versions.

3

Which Linux distributions are affected by CVE-2024-27397?

CVE-2024-27397 affects Red Hat and Debian distributions of the Linux kernel.

4

What components are impacted by CVE-2024-27397?

CVE-2024-27397 impacts the netfilter component of the Linux kernel, specifically in relation to its nf_tables functionality.

5

Is there a workaround for CVE-2024-27397 if I cannot update immediately?

There are no specified workarounds for CVE-2024-27397; immediate kernel updates are advised for mitigation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203