Read the docs
TI-2025-25113 Aliases CVE-2025-37760GHSA-p4vj-hhfc-5j8x

mm/vma: add give_up_on_oom option on modify/merge, use in uffd release

Priority LOW 24Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.

Summary

In the Linux kernel, the following vulnerability has been resolved: mm/vma: add give_up_on_oom option on modify/merge, use in uffd release Currently, if a VMA merge fails due to an OOM condition arising on commit merge or a failure to duplicate anon_vma's, we report this so the caller can handle it. However there are cases where the caller is only ostensibly trying a merge, and doesn't mind if it fails due to this condition. Since we do not want to introduce an implicit assumption that we only actually modify VMAs after OOM conditions might arise, add a 'give up on oom' option and make an explicit contract that, should this flag be set, we absolutely will not modify any VMAs should OOM arise and just bail out. Since it'd be very unusual for a user to try to vma_modify() with this flag set but be specifying a range within a VMA which ends up being split (which can fail due to rlimit issues, not only OOM), we add a debug warning for this condition. The motivating reason for this is uffd release - syzkaller (and Pedro Falcato's VERY astute analysis) found a way in which an injected fault on allocation, triggering an OOM condition on commit merge, would result in uffd code becoming confused and treating an error value as if it were a VMA pointer. To avoid this, we make use of this new VMG flag to ensure that this never occurs, utilising the fact that, should we be clearing entire VMAs, we do not wish an OOM event to be reported to us. Many thanks to Pedro Falcato for his excellent analysis and Jann Horn for his insightful and intelligent analysis of the situation, both of whom were instrumental in this fix.

Why it matters now

EPSS 0.00199 9th percentileScored 2026-11-07
Fix Partial Linux (Linux): 6.12.25, 6.14, 6.14.4 +1Red Hat: 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux6.12.19 to before 6.12.25; 6.13.7 to before 6.146.12.25, 6.14Patch availableCNA
LinuxLinux6.14 and later6.12.25, 6.14.4, 6.15Patch availableCNA
  • Linux VendorLinux Affected 6.12.19 to before 6.12.25; 6.13.7 to before 6.14 Fixed in 6.12.25, 6.14 Patch available CNA
  • Linux VendorLinux Affected 6.14 and later Fixed in 6.12.25, 6.14.4, 6.15 Patch available CNA

CPE configurations NVD · 6

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*6.12.19 to before 6.12.25; 6.13.7 to before 6.14; 6.14.1 to before 6.14.4VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*6.14VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:*6.14 rc6VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:*6.14 rc7VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*6.15 rc1VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*6.15 rc2VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 6.12.19 to before 6.12.25; 6.13.7 to before 6.14; 6.14.1 to before 6.14.4 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:* Versions 6.14 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:* Versions 6.14 rc6 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:* Versions 6.14 rc7 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:* Versions 6.15 rc1 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:* Versions 6.15 rc2 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 6.12.25, 6.14
  • Fix · CNA Linux (Linux) Fixed in 6.12.25, 6.14.4, 6.15

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Not affected: 4 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-37760
  2. 2026-10-03 Alias added: GHSA-p4vj-hhfc-5j8x

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources