Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-37760

MEDIUM 5.5EPSS 13%

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

Mitigation

  • Upgrade Linux to 6.14 or later.

Who should check

  • Anyone running Linux >= 79636d2981b066acd945117387a9533f56411f6f, < b906c1ad25adce6ff35be19b65a1aa7d960fe1d7; >= 47b16d0462a460000b8f05dfb1292377ac48f3ca, < c103a75c61648203d731e3b97a6fbeea4003cb15; >= 47b16d0462a460000b8f05dfb1292377ac48f3ca, < 41e6ddcaa0f18dda4c3fadf22533775a30d6f72f; 53fd215f7886a1e8dea5a9ca1391dbb697fff601; >= 6.12.19, < 6.12.25; >= 6.13.7, < 6.14
  • Anyone running Linux 6.14

Vulnerability facts

Affected
Linux >= 79636d2981b066acd945117387a9533f56411f6f, < b906c1ad25adce6ff35be19b65a1aa7d960fe1d7; >= 47b16d0462a460000b8f05dfb1292377ac48f3ca, < c103a75c61648203d731e3b97a6fbeea4003cb15; >= 47b16d0462a460000b8f05dfb1292377ac48f3ca, < 41e6ddcaa0f18dda4c3fadf22533775a30d6f72f; 53fd215f7886a1e8dea5a9ca1391dbb697fff601; >= 6.12.19, < 6.12.25; >= 6.13.7, < 6.14; Linux 6.14
Fixed in
Linux 41e6ddcaa0f18dda4c3fadf22533775a30d6f72f, Linux 6.12.25, Linux 6.14
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 79636d2981b066acd945117387a9533f56411f6f, < b906c1ad25adce6ff35be19b65a1aa7d960fe1d7; >= 47b16d0462a460000b8f05dfb1292377ac48f3ca, < c103a75c61648203d731e3b97a6fbeea4003cb15; >= 47b16d0462a460000b8f05dfb1292377ac48f3ca, < 41e6ddcaa0f18dda4c3fadf22533775a30d6f72f; 53fd215f7886a1e8dea5a9ca1391dbb697fff601; >= 6.12.19, < 6.12.25; >= 6.13.7, < 6.14—cvelist
Linux6.14—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-37760. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37760.md
Affected: Linux >= 79636d2981b066acd945117387a9533f56411f6f, < b906c1ad25adce6ff35be19b65a1aa7d960fe1d7; >= 47b16d0462a460000b8f05dfb1292377ac48f3ca, < c103a75c61648203d731e3b97a6fbeea4003cb15; >= 47b16d0462a460000b8f05dfb1292377ac48f3ca, < 41e6ddcaa0f18dda4c3fadf22533775a30d6f72f; 53fd215f7886a1e8dea5a9ca13…
Fixed in: Linux 41e6ddcaa0f18dda4c3fadf22533775a30d6f72f, Linux 6.12.25, Linux 6.14

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-37760 being exploited?

There is no confirmed exploitation: CVE-2025-37760 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-37760?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-37760?

Linux >= 79636d2981b066acd945117387a9533f56411f6f, < b906c1ad25adce6ff35be19b65a1aa7d960fe1d7; >= 47b16d0462a460000b8f05dfb1292377ac48f3ca, < c103a75c61648203d731e3b97a6fbeea4003cb15; >= 47b16d0462a460000b8f05dfb1292377ac48f3ca, < 41e6ddcaa0f18dda4c3fadf22533775a30d6f72f; 53fd215f7886a1e8dea5a9ca1391dbb697fff601; >= 6.12.19, < 6.12.25; >= 6.13.7, < 6.14; Linux 6.14.

Is there a fix for CVE-2025-37760?

Yes. Fixed in Linux 41e6ddcaa0f18dda4c3fadf22533775a30d6f72f, Linux 6.12.25, Linux 6.14. Upgrade Linux to 6.14 or later.

How do I check if I'm affected by CVE-2025-37760?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors