In the Linux kernel, the following vulnerability has been resolved: cgroup/cpuset: Don't access cpuset_cgrp_subsys.root in is_in_v2_mode() After… (CVE-2026-98972)
Description
A use-after-free (UaF) vulnerability in the Linux kernel's cgroup cpuset subsystem was resolved by avoiding direct access to a potentially stale pointer in the is_in_v2_mode() function. The fix introduces a new flag to safely indicate cpuset v2 mode, preventing unsafe memory access during cgroup filesystem rebind operations.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's cgroup cpuset subsystem involved the is_in_v2_mode() function accessing cpuset_cgrp_subsys.root directly, which could be stale during certain operations such as rebinding the cgroup filesystem. This could lead to a use-after-free condition. The patch replaces this direct access with a new cpuset_v2_mode flag that is set only when the cpuset_v2_mode mount option is used and is updated safely during cpuset_bind() calls with a stable root pointer. This change prevents the use-after-free scenario by avoiding dereferencing a potentially invalid pointer.
Potential Impact
The vulnerability could cause a use-after-free condition in the kernel, potentially leading to kernel crashes or undefined behavior. However, no known exploits in the wild have been reported. The impact is limited to kernel stability and security related to cgroup cpuset management.
Mitigation Recommendations
A patch has been applied to the Linux kernel to fix this vulnerability by introducing a safe flag for cpuset v2 mode and avoiding unsafe pointer dereferences. Users should update to the fixed kernel version once available. No additional mitigation is indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-pv9v-q67q-mhqc
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98972"]
Threat ID: 6adbaacfd73cc49347b2056a
Added to database: 10/23/2026, 18:43:27 UTC
Last enriched: 10/23/2026, 18:57:20 UTC
Last updated: 10/23/2026, 22:45:13 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.