Skip to content
Threat Brief

← All advisories

CVE-2026-98047

Severity unknownNo known exploitationFix available

bpf: Check ancestor frames for rbtree callbacks

Record last updated

CVSS score

None

No score published yet

EPSS, chance of exploitation in 30 days

0.2%

Higher than 12% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Check ancestor frames for rbtree callbacks bpf_rbtree_add() invokes its comparator while the caller holds the root lock. The native insertion code retains raw parent and link pointers across the callback, so the verifier prohibits unlocking, consuming tree nodes, or changing RCU state from that callback. in_rbtree_lock_required_cb() only checks the innermost verifier frame. Static subprogram calls are permitted while holding a spin lock, and such a call pushes a frame without in_callback_fn set. Consequently, all callback restrictions disappear in the nested frame. The subprogram can unlock the tree, remove and drop the node being compared, then relock. Native insertion resumes with the stale parent pointer and links freed memory into the tree. Walk all active frames for the rbtree callback instead. Benign static subprograms remain permitted, while callback restrictions follow execution into nested frames.

Patching and mitigation

Patch status
Fix available (source: Microsoft MSRC)
Fix documented (source date)
Mitigation
None documented
Vendor guidance
msrc.microsoft.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
LinuxLinuxfrom a44b1334aadd82203f661adb9adb41e53ad0e8d1 before 252e9b476af723edd299a5c71c389ec018e46656252e9b476af723edd299a5c71c389ec018e46656CVE Program
LinuxLinuxfrom a44b1334aadd82203f661adb9adb41e53ad0e8d1 before b545fa447e09e6844868deb2bee228827fe54d15b545fa447e09e6844868deb2bee228827fe54d15CVE Program
LinuxLinuxfrom a44b1334aadd82203f661adb9adb41e53ad0e8d1 before 2410cb2ac0416dd2795a81984c8c73d7250bd8c42410cb2ac0416dd2795a81984c8c73d7250bd8c4CVE Program
LinuxLinuxfrom a44b1334aadd82203f661adb9adb41e53ad0e8d1 before 369f4ce734570bdfedaa4b5ca50e2a3f6a892728369f4ce734570bdfedaa4b5ca50e2a3f6a892728CVE Program
LinuxLinux6.9Not documentedCVE Program
Microsoftazl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0Not documented0:6.18.57-1.1.azl4Microsoft MSRC
LinuxLinux (unaffected)from 6.12.114 up to and including 6.12.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.18.53 up to and including 6.18.*Not documentedCVE Program
LinuxLinux (unaffected)from 7.2.7 up to and including 7.2.*Not documentedCVE Program
LinuxLinux (unaffected)7.3Not documentedCVE Program
LinuxLinux (unaffected)all versions before 6.9Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by Linux

    Source: CVE Program (opens in a new tab)

  2. Advisory

    Microsoft advisory published

    Source: Microsoft MSRC (opens in a new tab)

  3. Advisory change

    Microsoft advisory revised (2.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  4. Advisory change

    Microsoft advisory revised (3.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  5. Patch

    Fix documented by Microsoft MSRC

    Source: Microsoft MSRC (opens in a new tab)

Vendor guidance and references