5.5

CVE-2025-39910: mm/vmalloc, mm/kasan: respect gfp mask in kasan_populate_vmalloc()

Modified
AliasesUBUNTU-CVE-2025-39910DEBIAN-CVE-2025-39910CGA-2cm5-57qc-c5p9
Published 01-10-2025Last modified 30-10-2026

Vulnerability summary

CVE-2025-39910 is a medium (CVSS 5.5) Improper Locking vulnerability in linux. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 4.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.15%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 4

Timeline

  1. 01-10-2025
    PublishedVulnerability first disclosed.
  2. 30-10-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: mm/vmalloc, mm/kasan: respect gfp mask in kasan_populate_vmalloc() kasan_populate_vmalloc() and its helpers ignore the caller's gfp_mask and always allocate memory using the hardcoded GFP_KERNEL flag. This makes them inconsistent with vmalloc(), which was recently extended to support GFP_NOFS and GFP_NOIO allocations. Page table allocations performed during shadow population also ignore the external gfp_mask. To preserve the intended semantics of GFP_NOFS and GFP_NOIO, wrap the apply_to_page_range() calls into the appropriate memalloc scope. xfs calls vmalloc with GFP_NOFS, so this bug could lead to deadlock. There was a report here https://lkml.kernel.org/r/[email protected] This patch: - Extends kasan_populate_vmalloc() and helpers to take gfp_mask; - Passes gfp_mask down to alloc_pages_bulk() and __get_free_page(); - Enforces GFP_NOFS/NOIO semantics with memalloc_*_save()/restore() around apply_to_page_range(); - Updates vmalloc.c and percpu allocator call sites accordingly.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.15%

Chance of exploitation in the next 30 days

Percentile

4%

Versus all other CVEs

30-day change

Increase +0.05 pp

From 0.10% on 21-10-2026

21-10-202620-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu124 products
  • linuxAll versions (No fix recorded) | < 6.8.0-151.151
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1070.76
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Chainguard5 products
  • linux-aws-6.12< 6.12.77-r2 | < 6.12.68-r1 | < 6.12.65-r2 | < 6.12.70-r0 | < 6.12.72-r1 | < 6.12.62-r1 | < 6.12.74-r0 | < 6.12.65-r0 | < 6.12.62-r2 | < 6.12.78-r0 | < 6.12.71-r0 | < 6.12.76-r0 | < 6.12.67-r0 | < 6.12.77-r1 | < 6.12.66-r0 | < 6.12.68-r0 | < 6.12.72-r0 | < 6.12.69-r0 | < 6.12.77-r0 | < 6.12.74-r1 | < 6.12.63-r0 | < 6.12.65-r1 | < 6.12.80-r0
  • linux-azure-6.12< 6.12.69-r0 | < 6.12.62-r2 | < 6.12.71-r0 | < 6.12.80-r0 | < 6.12.65-r2 | < 6.12.65-r4 | < 6.12.77-r2 | < 6.12.66-r0 | < 6.12.74-r1 | < 6.12.63-r0 | < 6.12.62-r1 | < 6.12.65-r3 | < 6.12.74-r0 | < 6.12.70-r0 | < 6.12.76-r0 | < 6.12.72-r0 | < 6.12.68-r0 | < 6.12.67-r0 | < 6.12.65-r1 | < 6.12.78-r0 | < 6.12.77-r0 | < 6.12.77-r1
  • linux-gcp-6.12< 6.12.71-r0 | < 6.12.72-r0 | < 6.12.76-r0 | < 6.12.69-r0 | < 6.12.63-r0 | < 6.12.68-r0 | < 6.12.77-r1 | < 6.12.66-r0 | < 6.12.62-r2 | < 6.12.65-r2 | < 6.12.74-r0 | < 6.12.65-r1 | < 6.12.77-r0 | < 6.12.80-r0 | < 6.12.78-r0 | < 6.12.68-r1 | < 6.12.65-r0 | < 6.12.74-r1 | < 6.12.70-r0 | < 6.12.62-r0 | < 6.12.67-r0 | < 6.12.77-r2 | < 6.12.62-r1
  • linux-qemu-6.12< 6.12.69-r0 | < 6.12.77-r2 | < 6.12.71-r0 | < 6.12.70-r0 | < 6.12.65-r1 | < 6.12.66-r0 | < 6.12.77-r0 | < 6.12.78-r0 | < 6.12.67-r0 | < 6.12.74-r0 | < 6.12.74-r1 | < 6.12.65-r2 | < 6.12.68-r0 | < 6.12.76-r0 | < 6.12.72-r0 | < 6.12.80-r0 | < 6.12.77-r1
  • linux-vmware-6.12< 6.12.77-r1 | < 6.12.76-r0 | < 6.12.67-r0 | < 6.12.70-r0 | < 6.12.71-r0 | < 6.12.77-r2 | < 6.12.72-r0 | < 6.12.66-r0 | < 6.12.80-r0 | < 6.12.78-r0 | < 6.12.74-r0 | < 6.12.69-r0 | < 6.12.68-r1 | < 6.12.65-r2 | < 6.12.65-r1 | < 6.12.74-r1 | < 6.12.68-r0 | < 6.12.77-r0
Debian2 products
  • linuxAll versions (No fix recorded) | < 6.1.192-1 | < 6.12.115-2 | < 6.16.8-1
  • linux-6.12< 6.12.115-2~deb12u1
Linux2 products
  • linux≥ 451769ebb7e792c3404db53b3c2a422990de654e, < c136f2e4f2edd58a62a3425d4dd373d82834d1f9 | ≥ 451769ebb7e792c3404db53b3c2a422990de654e, < 9598c83a50a5f9d57fd0c12fc08d9425c1ce9537 | ≥ 451769ebb7e792c3404db53b3c2a422990de654e, < aa1b4b7a1b92743297f9da741424df4703a8e11b | ≥ 451769ebb7e792c3404db53b3c2a422990de654e, < 33b95d90427cb4babf32059e323a6d0c027610fe | ≥ 451769ebb7e792c3404db53b3c2a422990de654e, < 79357cd06d41d0f5a11b17d7c86176e395d10ef2 | 5.17
  • linux_kernel≥ 5.17, < 6.16.8 | 6.17:rc1 | 6.17:rc2 | 6.17:rc3 | 6.17:rc4 | 6.17:rc5

4 vendors · 133 products

References

15 links
Show all 15 references