CVE-2025-68356
publishedgfs2: Prevent recursive memory reclaim
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxdc0b9435238c1a68150c798c9c7a1b5d7414cbb9 to < 66eb53cecc5f83183535bbfb2fa6464322049b61 · dc0b9435238c1a68150c798c9c7a1b5d7414cbb9 to < edb2b255618621dc83d0ec23150e16b2c697077f · dc0b9435238c1a68150c798c9c7a1b5d7414cbb9 to < 9c0960ed112398bdb6c60ccf6e6b583bc59acede · dc0b9435238c1a68150c798c9c7a1b5d7414cbb9 to < 49e7347f4644d031306d56cb4d51e467cbdcbc69 · dc0b9435238c1a68150c798c9c7a1b5d7414cbb9 to < 2c5f4a53476e3cab70adc77b38942c066bd2c17c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.63 through 6.12.* (unaffected · semver) · 6.17.13 through 6.17.* (unaffected · semver) · 6.18.2 through 6.18.* (unaffected · semver) · 6.19 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 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
| Oracle Linux | 9 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-108.64.6.3.el9uek | ELSA-2026-50112 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: gfs2: Prevent recursive memory reclaim Function new_inode() returns a new inode with inode->i_mapping->gfp_mask set to GFP_HIGHUSER_MOVABLE. This value includes the __GFP_FS flag, so allocations in that address space can recurse into filesystem memory reclaim. We don't want that to happen because it can consume a significant amount of stack memory. Worse than that is that it can also deadlock: for example, in several places, gfs2_unstuff_dinode() is called inside filesystem transactions. This calls filemap_grab_folio(), which can allocate a new folio, which can trigger memory reclaim. If memory reclaim recurses into the filesystem and starts another transaction, a deadlock will ensue. To fix these kinds of problems, prevent memory reclaim from recursing into filesystem code by making sure that the gfp_mask of inode address spaces doesn't include __GFP_FS. The "meta" and resource group address spaces were already using GFP_NOFS as their gfp_mask (which doesn't include __GFP_FS). The default value of GFP_HIGHUSER_MOVABLE is less restrictive than GFP_NOFS, though. To avoid being overly limiting, use the default value and only knock off the __GFP_FS flag. I'm not sure if this will actually make a difference, but it also shouldn't hurt. This patch is loosely based on commit ad22c7a043c2 ("xfs: prevent stack overflows from page cache allocation"). Fixes xfstest generic/273.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | dc0b9435238c1a68150c798c9c7a1b5d7414cbb9 to < 66eb53cecc5f83183535bbfb2fa6464322049b61 (affected · git)dc0b9435238c1a68150c798c9c7a1b5d7414cbb9 to < edb2b255618621dc83d0ec23150e16b2c697077f (affected · git)dc0b9435238c1a68150c798c9c7a1b5d7414cbb9 to < 9c0960ed112398bdb6c60ccf6e6b583bc59acede (affected · git)dc0b9435238c1a68150c798c9c7a1b5d7414cbb9 to < 49e7347f4644d031306d56cb4d51e467cbdcbc69 (affected · git)dc0b9435238c1a68150c798c9c7a1b5d7414cbb9 to < 2c5f4a53476e3cab70adc77b38942c066bd2c17c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.63 through 6.12.* (unaffected · semver)6.17.13 through 6.17.* (unaffected · semver)6.18.2 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/2c5f4a53476e3cab70adc77b38942c066bd2c17c
- https://git.kernel.org/stable/c/49e7347f4644d031306d56cb4d51e467cbdcbc69
- https://git.kernel.org/stable/c/66eb53cecc5f83183535bbfb2fa6464322049b61
- https://git.kernel.org/stable/c/9c0960ed112398bdb6c60ccf6e6b583bc59acede
- https://git.kernel.org/stable/c/edb2b255618621dc83d0ec23150e16b2c697077f
Provider assertions
1Linux · cna
gfs2: Prevent recursive memory reclaim
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d9ed42792b86878992158563b13b4d86f9cf26f6a60ffbc86e310289a87a6221
- Ingested
- 21 Oct 2026, 12:48:59 UTC
- Source record
- Official CVE record