mm/huge_memory: update file PMD counter before folio_put()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 108963978a681c0c468d279cac2b930c27672877, Kernel 459771c9cf30f378bdbd30fc65d17f7eb931bb59, Kernel 5f5b604e1e6bde4e889199168ee80fe8306d06ad and 5 more.
In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: update file PMD counter before folio_put() __split_huge_pmd_locked() updates the file/shmem RSS counter after dropping the PMD mapping's folio reference. If folio_put() drops the last reference, mm_counter_file() can later read freed folio state via folio_test_swapbacked(). Move the counter update before folio_put().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.19, >=fadae2953072e9005c5f1d64e1049edb043494dc <108963978a681c0c468d279cac2b930c27672877, >=fadae2953072e9005c5f1d64e1049edb043494dc <459771c9cf30f378bdbd30fc65d17f7eb931bb59, >=fadae2953072e9005c5f1d64e1049edb043494dc <5f5b604e1e6bde4e889199168ee80fe8306d06ad, >=fadae2953072e9005c5f1d64e1049edb043494dc <6c29a8ba084e89499ca77b947e07ae817f9c16ce, >=fadae2953072e9005c5f1d64e1049edb043494dc <84b3212b166b446faea27ebebb7161405ffceef9, >=fadae2953072e9005c5f1d64e1049edb043494dc <8d878059924f12c1bc24556a92ec56add74de3c8, >=fadae2953072e9005c5f1d64e1049edb043494dc <ae9d4caf6f133e884cf5fcda4982c493b35e5194, >=fadae2953072e9005c5f1d64e1049edb043494dc <ed5b030931292c94133437ac5e5ff580e498eabd | 108963978a681c0c468d279cac2b930c27672877, 459771c9cf30f378bdbd30fc65d17f7eb931bb59, 5f5b604e1e6bde4e889199168ee80fe8306d06ad, 6c29a8ba084e89499ca77b947e07ae817f9c16ce, 84b3212b166b446faea27ebebb7161405ffceef9, 8d878059924f12c1bc24556a92ec56add74de3c8, ae9d4caf6f133e884cf5fcda4982c493b35e5194, ed5b030931292c94133437ac5e5ff580e498eabd |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket