What’s Vulnerable › Vulnerabilities

CVE-2024-47668: lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()

Description

In the Linux kernel, the following vulnerability has been resolved: lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc() If we need to increase the tree depth, allocate a new node, and then race with another thread that increased the tree depth before us, we'll still have a preallocated node that might be used later. If we then use that node for a new non-root node, it'll still have a pointer to the old root instead of being zeroed - fix this by zeroing it in the cmpxchg failure path.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.226, 5.15.167, 5.4.284, 6.1.110. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-47668 or the next vulnerability affects your stack