CVE-2025-39910mm/vmalloc, mm/kasan: respect gfp mask in kasan_populate_vmalloc()
- 5.5MediumCVSS base score
- 0.15%Exploitation in 30 daysEPSS · top 96% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 6 months later
· 6 months later
Published
- 13 months later
· 13 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.15% · top 96% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 451769ebb7e792c3404db53b3c2a422990de654e – < c136f2e4f2edd58a62a3425d4dd373d82834d1f9
- affected 451769ebb7e792c3404db53b3c2a422990de654e – < 9598c83a50a5f9d57fd0c12fc08d9425c1ce9537
- affected 451769ebb7e792c3404db53b3c2a422990de654e – < aa1b4b7a1b92743297f9da741424df4703a8e11b
- affected 451769ebb7e792c3404db53b3c2a422990de654e – < 33b95d90427cb4babf32059e323a6d0c027610fe
- affected 451769ebb7e792c3404db53b3c2a422990de654e – < 79357cd06d41d0f5a11b17d7c86176e395d10ef2
- affected 5.17
- unaffected < 5.17
- unaffected 6.1.191 – ≤ 6.1.*
- unaffected 6.6.160 – ≤ 6.6.*
- unaffected 6.12.114 – ≤ 6.12.*
- unaffected 6.16.8 – ≤ 6.16.*
- unaffected 6.17 – ≤ *
References
References5
- https://git.kernel.org/stable/c/c136f2e4f2edd58a62a3425d4dd373d82834d1f9 (opens in a new tab)
- https://git.kernel.org/stable/c/9598c83a50a5f9d57fd0c12fc08d9425c1ce9537 (opens in a new tab)
- https://git.kernel.org/stable/c/aa1b4b7a1b92743297f9da741424df4703a8e11b (opens in a new tab)
- https://git.kernel.org/stable/c/33b95d90427cb4babf32059e323a6d0c027610fe (opens in a new tab)
- https://git.kernel.org/stable/c/79357cd06d41d0f5a11b17d7c86176e395d10ef2 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-32869 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-39910)Record last updated .