In the Linux kernel, the following vulnerability has been resolved:
mm/mmzone: read the zoneref slot once in zonelist_zone()
Memory hotplug rebuilds zonelists in place while allocations walk them, so a zoneref slot can change between two loads of it.
zonelist_zone() loads the slot with a plain access. The compiler may load it again later instead of keeping the zone it already read, so a caller can check one zone and then use another, or the NULL terminator.
Use READ_ONCE(). Callers that take a zone from a slot and keep using it, such as get_page_from_freelist() with ac->preferred_zoneref, need that single load.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub