mm/util: don't read __page_2 for order-1 folios in snapshot_page()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.13, Kernel 7441d6348c70738e9ed307510db171c7a9b3f4bf, Kernel 9668ffe0e2a5e2399dce281620198a2e415871fc and 3 more.
In the Linux kernel, the following vulnerability has been resolved: mm/util: don't read __page_2 for order-1 folios in snapshot_page() snapshot_page() currently reads __page_2 after checking nr_pages > 1, but it should only do so when nr_pages > 2. If an order-1 folio is allocated at the end of a vmemmap section, __page_2 will not exist and reading it will cause a fault. During DLPAR memory remove on a 22 TB ppc64le LPAR, snapshot_page() oopsed on the page isolation path while reading an order-1 folio's __page_2 from an adjacent absent section (unmapped vmemmap). Fix this to avoid reading memmap that doesn't exist (e.g., a vmemmap hole).
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.12.111 <6.13, >=31a31da8a6187f1e5448ec73222e01d7d3fed4aa <7441d6348c70738e9ed307510db171c7a9b3f4bf, >=31a31da8a6187f1e5448ec73222e01d7d3fed4aa <9668ffe0e2a5e2399dce281620198a2e415871fc, >=31a31da8a6187f1e5448ec73222e01d7d3fed4aa <c649324571206a30949765320b91ccdb4c1722dc, =4117738bd42c8ab58090729daf0f8472a936f662, =6.15 | 6.13, 7441d6348c70738e9ed307510db171c7a9b3f4bf, 9668ffe0e2a5e2399dce281620198a2e415871fc, c649324571206a30949765320b91ccdb4c1722dc |
| linux-kernel: Kernel | >=6.15.0 <6.18.44, >=6.19.0 <7.1.8, >=6.12.111 <6.13 | 6.18.44, 7.1.8, 6.13 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket