PT-2026-152531

CVE-2026-99651

·

Published

2026-11-20

·

Updated

2026-11-20

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
mm/ksm: reset the unstable trees of all nodes
Each full scan resets ksm nr node ids unstable tree roots. Enabling merge across nodes resets this count to 1, even if per-node roots were previously allocated.
So when toggling "merge across nodes" 0 -> 1 -> 0, a scan that starts while the setting is 1 and continues after switching back to 0 can encounter stale unstable tree roots, resulting in UAF.
Only root is allowed to change "merge across nodes", and the documented sequence is: "merge across nodes setting can be changed only when there are no ksm shared pages in the system: set run 2 to unmerge pages first, then to 1 after changing merge across nodes, to remerge according to the new setting."
Let's fix it by tracking in ksm nr node ids the actual number of allocated tree roots.
remove all stable nodes() and ksm check stable tree() will now scan more tree roots (skipping the empty ones), which is harmless.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾