{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0de2046137f976e7302d43ac01d9894d07ac1fff"
            },
            {
              "fixed": "cc2e065ed206aecd9b94564779244f3ffb26e356"
            },
            {
              "fixed": "71930202a0a0c49f0a3b45b41907a074cb780266"
            },
            {
              "fixed": "7b7b8b5960102566bd625ae829d1f330c5b5d104"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.15.0"
            },
            {
              "fixed": "6.18.53"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98060.json"
  },
  "details": "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.",
  "id": "CVE-2026-98060",
  "modified": "2026-09-27T03:30:29.290938654Z",
  "published": "2026-09-25T10:24:05.380Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/71930202a0a0c49f0a3b45b41907a074cb780266"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7b7b8b5960102566bd625ae829d1f330c5b5d104"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cc2e065ed206aecd9b94564779244f3ffb26e356"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98060.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98060"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "bpf: Reject resilient lock operations in rbtree callbacks"
}