Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
11cd8638c37f6c400cc472cc52b6eccb505aba6e to < 9d0efb88f6b425dc6f2c1bd437f552781858b40caffected11cd8638c37f6c400cc472cc52b6eccb505aba6e to < 502e1497694cfc1f446b991b105bf06fcd664158affected11cd8638c37f6c400cc472cc52b6eccb505aba6e to < 03568df8fcac0c2a9dda78fcf00766c968a4f062affected11cd8638c37f6c400cc472cc52b6eccb505aba6e to < 36677752d17ca2f8f37f51fedf7a0b7793441b30affected11cd8638c37f6c400cc472cc52b6eccb505aba6e to < e3f7bb9c121eb5601639dc15790f152d5a628f74affected11cd8638c37f6c400cc472cc52b6eccb505aba6e to < 9c52ebe9c89d41c56fcb5d94efe9e539414175a9affected
Linux Linux
Default version status: affected
4.14affected0 to < 4.14unaffected5.10.276 to ≤ 5.10.*unaffected5.15.227 to ≤ 5.15.*unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/9d0efb88f6b425dc6f2c1bd437f552781858b40c ↗
- https://git.kernel.org/stable/c/502e1497694cfc1f446b991b105bf06fcd664158 ↗
- https://git.kernel.org/stable/c/03568df8fcac0c2a9dda78fcf00766c968a4f062 ↗
- https://git.kernel.org/stable/c/36677752d17ca2f8f37f51fedf7a0b7793441b30 ↗
- https://git.kernel.org/stable/c/e3f7bb9c121eb5601639dc15790f152d5a628f74 ↗
- https://git.kernel.org/stable/c/9c52ebe9c89d41c56fcb5d94efe9e539414175a9 ↗