CVE-2024-27397CWE-416

CVE-2024-27397

High · published May 14, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
17.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00264 · 17.4th percentile
Weakness
CWE-416 · Use After Free
Published
2024-05-14T19:12Z
Affected products (10)
ProductVersionsFixed in
linux/linux_kernel≥ 4.1, < 4.19.3204.19.320
linux/linux_kernel≥ 4.20, < 5.4.2825.4.282
linux/linux_kernel≥ 5.5, < 5.10.2245.10.224
linux/linux_kernel≥ 5.11, < 5.15.1655.15.165
linux/linux_kernel≥ 5.16, < 6.1.976.1.97
linux/linux_kernel≥ 6.2, < 6.6.846.6.84
linux/linux_kernel≥ 6.7, < 6.7.56.7.5
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (14)
https://git.kernel.org/stable/c/0d40e8cb1d1f56a994cdd2e015af622fdca9ed4d · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/383182db8d58c4237772ba0764cded4938a235c3 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/7395dfacfff65e9938ac0889dafa1ab01e987d15 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/7b17de2a71e56c10335b565cc7ad238e6d984379 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/7fa2e2960fff8322ce2ded57b5f8e9cbc450b967 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/b45176b869673417ace338b87cf9cdb66e2eeb01 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/eaf1a29ea5d7dba8e84e9e9f3b3f47d0cd540bfe · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f8dfda798650241c1692058713ca4fef8e429061 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/383182db8d58c4237772ba0764cded4938a235c3 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/7395dfacfff65e9938ac0889dafa1ab01e987d15 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/b45176b869673417ace338b87cf9cdb66e2eeb01 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-265688.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 09 MAY 16:37Z
    netfilter: nf_tables: use timestamp to check for set element timeout
    cvelistv5