Description
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().
CVSS breakdown
CVSS 3.1
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected products
- Linux / Linuxfadae2953072e9005c5f1d64e1049edb043494dc – 84b3212b166b446faea27ebebb7161405ffceef9
- Linux / Linuxfadae2953072e9005c5f1d64e1049edb043494dc – 108963978a681c0c468d279cac2b930c27672877
- Linux / Linuxfadae2953072e9005c5f1d64e1049edb043494dc – 459771c9cf30f378bdbd30fc65d17f7eb931bb59
- Linux / Linuxfadae2953072e9005c5f1d64e1049edb043494dc – ae9d4caf6f133e884cf5fcda4982c493b35e5194
- Linux / Linuxfadae2953072e9005c5f1d64e1049edb043494dc – 6c29a8ba084e89499ca77b947e07ae817f9c16ce
- Linux / Linuxfadae2953072e9005c5f1d64e1049edb043494dc – 5f5b604e1e6bde4e889199168ee80fe8306d06ad
- Linux / Linuxfadae2953072e9005c5f1d64e1049edb043494dc – ed5b030931292c94133437ac5e5ff580e498eabd
- Linux / Linuxfadae2953072e9005c5f1d64e1049edb043494dc – 8d878059924f12c1bc24556a92ec56add74de3c8
- Linux / Linux4.19 – 4.19
- Linux / Linux0 – 4.19
- Linux / Linux5.10.259 – 5.10.*
- Linux / Linux5.15.210 – 5.15.*
- Linux / Linux6.1.176 – 6.1.*
- Linux / Linux6.6.143 – 6.6.*
- Linux / Linux6.12.94 – 6.12.*
- Linux / Linux6.18.36 – 6.18.*
- Linux / Linux7.0.13 – 7.0.*
- Linux / Linux7.1 – *
References
- MISChttps://git.kernel.org/stable/c/84b3212b166b446faea27ebebb7161405ffceef9
- MISChttps://git.kernel.org/stable/c/108963978a681c0c468d279cac2b930c27672877
- MISChttps://git.kernel.org/stable/c/459771c9cf30f378bdbd30fc65d17f7eb931bb59
- MISChttps://git.kernel.org/stable/c/ae9d4caf6f133e884cf5fcda4982c493b35e5194
- MISChttps://git.kernel.org/stable/c/6c29a8ba084e89499ca77b947e07ae817f9c16ce
- MISChttps://git.kernel.org/stable/c/5f5b604e1e6bde4e889199168ee80fe8306d06ad
- MISChttps://git.kernel.org/stable/c/ed5b030931292c94133437ac5e5ff580e498eabd
- MISChttps://git.kernel.org/stable/c/8d878059924f12c1bc24556a92ec56add74de3c8