VDB

CVE-2026-98060

CVE-2026-98060 PUBLISHED

bpf: Reject resilient lock operations in rbtree callbacks

Reported by linux · Published September 25, 2026

In the Linux kernel, the following vulnerability has been resolved: bpf: Reject resilient lock operations in rbtree callbacks __bpf_rbtree_add() keeps parent and link pointers live across calls to the program-supplied comparison callback. The verifier therefore requires the root's lock to remain held throughout the callback. The helper path enforces this rule for bpf_spin_lock() and bpf_spin_unlock(), but the resilient lock kfunc argument path does not. Since resilient locks may protect BPF rbtree roots, a callback can release the root lock and let another CPU remove and free the node referenced by the in-progress tree walk. The walk then resumes using freed pointers. Reject resilient lock kfuncs in an rbtree comparison callback, matching the existing policy for the spin lock helpers. Resilient-lock-protected trees remain valid when their comparison callbacks leave lock state alone.

EPSS 0.16% · 5.4th percentile

Risk scores

EPSS Score
0.16%
5.4th percentile

Affected products

VendorProductVersions
LinuxLinux0de2046137f976e7302d43ac01d9894d07ac1fff, 0de2046137f976e7302d43ac01d9894d07ac1fff, 0de2046137f976e7302d43ac01d9894d07ac1fff
LinuxLinux6.15, 0, 6.18.53
linuxlinux_kernel6.15, 6.15, 6.15
amazon:2023bpftool6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-modules-extra0
LinuxLinux7.2.7, 0de2046137f976e7302d43ac01d9894d07ac1fff, 6.15
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023kernel6.180
amazon:2023microvm-kernel6.180
LinuxLinux kernel
amazon:2023perf6.180
amazon:2023python3-perf6.180

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (7 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98060
vulnetix vdb fixes CVE-2026-98060

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98060/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›