CVE-2024-26581
published high CVSS 3.1 · 7.8netfilter: nft_set_rbtree: skip end interval element from gc
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux8284a79136c384059e85e278da2210b809730287 to < c60d252949caf9aba537525195edae6bbabc35eb · acaee227cf79c45a5d2d49c3e9a66333a462802c to < 10e9cb39313627f2eae4cd70c4b742074e998fd8 · 893cb3c3513cf661a0ff45fe0cfa83fe27131f76 to < 4cee42fcf54fec46b344681e7cc4f234bb22f85a · 50cbb9d195c197af671869c8cadce3bd483735a0 to < 2bab493a5624444ec6e648ad0d55a362bcb4c003 · 89a4d1a89751a0fbd520e64091873e19cc0979e8 to < 1296c110c5a0b45a8fcf58e7d18bc5da61a565cb · f718863aca469a109895cb855e6b81fff4827d71 to < b734f7a47aeb32a5ba298e4ccc16bb0c52b6dbf7 · f718863aca469a109895cb855e6b81fff4827d71 to < 6eb14441f10602fa1cf691da9d685718b68b78a9 · f718863aca469a109895cb855e6b81fff4827d71 to < 60c0c230c6f046da536d3df8b39a20b9a9fd6af0 · cd66733932399475fe933cb3ec03e687ed401462 · 5.4.262 to < 5.4.269 · 5.10.190 to < 5.10.210 · 5.15.124 to < 5.15.149 · 6.1.43 to < 6.1.78 · 6.4.8 to < 6.5 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.5 (affected) · 0 to < 6.5 (unaffected · semver) · 5.4.269 through 5.4.* (unaffected · semver) · 5.10.210 through 5.10.* (unaffected · semver) · 5.15.149 through 5.15.* (unaffected · semver) · 6.1.78 through 6.1.* (unaffected · semver) · 6.6.17 through 6.6.* (unaffected · semver) · 6.7.5 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2024-053 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2024-039 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2024-062 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 9 | bpftool | Advisory build | 7.3.0-427.33.1.el9_4 | ALSA-2024:5928 |
| Debian | bullseye | linux | Advisory build | 5.10.216-1 | DSA-5681-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-549 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.3.0-427.33.1.el9_4 | ELSA-2024-5928 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| Debian | buster | linux-5.10 | Advisory build | 5.10.216-1~deb10u1 | DLA-3842-1 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.3.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | kernel-uki-virtx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | libperfx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | perfaarch64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | perfx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | python3-perfaarch64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | python3-perfx86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
| Oracle Linux | 9 | rtlax86_64 | Advisory build | 0:5.14.0-427.33.1.el9_4 | ELSA-2024-5928 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached through the NETLINK_NETFILTER socket by issuing an nftables `NFT_MSG_NEWSETELEM` batch; it requires local system access to open the netlink socket and cannot be triggered by remote packets. AC:L - Every precondition — element timeout value, key ordering in the rbtree, insertion order of the interval end/start elements, and whether the batch commits or aborts — is fully controlled by the attacker within a single netlink batch, making the erroneous GC removal and subsequent double-free deterministic with no race to win. PR:L - The path is gated only by `netlink_net_capable(skb, CAP_NET_ADMIN)`, which resolves to `ns_capable(net->user_ns, CAP_NET_ADMIN)`; an ordinary unprivileged user obtains this via `unshare -Urn` on default-configured distributions. UI:N - The attacker performs the entire sequence — set creation, element expiry, and the triggering insert batch — from their own process with no victim action required. S:U - The corruption and any resulting privilege escalation occur entirely within the kernel's own security authority; no VM, IOMMU, or hypervisor boundary is crossed. C:H - On commit the freed element is read back by `nf_tables_setelem_notify()` and its contents are sent to userspace over netlink, and the double-free/UAF gives the attacker a reclaimed-slab read primitive over arbitrary kernel heap data. I:H - `nft_rbtree_activate()` writes into the freed object, `nft_set_elem_destroy()` double-frees it, and `nft_data_release()`/`nft_use_dec()` underflow the referenced chain/object use counters — a combination that yields controlled heap write primitives and full privilege escalation, as with the closely related exploited nftables refcount/double-free bugs. A:H - The use-after-free, double free, rbtree node corruption, and `nelems` underflow reliably produce kernel oopses or panics, and the sync GC path also hits `WARN_ON_ONCE` splats.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 8284a79136c384059e85e278da2210b809730287 to < c60d252949caf9aba537525195edae6bbabc35eb (affected · git)acaee227cf79c45a5d2d49c3e9a66333a462802c to < 10e9cb39313627f2eae4cd70c4b742074e998fd8 (affected · git)893cb3c3513cf661a0ff45fe0cfa83fe27131f76 to < 4cee42fcf54fec46b344681e7cc4f234bb22f85a (affected · git)50cbb9d195c197af671869c8cadce3bd483735a0 to < 2bab493a5624444ec6e648ad0d55a362bcb4c003 (affected · git)89a4d1a89751a0fbd520e64091873e19cc0979e8 to < 1296c110c5a0b45a8fcf58e7d18bc5da61a565cb (affected · git)f718863aca469a109895cb855e6b81fff4827d71 to < b734f7a47aeb32a5ba298e4ccc16bb0c52b6dbf7 (affected · git)f718863aca469a109895cb855e6b81fff4827d71 to < 6eb14441f10602fa1cf691da9d685718b68b78a9 (affected · git)f718863aca469a109895cb855e6b81fff4827d71 to < 60c0c230c6f046da536d3df8b39a20b9a9fd6af0 (affected · git)cd66733932399475fe933cb3ec03e687ed401462 (affected · git)5.4.262 to < 5.4.269 (affected · semver)5.10.190 to < 5.10.210 (affected · semver)5.15.124 to < 5.15.149 (affected · semver)6.1.43 to < 6.1.78 (affected · semver)6.4.8 to < 6.5 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.5 (affected)0 to < 6.5 (unaffected · semver)5.4.269 through 5.4.* (unaffected · semver)5.10.210 through 5.10.* (unaffected · semver)5.15.149 through 5.15.* (unaffected · semver)6.1.78 through 6.1.* (unaffected · semver)6.6.17 through 6.6.* (unaffected · semver)6.7.5 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-noinfo Not enough information
References
9- https://git.kernel.org/stable/c/10e9cb39313627f2eae4cd70c4b742074e998fd8
- https://git.kernel.org/stable/c/1296c110c5a0b45a8fcf58e7d18bc5da61a565cb
- https://git.kernel.org/stable/c/2bab493a5624444ec6e648ad0d55a362bcb4c003
- https://git.kernel.org/stable/c/4cee42fcf54fec46b344681e7cc4f234bb22f85a
- https://git.kernel.org/stable/c/60c0c230c6f046da536d3df8b39a20b9a9fd6af0
- https://git.kernel.org/stable/c/6eb14441f10602fa1cf691da9d685718b68b78a9
- https://git.kernel.org/stable/c/b734f7a47aeb32a5ba298e4ccc16bb0c52b6dbf7
- https://git.kernel.org/stable/c/c60d252949caf9aba537525195edae6bbabc35eb
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
Provider assertions
3Linux · cna
netfilter: nft_set_rbtree: skip end interval element from gc
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8fe1dc55f334123a4852398c3d94c59d5f688c3c62ac8d35cad1471f21318d22
- Ingested
- 23 Sep 2026, 08:20:20 UTC
- Source record
- Official CVE record