Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: dax/fsdev: clear vmemmap_shift when binding static pgmap Clear pgmap->vmemmap_shift for static DAX devices. When rebinding a static device from device_dax (which may set vmemmap_shift based on alignment) to fsdev_dax, the stale vmemmap_shift persists on the shared pgmap. Explicitly zero it before devm_memremap_pages() so the vmemmap is built for order-0 folios as fsdev requires.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected d5406bd458b0ac10b1301a4d5801d85c8f648637 before d298a0513aaf7d48f2a9f4a90041de910750cfcf; affected d5406bd458b0ac10b1301a4d5801d85c8f648637 before e0239229931faf9ca3367e3befcf16f77b2cd45b |
| Linux / Linux | affected 7.1; unaffected 0 before 7.1; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.