CVE-2024-26581

netfilter: nft_set_rbtree: skip end interval element from gc

7.8 high EPSS 2.22%

Published 20 Feb 2024 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2024-26581

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-26581 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

netfilter: nft_set_rbtree: skip end interval element from gc

rbtree lazy gc on insert might collect an end interval element that has been just added in this transactions, skip end interval elements that are not yet active.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
7.8 high CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 2.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 83.2% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 30 Oct 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 8284a79136c384059e85e278da2210b809730287, before c60d252949caf9aba537525195edae6bbabc35eb
affected from acaee227cf79c45a5d2d49c3e9a66333a462802c, before 10e9cb39313627f2eae4cd70c4b742074e998fd8
affected from 893cb3c3513cf661a0ff45fe0cfa83fe27131f76, before 4cee42fcf54fec46b344681e7cc4f234bb22f85a
affected from 50cbb9d195c197af671869c8cadce3bd483735a0, before 2bab493a5624444ec6e648ad0d55a362bcb4c003
affected from 89a4d1a89751a0fbd520e64091873e19cc0979e8, before 1296c110c5a0b45a8fcf58e7d18bc5da61a565cb
affected from f718863aca469a109895cb855e6b81fff4827d71, before b734f7a47aeb32a5ba298e4ccc16bb0c52b6dbf7
affected from f718863aca469a109895cb855e6b81fff4827d71, before 6eb14441f10602fa1cf691da9d685718b68b78a9
affected from f718863aca469a109895cb855e6b81fff4827d71, before 60c0c230c6f046da536d3df8b39a20b9a9fd6af0
affected cd66733932399475fe933cb3ec03e687ed401462
affected from 5.4.262, before 5.4.269
affected from 5.10.190, before 5.10.210
affected from 5.15.124, before 5.15.149
affected from 6.1.43, before 6.1.78
affected from 6.4.8, before 6.5
Other versions: unaffected
Linux
affected 6.5
unaffected before 6.5
unaffected from 5.4.269 up to and including 5.4.*
unaffected from 5.10.210 up to and including 5.10.*
unaffected from 5.15.149 up to and including 5.15.*
unaffected from 6.1.78 up to and including 6.1.*
unaffected from 6.6.17 up to and including 6.6.*
unaffected from 6.7.5 up to and including 6.7.*
unaffected 6.8 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-26581 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26581

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-26581
trivy image --scanners vuln IMAGE | grep CVE-2024-26581

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-26581 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.