CVE-2026-31589
published critical CVSS 3.1 · 9.8mm: call ->free_folio() directly in folio_unmap_invalidate()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxfb7d3bc4149395c1ae99029c852eab6c28fc3c88 to < efc52947247a21bbf79059539bbbd40f4ea76f00 · fb7d3bc4149395c1ae99029c852eab6c28fc3c88 to < b667df39d98a7a24be7c2a40ff0863dac1ad2cd7 · fb7d3bc4149395c1ae99029c852eab6c28fc3c88 to < c330e65ea59c4805d6ab6757c4ddfe8c63acef31 · fb7d3bc4149395c1ae99029c852eab6c28fc3c88 to < 615d9bb2ccad42f9e21d837431e401db2e471195 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.18.27 through 6.18.* (unaffected · semver) · 6.19.14 through 6.19.* (unaffected · semver) · 7.0.1 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1754 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.0.3-1.1 | OPENSUSE-SU-2026:10703-1 |
| Ubuntu | noble | linux-azure-6.17 | Advisory build | 6.17.0-1022.22 | USN-8636-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.0.3-1.1 | OPENSUSE-SU-2026:10703-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.0.3-1.1 | OPENSUSE-SU-2026:10703-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.0.3-1.1 | OPENSUSE-SU-2026:10703-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.0.3-1.1 | OPENSUSE-SU-2026:10703-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.0.3-1.1 | OPENSUSE-SU-2026:10703-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.0.3-1.1 | OPENSUSE-SU-2026:10703-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.0.3-1.1 | OPENSUSE-SU-2026:10703-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.0.3-1.1 | OPENSUSE-SU-2026:10703-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.0.3-1.1 | OPENSUSE-SU-2026:10703-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.0.3-1.1 | OPENSUSE-SU-2026:10703-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.0.3-1.1 | OPENSUSE-SU-2026:10703-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.0.3-1.1 | OPENSUSE-SU-2026:10703-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.0.3-1.1 | OPENSUSE-SU-2026:10703-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.0.3-1.1 | OPENSUSE-SU-2026:10703-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.0.3-1.1 | OPENSUSE-SU-2026:10703-1 |
| Ubuntu | noble | linux-azure-6.17-cloud-tools-6.17.0-1022 | Advisory build | 6.17.0-1022.22 | USN-8636-1 |
| Ubuntu | noble | linux-azure-6.17-headers-6.17.0-1022 | Advisory build | 6.17.0-1022.22 | USN-8636-1 |
| Ubuntu | noble | linux-azure-6.17-tools-6.17.0-1022 | Advisory build | 6.17.0-1022.22 | USN-8636-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1019-realtime | Advisory build | 6.17.0-1019.22 | USN-8636-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1020-oracle | Advisory build | 6.17.0-1020.20 | USN-8636-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1020-oracle-64k | Advisory build | 6.17.0-1020.20 | USN-8636-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1022-azure | Advisory build | 6.17.0-1022.22 | USN-8636-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1022-gcp | Advisory build | 6.17.0-1022.25 | USN-8636-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1022-gcp-64k | Advisory build | 6.17.0-1022.25 | USN-8636-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1032-oem | Advisory build | 6.17.0-1032.32 | USN-8636-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-42-generic | Advisory build | 6.17.0-42.42 | USN-8636-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-42-generic-64k | Advisory build | 6.17.0-42.42 | USN-8636-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-28-generic-64k | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1019-realtime | Advisory build | 6.17.0-1019.22 | USN-8636-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1022-azure | Advisory build | 6.17.0-1022.22 | USN-8636-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-42-generic | Advisory build | 6.17.0-42.42 | USN-8636-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-gcp-6.17 | Advisory build | 6.17.0-1022.25 | USN-8636-1 |
| Ubuntu | noble | linux-gcp-6.17-headers-6.17.0-1022 | Advisory build | 6.17.0-1022.25 | USN-8636-1 |
| Ubuntu | noble | linux-gcp-6.17-tools-6.17.0-1022 | Advisory build | 6.17.0-1022.25 | USN-8636-1 |
| Ubuntu | noble | linux-headers-6.17.0-1019-realtime | Advisory build | 6.17.0-1019.22 | USN-8636-1 |
| Ubuntu | noble | linux-headers-6.17.0-1020-oracle | Advisory build | 6.17.0-1020.20 | USN-8636-2 |
| Ubuntu | noble | linux-headers-6.17.0-1020-oracle-64k | Advisory build | 6.17.0-1020.20 | USN-8636-2 |
| Ubuntu | noble | linux-headers-6.17.0-1022-azure | Advisory build | 6.17.0-1022.22 | USN-8636-1 |
| Ubuntu | noble | linux-headers-6.17.0-1022-gcp | Advisory build | 6.17.0-1022.25 | USN-8636-1 |
| Ubuntu | noble | linux-headers-6.17.0-1022-gcp-64k | Advisory build | 6.17.0-1022.25 | USN-8636-1 |
| Ubuntu | noble | linux-headers-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-headers-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-headers-6.17.0-1032-oem | Advisory build | 6.17.0-1032.32 | USN-8636-1 |
| Ubuntu | noble | linux-headers-6.17.0-42-generic | Advisory build | 6.17.0-42.42 | USN-8636-1 |
| Ubuntu | noble | linux-headers-6.17.0-42-generic-64k | Advisory build | 6.17.0-42.42 | USN-8636-1 |
| Ubuntu | noble | linux-headers-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-headers-7.0.0-28-generic-64k | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-hwe-6.17 | Advisory build | 6.17.0-42.42 | USN-8636-1 |
| Ubuntu | noble | linux-hwe-6.17-cloud-tools-6.17.0-42 | Advisory build | 6.17.0-42.42 | USN-8636-1 |
| Ubuntu | noble | linux-hwe-6.17-headers-6.17.0-42 | Advisory build | 6.17.0-42.42 | USN-8636-1 |
| Ubuntu | noble | linux-hwe-6.17-tools-6.17.0-42 | Advisory build | 6.17.0-42.42 | USN-8636-1 |
| Ubuntu | noble | linux-hwe-7.0 | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-hwe-7.0-cloud-tools-7.0.0-28 | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-hwe-7.0-headers-7.0.0-28 | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-hwe-7.0-tools-7.0.0-28 | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-image-6.17.0-42-generic | Advisory build | 6.17.0-42.42 | USN-8636-1 |
| Ubuntu | noble | linux-image-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1019-realtime | Advisory build | 6.17.0-1019.22 | USN-8636-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1020-oracle | Advisory build | 6.17.0-1020.20 | USN-8636-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1020-oracle-64k | Advisory build | 6.17.0-1020.20 | USN-8636-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1022-azure | Advisory build | 6.17.0-1022.22 | USN-8636-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1022-gcp | Advisory build | 6.17.0-1022.25 | USN-8636-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1022-gcp-64k | Advisory build | 6.17.0-1022.25 | USN-8636-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1032-oem | Advisory build | 6.17.0-1032.32 | USN-8636-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-42-generic | Advisory build | 6.17.0-42.42 | USN-8636-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-42-generic-64k | Advisory build | 6.17.0-42.42 | USN-8636-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-28-generic-64k | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-lib-rust-6.17.0-1022-gcp | Advisory build | 6.17.0-1022.25 | USN-8636-1 |
| Ubuntu | noble | linux-lib-rust-6.17.0-42-generic | Advisory build | 6.17.0-42.42 | USN-8636-1 |
| Ubuntu | noble | linux-lib-rust-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-modules-6.17.0-1019-realtime | Advisory build | 6.17.0-1019.22 | USN-8636-1 |
| Ubuntu | noble | linux-modules-6.17.0-1020-oracle | Advisory build | 6.17.0-1020.20 | USN-8636-2 |
| Ubuntu | noble | linux-modules-6.17.0-1020-oracle-64k | Advisory build | 6.17.0-1020.20 | USN-8636-2 |
| Ubuntu | noble | linux-modules-6.17.0-1022-azure | Advisory build | 6.17.0-1022.22 | USN-8636-1 |
| Ubuntu | noble | linux-modules-6.17.0-1022-gcp | Advisory build | 6.17.0-1022.25 | USN-8636-1 |
| Ubuntu | noble | linux-modules-6.17.0-1022-gcp-64k | Advisory build | 6.17.0-1022.25 | USN-8636-1 |
| Ubuntu | noble | linux-modules-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-modules-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-modules-6.17.0-1032-oem | Advisory build | 6.17.0-1032.32 | USN-8636-1 |
| Ubuntu | noble | linux-modules-6.17.0-42-generic | Advisory build | 6.17.0-42.42 | USN-8636-1 |
| Ubuntu | noble | linux-modules-6.17.0-42-generic-64k | Advisory build | 6.17.0-42.42 | USN-8636-1 |
| Ubuntu | noble | linux-modules-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-modules-7.0.0-28-generic-64k | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-modules-evdi-6.17.0-1032-oem | Advisory build | 6.17.0-1032.32 | USN-8636-1 |
| Ubuntu | noble | linux-modules-evdi-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1019-realtime | Advisory build | 6.17.0-1019.22 | USN-8636-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1020-oracle | Advisory build | 6.17.0-1020.20 | USN-8636-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1020-oracle-64k | Advisory build | 6.17.0-1020.20 | USN-8636-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1022-azure | Advisory build | 6.17.0-1022.22 | USN-8636-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1022-gcp | Advisory build | 6.17.0-1022.25 | USN-8636-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1022-gcp-64k | Advisory build | 6.17.0-1022.25 | USN-8636-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: mm: call ->free_folio() directly in folio_unmap_invalidate() We can only call filemap_free_folio() if we have a reference to (or hold a lock on) the mapping. Otherwise, we've already removed the folio from the mapping so it no longer pins the mapping and the mapping can be removed, causing a use-after-free when accessing mapping->a_ops. Follow the same pattern as __remove_mapping() and load the free_folio function pointer before dropping the lock on the mapping. That lets us make filemap_free_folio() static as this was the only caller outside filemap.c.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - The vulnerable path can be reached by remote NFS clients when nfsd is configured for NFSD_IO_DONTCACHE on a filesystem advertising FOP_DONTCACHE, causing remote READ/WRITE handling to set IOCB_DONTCACHE and enter the dropbehind invalidation path. This is a network-facing kernel service. AC:L - Once the affected DONTCACHE path is available, an attacker can repeatedly drive writeback/dropbehind and inode lifetime pressure with ordinary I/O operations. The race is attacker-influenced rather than dependent on an uncontrollable system state. PR:N - A remote NFS client can reach nfsd request processing without local shell access or kernel capabilities on the target; permissive or anonymous exports make the relevant file operations reachable without prior target privileges. When uncertain between N and L, N is the higher-severity defensible choice. UI:N - No victim user action is needed after the service and export are available. The attacker triggers the path by sending I/O requests. S:U - The vulnerability corrupts/uses freed memory inside the same kernel security authority that processes the request. It is not a VM escape, IOMMU bypass, or cross-authority boundary violation. C:H - The bug is a use-after-free of the address_space/inode-backed mapping when dereferencing mapping->a_ops after the folio no longer pins the mapping. Kernel UAFs are defensibly scored as high confidentiality impact because they can be shaped into kernel memory disclosure primitives. I:H - The stale mapping dereference includes an indirect free_folio function pointer lookup and potential call, making control-flow or memory corruption exploitation defensible. Kernel UAFs are scored high for integrity under the provided guidance. A:H - At minimum, dereferencing mapping->a_ops after the mapping has been freed can crash or oops the kernel. The attacker can trigger the vulnerable path repeatedly, so availability impact is high.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | fb7d3bc4149395c1ae99029c852eab6c28fc3c88 to < efc52947247a21bbf79059539bbbd40f4ea76f00 (affected · git)fb7d3bc4149395c1ae99029c852eab6c28fc3c88 to < b667df39d98a7a24be7c2a40ff0863dac1ad2cd7 (affected · git)fb7d3bc4149395c1ae99029c852eab6c28fc3c88 to < c330e65ea59c4805d6ab6757c4ddfe8c63acef31 (affected · git)fb7d3bc4149395c1ae99029c852eab6c28fc3c88 to < 615d9bb2ccad42f9e21d837431e401db2e471195 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.18.27 through 6.18.* (unaffected · semver)6.19.14 through 6.19.* (unaffected · semver)7.0.1 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
mm: call ->free_folio() directly in folio_unmap_invalidate()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6f8f7a8628639a80767a0fc032f9e8cc3e38656c34f7b9f4886f9e4c635d8829
- Ingested
- 23 Sep 2026, 09:09:24 UTC
- Source record
- Official CVE record