Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected fadae2953072e9005c5f1d64e1049edb043494dc before 84b3212b166b446faea27ebebb7161405ffceef9; affected fadae2953072e9005c5f1d64e1049edb043494dc before 108963978a681c0c468d279cac2b930c27672877; affected fadae2953072e9005c5f1d64e1049edb043494dc before 459771c9cf30f378bdbd30fc65d17f7eb931bb59; affected fadae2953072e9005c5f1d64e1049edb043494dc before ae9d4caf6f133e884cf5fcda4982c493b35e5194; affected fadae2953072e9005c5f1d64e1049edb043494dc before 6c29a8ba084e89499ca77b947e07ae817f9c16ce; affected fadae2953072e9005c5f1d64e1049edb043494dc before 5f5b604e1e6bde4e889199168ee80fe8306d06ad; affected fadae2953072e9005c5f1d64e1049edb043494dc before ed5b030931292c94133437ac5e5ff580e498eabd; affected fadae2953072e9005c5f1d64e1049edb043494dc before 8d878059924f12c1bc24556a92ec56add74de3c8 |
| Linux / Linux | affected 4.19; unaffected 0 before 4.19; unaffected 5.10.259 through 5.10.*; unaffected 5.15.210 through 5.15.*; unaffected 6.1.176 through 6.1.*; unaffected 6.6.143 through 6.6.*; unaffected 6.12.94 through 6.12.*; unaffected 6.18.36 through 6.18.*; unaffected 7.0.13 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/84b3212b166b446faea27ebebb7161405ffceef9
- https://git.kernel.org/stable/c/108963978a681c0c468d279cac2b930c27672877
- https://git.kernel.org/stable/c/459771c9cf30f378bdbd30fc65d17f7eb931bb59
- https://git.kernel.org/stable/c/ae9d4caf6f133e884cf5fcda4982c493b35e5194
- https://git.kernel.org/stable/c/6c29a8ba084e89499ca77b947e07ae817f9c16ce
- https://git.kernel.org/stable/c/5f5b604e1e6bde4e889199168ee80fe8306d06ad
- https://git.kernel.org/stable/c/ed5b030931292c94133437ac5e5ff580e498eabd
- https://git.kernel.org/stable/c/8d878059924f12c1bc24556a92ec56add74de3c8
ADP enrichment
No English description supplied.
No references supplied.