{"id":"CVE-2025-39910","aliases":[],"cve":{"records":[{"id":"CVE-2025-39910","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2025-04-16T07:20:57.147Z","published":"2025-10-01T07:44:33.759Z","modified":"2026-10-30T12:22:36.341Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-10-30T12:22:36.341Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-01-14T17:42:47.091Z"}],"references":[{"url":"https://git.kernel.org/stable/c/c136f2e4f2edd58a62a3425d4dd373d82834d1f9","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/9598c83a50a5f9d57fd0c12fc08d9425c1ce9537","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/aa1b4b7a1b92743297f9da741424df4703a8e11b","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/33b95d90427cb4babf32059e323a6d0c027610fe","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/79357cd06d41d0f5a11b17d7c86176e395d10ef2","tags":[],"source":"Linux"}],"weaknesses":[{"id":"CWE-667","description":"CWE-667 Improper Locking","source":"CISA-ADP"}],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.12.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.16.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.17"}]}]}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-01-14T17:42:43.252504Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"mm/vmalloc, mm/kasan: respect gfp mask in kasan_populate_vmalloc()","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/vmalloc, mm/kasan: respect gfp mask in kasan_populate_vmalloc()\n\nkasan_populate_vmalloc() and its helpers ignore the caller's gfp_mask and\nalways allocate memory using the hardcoded GFP_KERNEL flag.  This makes\nthem inconsistent with vmalloc(), which was recently extended to support\nGFP_NOFS and GFP_NOIO allocations.\n\nPage table allocations performed during shadow population also ignore the\nexternal gfp_mask.  To preserve the intended semantics of GFP_NOFS and\nGFP_NOIO, wrap the apply_to_page_range() calls into the appropriate\nmemalloc scope.\n\nxfs calls vmalloc with GFP_NOFS, so this bug could lead to deadlock.\n\nThere was a report here\nhttps://lkml.kernel.org/r/686ea951.050a0220.385921.0016.GAE@google.com\n\nThis patch:\n - Extends kasan_populate_vmalloc() and helpers to take gfp_mask;\n - Passes gfp_mask down to alloc_pages_bulk() and __get_free_page();\n - Enforces GFP_NOFS/NOIO semantics with memalloc_*_save()/restore()\n   around apply_to_page_range();\n - Updates vmalloc.c and percpu allocator call sites accordingly.","score":5.5,"severity":"medium","published":"2025-10-01T07:44:33.759Z","modified":"2026-10-30T12:22:36.341Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"451769ebb7e792c3404db53b3c2a422990de654e","status":"affected","lessThan":"c136f2e4f2edd58a62a3425d4dd373d82834d1f9","versionType":"git"},{"version":"451769ebb7e792c3404db53b3c2a422990de654e","status":"affected","lessThan":"9598c83a50a5f9d57fd0c12fc08d9425c1ce9537","versionType":"git"},{"version":"451769ebb7e792c3404db53b3c2a422990de654e","status":"affected","lessThan":"aa1b4b7a1b92743297f9da741424df4703a8e11b","versionType":"git"},{"version":"451769ebb7e792c3404db53b3c2a422990de654e","status":"affected","lessThan":"33b95d90427cb4babf32059e323a6d0c027610fe","versionType":"git"},{"version":"451769ebb7e792c3404db53b3c2a422990de654e","status":"affected","lessThan":"79357cd06d41d0f5a11b17d7c86176e395d10ef2","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2025-39910"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"5.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.17","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.16.8","status":"unaffected","lessThanOrEqual":"6.16.*","versionType":"semver"},{"version":"6.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2025-39910"}],"remediation":[],"references":["https://git.kernel.org/stable/c/c136f2e4f2edd58a62a3425d4dd373d82834d1f9","https://git.kernel.org/stable/c/9598c83a50a5f9d57fd0c12fc08d9425c1ce9537","https://git.kernel.org/stable/c/aa1b4b7a1b92743297f9da741424df4703a8e11b","https://git.kernel.org/stable/c/33b95d90427cb4babf32059e323a6d0c027610fe","https://git.kernel.org/stable/c/79357cd06d41d0f5a11b17d7c86176e395d10ef2"],"sources":[{"name":"CVE","id":"CVE-2025-39910","modified":"2026-10-30T12:22:36.341Z","url":"https://www.cve.org/CVERecord?id=CVE-2025-39910"}],"assessments":[{"source":"CISA-ADP","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5}],"sourceAffected":[],"observedAt":"2026-10-30T12:40:20.666Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T08:35:32.065Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":null}