CVE-2026-74344
published high CVSS 3.1 · 7.8bpf: Clear rb node linkage when freeing bpf_rb_root
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux9c395c1b99bd23f74bc628fa000480c49593d17f to < 628a469d2a73e3844e5ee80aa002e232b0fd6493 · 9c395c1b99bd23f74bc628fa000480c49593d17f to < ff3ab3fb956027ab40aca1fb3298cf20dc290273 · 9c395c1b99bd23f74bc628fa000480c49593d17f to < 2eb39de4962f842d653e96818ae372665cd481fd · 9c395c1b99bd23f74bc628fa000480c49593d17f to < 574612793bed416f6c05fe7c9b50e9eb0441997e · 9c395c1b99bd23f74bc628fa000480c49593d17f to < 4a7910ee060d8ce55612f5b3cc267f3a265a3cec · 1d0675957d35ac5e514073481beda62e4e1e2ec5 · 6.2.15 to < 6.3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.3 (affected) · 0 to < 6.3 (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.114 through 6.12.* (unaffected · semver) · 6.18.40 through 6.18.* (unaffected · semver) · 7.1.5 through 7.1.* (unaffected · semver) · 7.2 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 | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2071 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2110 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.115-2~deb12u1 | DLA-4904-1 |
| Ubuntu | jammy | linux-aws-6.8 | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | trixie | linux | Advisory build | 6.12.115-2 | DSA-6602-1 |
| Ubuntu | jammy | linux-aws-6.8-cloud-tools-6.8.0-1070 | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-aws-6.8-headers-6.8.0-1070 | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-aws-6.8-tools-6.8.0-1070 | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-azure-6.8 | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-6.8-cloud-tools-6.8.0-1074 | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-6.8-headers-6.8.0-1074 | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-6.8-tools-6.8.0-1074 | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-fde-6.8 | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-fde-6.8-cloud-tools-6.8.0-1072 | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-fde-6.8-headers-6.8.0-1072 | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-fde-6.8-tools-6.8.0-1072 | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-oracle | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-oracle-64k | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1074-gcp | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1074-gcp-64k | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-gcp-6.8 | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-gcp-6.8-headers-6.8.0-1074 | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-gcp-6.8-tools-6.8.0-1074 | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1068-oracle | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1068-oracle-64k | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-headers-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-headers-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1074-gcp | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1074-gcp-64k | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-ibm-6.8 | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-ibm-6.8-headers-6.8.0-1070 | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-ibm-6.8-tools-6.8.0-1070 | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-oracle | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-oracle-64k | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1074-gcp | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1074-gcp-64k | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-oracle | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-oracle-64k | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1074-gcp | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1074-gcp-64k | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1068-oracle | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1068-oracle-64k | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1074-gcp | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1074-gcp-64k | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-involflt-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-involflt-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-iwlwifi-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-iwlwifi-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-nvidia-fs-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-nvidia-fs-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-nvidia-6.8 | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-nvidia-6.8-headers-6.8.0-1068 | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-nvidia-6.8-tools-6.8.0-1068 | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-oracle-6.8 | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-oracle-6.8-headers-6.8.0-1068 | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-oracle-6.8-tools-6.8.0-1068 | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-realtime-6.8 | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-realtime-6.8-cloud-tools-6.8.1-1065 | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-realtime-6.8-headers-6.8.1-1065 | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-realtime-6.8-tools-6.8.1-1065 | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Clear rb node linkage when freeing bpf_rb_root bpf_rb_root_free() detaches the root by copying the current rb_root_cached and then replacing the live root with RB_ROOT_CACHED. It then walks the copied root and drops each object contained in the tree. This leaves the rb node state intact while dropping the object. If the object is refcounted and survives the drop, its bpf_rb_node_kern still contains an owner pointer to the freed root and stale rb tree linkage. If a later bpf_rb_root allocation reuses the same address, bpf_rbtree_remove() can incorrectly pass the owner check and call rb_erase_cached() on a node whose rb pointers belong to the old tree. Mirror the list draining behavior by marking nodes as busy while the root is being detached, then clear the rb node and release the owner before dropping the containing object. This makes surviving nodes unowned and safe to reject from remove or accept for a later add.
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 bug is reached only through BPF kfuncs (bpf_rbtree_remove) and bpf_rb_root_free during BPF map/object teardown, all gated by the bpf(2) syscall and local BPF program loading; there is no network, adjacent-radio, or physical-device entry path. AC:L - An attacker fully controls refcount retention (bpf_refcount_acquire), when bpf_rb_root_free runs (map close/delete or bpf_obj_drop), and subsequent bpf_rb_root reallocation to reuse the freed address; no victim timing or uncontrollable heap layout is required beyond normal BPF allocator reuse. PR:L - Exploitation requires loading BPF programs/maps using bpf_rb_root and refcounted graph nodes, which the kernel enforces with CAP_BPF at map BTF setup; on typical hosts this is reachable by an unprivileged user via user namespaces (CAP_BPF inside the namespace), not init-namespace root only. UI:N - No action by another user or administrator is required; the attacker loads their own BPF program, populates the rbtree, triggers teardown, and calls bpf_rbtree_remove on stale nodes. S:U - Impact is kernel heap corruption and local privilege escalation within the same kernel security boundary; it is not a VM escape, IOMMU bypass, or cross-authority sandbox breakout. C:H - Stale bpf_rb_node linkage lets bpf_rbtree_remove pass the owner check and invoke rb_erase_cached on bogus rb_left/rb_right/parent pointers, corrupting adjacent kernel memory in ways that can be turned into arbitrary kernel memory disclosure. I:H - rb_erase_cached on nodes whose rb pointers still reference a detached tree rewrites arbitrary kernel rbtree/list metadata and enables heap grooming for control-flow hijack and local root, not merely a bounded or transient modification. A:H - Calling rb_erase_cached with inconsistent rb pointers commonly causes kernel BUG/oops/panic or wedged allocator state, giving reliable system crash or hang even before full exploitation.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 9c395c1b99bd23f74bc628fa000480c49593d17f to < 628a469d2a73e3844e5ee80aa002e232b0fd6493 (affected · git)9c395c1b99bd23f74bc628fa000480c49593d17f to < ff3ab3fb956027ab40aca1fb3298cf20dc290273 (affected · git)9c395c1b99bd23f74bc628fa000480c49593d17f to < 2eb39de4962f842d653e96818ae372665cd481fd (affected · git)9c395c1b99bd23f74bc628fa000480c49593d17f to < 574612793bed416f6c05fe7c9b50e9eb0441997e (affected · git)9c395c1b99bd23f74bc628fa000480c49593d17f to < 4a7910ee060d8ce55612f5b3cc267f3a265a3cec (affected · git)1d0675957d35ac5e514073481beda62e4e1e2ec5 (affected · git)6.2.15 to < 6.3 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.3 (affected)0 to < 6.3 (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.114 through 6.12.* (unaffected · semver)6.18.40 through 6.18.* (unaffected · semver)7.1.5 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/2eb39de4962f842d653e96818ae372665cd481fd
- https://git.kernel.org/stable/c/4a7910ee060d8ce55612f5b3cc267f3a265a3cec
- https://git.kernel.org/stable/c/574612793bed416f6c05fe7c9b50e9eb0441997e
- https://git.kernel.org/stable/c/628a469d2a73e3844e5ee80aa002e232b0fd6493
- https://git.kernel.org/stable/c/ff3ab3fb956027ab40aca1fb3298cf20dc290273
Provider assertions
2Linux · cna
bpf: Clear rb node linkage when freeing bpf_rb_root
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9b046e4e60c44d546fad037e95134fe385da83e19ba48d90b336532195b5d877
- Ingested
- 21 Oct 2026, 12:50:06 UTC
- Source record
- Official CVE record