{"vuln_id":"CVE-2026-98060","aliases":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject resilient lock operations in rbtree callbacks\n\n__bpf_rbtree_add() keeps parent and link pointers live across calls to the\nprogram-supplied comparison callback. The verifier therefore requires the\nroot's lock to remain held throughout the callback.\n\nThe helper path enforces this rule for bpf_spin_lock() and\nbpf_spin_unlock(), but the resilient lock kfunc argument path does not.\nSince resilient locks may protect BPF rbtree roots, a callback can release\nthe root lock and let another CPU remove and free the node referenced by\nthe in-progress tree walk. The walk then resumes using freed pointers.\n\nReject resilient lock kfuncs in an rbtree comparison callback, matching\nthe existing policy for the spin lock helpers. Resilient-lock-protected\ntrees remain valid when their comparison callbacks leave lock state alone.","published_at":"2026-09-25T11:17:35Z","modified_at":"2026-11-18T13:19:15.623000Z","first_seen_at":"2026-11-21T19:15:46.891927Z","severity":"high","severity_source":"nvd","cvss_score":7.8,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-416"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00161,"epss_percentile":0.05325,"nvd_status":"Analyzed","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98060"},"matched_alias":null,"items":[{"id":3612,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-98060: In the Linux kernel, the following vulnerability has been resolved: bpf: Reject resilient lock operations in rbtree callbacks __bpf_rbtree_add() keeps parent a…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject resilient lock operations in rbtree callbacks\n\n__bpf_rbtree_add() keeps parent and link pointers live across calls to the\nprogram-supplied comparison callback. The verifier therefore requires the\nroot's lock to remain held throughout the callback.\n\nThe helper path enforces this rule for bpf_spin_lock() and\nbpf_spin_unlock(), but the resilient lock kfunc argument path does not.\nSince resilient locks may protect BPF rbtree roots, a callback can release\nthe root lock and let another CPU remove and free the node referenced by\nthe in-progress tree walk. The walk then resumes using freed pointers.\n\nReject resilient lock kfuncs in an rbtree comparison callback, matching\nthe existing policy for the spin lock helpers. Resilient-lock-protected\ntrees remain valid when their comparison callbacks leave lock state alone.\n\nReferences:\nhttps://git.kernel.org/stable/c/71930202a0a0c49f0a3b45b41907a074cb780266\nhttps://git.kernel.org/stable/c/7b7b8b5960102566bd625ae829d1f330c5b5d104\nhttps://git.kernel.org/stable/c/cc2e065ed206aecd9b94564779244f3ffb26e356","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98060","published_at":"2026-09-25T11:17:35Z","updated_at":"2026-11-18T13:19:15.623000Z","fetched_at":"2026-11-21T19:15:31.479163Z","severity":"high","cvss_score":7.8,"epss":0.00161,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-98060","vuln_ids":["CVE-2026-98060"],"tags":["CWE-416"],"cluster_id":3911,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3612","html":"https://vulnwatch.ve1ve2.com/item/3612"}}]}