bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-98972

—unknown

linux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases

Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.

Reach linux · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

cgroup/cpuset: Don't access cpuset_cgrp_subsys.root in is_in_v2_mode()

After seeing the patch [1] to guard is_in_v2_mode() with RCU, it makes me realize that is_in_v2_mode() may be called in a context where a new cgroup filesystem is being rebound with stale cpuset_cgrp_subsys.root pointer. Avoid this potential UaF situation by adding a new cpuset_v2_mode flag which is set when the cpuset_v2_mode mount option is used. This flag is written into only when cpuset_bind() is being called with a stable cpuset_cgrp_subsys.root value. The is_in_v2_mode() helper is modified to read the new cpuset_v2_mode flag instead of accessing cpuset_cgrp_subsys.root directly.

  • [1]https://lore.kernel.org/lkml/20260929084124.626693-2-arighi@nvidia.com

Published 2026-10-23NVD

References 2
Review Av26.10.0x86_64Not affectedThe upstream fix is not in this tree: is_in_v2_mode() in kernel/cgroup/cpuset.c still reads cpuset_cgrp_subsys.root->flags, and no applied patch touches cpuset or cgroup.This build follows it · open the review →

Members of Kernel Kit decide. Sign in if you are one.