# CVE-2026-53189: mm/huge_memory: update file PMD counter before folio_put()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-25T08:39:01.708Z
- Modified: 2026-10-19T20:19:07.837Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from fadae2953072e9005c5f1d64e1049edb043494dc before 84b3212b166b446faea27ebebb7161405ffceef9; from fadae2953072e9005c5f1d64e1049edb043494dc before 108963978a681c0c468d279cac2b930c27672877; from fadae2953072e9005c5f1d64e1049edb043494dc before 459771c9cf30f378bdbd30fc65d17f7eb931bb59; from fadae2953072e9005c5f1d64e1049edb043494dc before ae9d4caf6f133e884cf5fcda4982c493b35e5194; from fadae2953072e9005c5f1d64e1049edb043494dc before 6c29a8ba084e89499ca77b947e07ae817f9c16ce; from fadae2953072e9005c5f1d64e1049edb043494dc before 5f5b604e1e6bde4e889199168ee80fe8306d06ad; from fadae2953072e9005c5f1d64e1049edb043494dc before ed5b030931292c94133437ac5e5ff580e498eabd; from fadae2953072e9005c5f1d64e1049edb043494dc before 8d878059924f12c1bc24556a92ec56add74de3c8; 4.19 (not affected: before 4.19; from 5.10.259 up to 5.10.*; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.94 up to 6.12.*; from 6.18.36 up to 6.18.*; from 7.0.13 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 4.19 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.94; from 6.13 before 6.18.36; from 6.19 before 7.0.13; 7.1

## References

- <https://git.kernel.org/stable/c/84b3212b166b446faea27ebebb7161405ffceef9> (patch)
- <https://git.kernel.org/stable/c/108963978a681c0c468d279cac2b930c27672877> (patch)
- <https://git.kernel.org/stable/c/459771c9cf30f378bdbd30fc65d17f7eb931bb59> (patch)
- <https://git.kernel.org/stable/c/ae9d4caf6f133e884cf5fcda4982c493b35e5194> (patch)
- <https://git.kernel.org/stable/c/6c29a8ba084e89499ca77b947e07ae817f9c16ce> (patch)
- <https://git.kernel.org/stable/c/5f5b604e1e6bde4e889199168ee80fe8306d06ad> (patch)
- <https://git.kernel.org/stable/c/ed5b030931292c94133437ac5e5ff580e498eabd> (patch)
- <https://git.kernel.org/stable/c/8d878059924f12c1bc24556a92ec56add74de3c8> (patch)

## Sources

- CVE List: [CVE-2026-53189](https://www.cve.org/CVERecord?id=CVE-2026-53189), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-53189](https://nvd.nist.gov/vuln/detail/CVE-2026-53189), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-53189 · Whole record: https://cve.day/CVE-2026-53189.json · Rebuilt by cve.day 2026-11-25T22:59:26.064Z
