Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38050

published

mm/hugetlb: fix kernel NULL pointer dereference when replacing free hugetlb folios

Published
18 Jun 2025, 09:33:32 UTC
Updated
17 Nov 2026, 10:23:56 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux94e63a6c43f3a7fa4253a67247e2956f64daa3c6 to < 64e40bc15cacbe2e59e0f9140978d94d68e72738 · 04f13d241b8b146b23038bffd907cb8278391d07 to < e97283978a9848190d451f7038ac399613445f79 · 04f13d241b8b146b23038bffd907cb8278391d07 to < 113ed54ad276c352ee5ce109bdcf0df118a43bda · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.14.9 through 6.14.* (unaffected · semver) · 6.15 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Ubuntu noble linux-aws-6.14 Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Ubuntu noble linux-aws-6.14-cloud-tools-6.14.0-1013 Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Ubuntu noble linux-aws-6.14-headers-6.14.0-1013 Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Ubuntu noble linux-aws-6.14-tools-6.14.0-1013 Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu noble linux-buildinfo-6.14.0-1012-oem Advisory build 6.14.0-1012.12 USN-7771-1
Ubuntu noble linux-buildinfo-6.14.0-1012-realtime Advisory build 6.14.0-1012.12~24.04.1 USN-7769-2
Ubuntu noble linux-buildinfo-6.14.0-1013-aws Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Ubuntu noble linux-buildinfo-6.14.0-1013-aws-64k Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Ubuntu noble linux-buildinfo-6.14.0-1013-oracle Advisory build 6.14.0-1013.13~24.04.1 USN-7789-1
Ubuntu noble linux-buildinfo-6.14.0-1013-oracle-64k Advisory build 6.14.0-1013.13~24.04.1 USN-7789-1
Ubuntu noble linux-buildinfo-6.14.0-1016-gcp Advisory build 6.14.0-1016.17~24.04.1 USN-7769-1
Ubuntu noble linux-buildinfo-6.14.0-1016-gcp-64k Advisory build 6.14.0-1016.17~24.04.1 USN-7769-1
Ubuntu noble linux-buildinfo-6.14.0-32-generic Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-buildinfo-6.14.0-32-generic-64k Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-cloud-tools-6.14.0-1012-realtime Advisory build 6.14.0-1012.12~24.04.1 USN-7769-2
Ubuntu noble linux-cloud-tools-6.14.0-1013-aws Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Ubuntu noble linux-cloud-tools-6.14.0-1013-aws-64k Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Ubuntu noble linux-cloud-tools-6.14.0-32-generic Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-gcp-6.14 Advisory build 6.14.0-1016.17~24.04.1 USN-7769-1
Ubuntu noble linux-gcp-6.14-headers-6.14.0-1016 Advisory build 6.14.0-1016.17~24.04.1 USN-7769-1
Ubuntu noble linux-gcp-6.14-tools-6.14.0-1016 Advisory build 6.14.0-1016.17~24.04.1 USN-7769-1
Ubuntu noble linux-headers-6.14.0-1012-oem Advisory build 6.14.0-1012.12 USN-7771-1
Ubuntu noble linux-headers-6.14.0-1012-realtime Advisory build 6.14.0-1012.12~24.04.1 USN-7769-2
Ubuntu noble linux-headers-6.14.0-1013-aws Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Ubuntu noble linux-headers-6.14.0-1013-aws-64k Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Ubuntu noble linux-headers-6.14.0-1013-oracle Advisory build 6.14.0-1013.13~24.04.1 USN-7789-1
Ubuntu noble linux-headers-6.14.0-1013-oracle-64k Advisory build 6.14.0-1013.13~24.04.1 USN-7789-1
Ubuntu noble linux-headers-6.14.0-1016-gcp Advisory build 6.14.0-1016.17~24.04.1 USN-7769-1
Ubuntu noble linux-headers-6.14.0-1016-gcp-64k Advisory build 6.14.0-1016.17~24.04.1 USN-7769-1
Ubuntu noble linux-headers-6.14.0-32-generic Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-headers-6.14.0-32-generic-64k Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-hwe-6.14 Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-hwe-6.14-cloud-tools-6.14.0-32 Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-hwe-6.14-headers-6.14.0-32 Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-hwe-6.14-tools-6.14.0-32 Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-image-6.14.0-32-generic Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-image-unsigned-6.14.0-1012-oem Advisory build 6.14.0-1012.12 USN-7771-1
Ubuntu noble linux-image-unsigned-6.14.0-1012-realtime Advisory build 6.14.0-1012.12~24.04.1 USN-7769-2
Ubuntu noble linux-image-unsigned-6.14.0-1013-aws Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Ubuntu noble linux-image-unsigned-6.14.0-1013-aws-64k Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Ubuntu noble linux-image-unsigned-6.14.0-1013-oracle Advisory build 6.14.0-1013.13~24.04.1 USN-7789-1
Ubuntu noble linux-image-unsigned-6.14.0-1013-oracle-64k Advisory build 6.14.0-1013.13~24.04.1 USN-7789-1
Ubuntu noble linux-image-unsigned-6.14.0-1016-gcp Advisory build 6.14.0-1016.17~24.04.1 USN-7769-1
Ubuntu noble linux-image-unsigned-6.14.0-1016-gcp-64k Advisory build 6.14.0-1016.17~24.04.1 USN-7769-1
Ubuntu noble linux-image-unsigned-6.14.0-32-generic Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-image-unsigned-6.14.0-32-generic-64k Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-lib-rust-6.14.0-1016-gcp Advisory build 6.14.0-1016.17~24.04.1 USN-7769-1
Ubuntu noble linux-lib-rust-6.14.0-32-generic Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-modules-6.14.0-1012-oem Advisory build 6.14.0-1012.12 USN-7771-1
Ubuntu noble linux-modules-6.14.0-1012-realtime Advisory build 6.14.0-1012.12~24.04.1 USN-7769-2
Ubuntu noble linux-modules-6.14.0-1013-aws Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Ubuntu noble linux-modules-6.14.0-1013-aws-64k Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Ubuntu noble linux-modules-6.14.0-1013-oracle Advisory build 6.14.0-1013.13~24.04.1 USN-7789-1
Ubuntu noble linux-modules-6.14.0-1013-oracle-64k Advisory build 6.14.0-1013.13~24.04.1 USN-7789-1
Ubuntu noble linux-modules-6.14.0-1016-gcp Advisory build 6.14.0-1016.17~24.04.1 USN-7769-1
Ubuntu noble linux-modules-6.14.0-1016-gcp-64k Advisory build 6.14.0-1016.17~24.04.1 USN-7769-1
Ubuntu noble linux-modules-6.14.0-32-generic Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-modules-6.14.0-32-generic-64k Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-modules-extra-6.14.0-1012-realtime Advisory build 6.14.0-1012.12~24.04.1 USN-7769-2
Ubuntu noble linux-modules-extra-6.14.0-1013-aws Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Ubuntu noble linux-modules-extra-6.14.0-1013-aws-64k Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Ubuntu noble linux-modules-extra-6.14.0-1013-oracle Advisory build 6.14.0-1013.13~24.04.1 USN-7789-1
Ubuntu noble linux-modules-extra-6.14.0-1013-oracle-64k Advisory build 6.14.0-1013.13~24.04.1 USN-7789-1
Ubuntu noble linux-modules-extra-6.14.0-1016-gcp Advisory build 6.14.0-1016.17~24.04.1 USN-7769-1
Ubuntu noble linux-modules-extra-6.14.0-1016-gcp-64k Advisory build 6.14.0-1016.17~24.04.1 USN-7769-1
Ubuntu noble linux-modules-extra-6.14.0-32-generic Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-modules-ipu6-6.14.0-1012-oem Advisory build 6.14.0-1012.12 USN-7771-1
Ubuntu noble linux-modules-ipu6-6.14.0-32-generic Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-modules-ipu7-6.14.0-1012-oem Advisory build 6.14.0-1012.12 USN-7771-1
Ubuntu noble linux-modules-ipu7-6.14.0-32-generic Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-modules-iwlwifi-6.14.0-1012-oem Advisory build 6.14.0-1012.12 USN-7771-1
Ubuntu noble linux-modules-iwlwifi-6.14.0-1012-realtime Advisory build 6.14.0-1012.12~24.04.1 USN-7769-2
Ubuntu noble linux-modules-iwlwifi-6.14.0-32-generic Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-modules-usbio-6.14.0-1012-oem Advisory build 6.14.0-1012.12 USN-7771-1
Ubuntu noble linux-modules-usbio-6.14.0-32-generic Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-modules-vision-6.14.0-1012-oem Advisory build 6.14.0-1012.12 USN-7771-1
Ubuntu noble linux-modules-vision-6.14.0-32-generic Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-oem-6.14 Advisory build 6.14.0-1012.12 USN-7771-1
Ubuntu noble linux-oem-6.14-headers-6.14.0-1012 Advisory build 6.14.0-1012.12 USN-7771-1
Ubuntu noble linux-oem-6.14-tools-6.14.0-1012 Advisory build 6.14.0-1012.12 USN-7771-1
Ubuntu noble linux-oracle-6.14 Advisory build 6.14.0-1013.13~24.04.1 USN-7789-1
Ubuntu noble linux-oracle-6.14-headers-6.14.0-1013 Advisory build 6.14.0-1013.13~24.04.1 USN-7789-1
Ubuntu noble linux-oracle-6.14-tools-6.14.0-1013 Advisory build 6.14.0-1013.13~24.04.1 USN-7789-1
Ubuntu noble linux-realtime-6.14 Advisory build 6.14.0-1012.12~24.04.1 USN-7769-2
Ubuntu noble linux-realtime-6.14-cloud-tools-6.14.0-1012 Advisory build 6.14.0-1012.12~24.04.1 USN-7769-2
Ubuntu noble linux-realtime-6.14-headers-6.14.0-1012 Advisory build 6.14.0-1012.12~24.04.1 USN-7769-2
Ubuntu noble linux-realtime-6.14-tools-6.14.0-1012 Advisory build 6.14.0-1012.12~24.04.1 USN-7769-2
Ubuntu noble linux-tools-6.14.0-1012-oem Advisory build 6.14.0-1012.12 USN-7771-1
Ubuntu noble linux-tools-6.14.0-1012-realtime Advisory build 6.14.0-1012.12~24.04.1 USN-7769-2
Ubuntu noble linux-tools-6.14.0-1013-aws Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Ubuntu noble linux-tools-6.14.0-1013-aws-64k Advisory build 6.14.0-1013.13~24.04.1 USN-7769-3
Ubuntu noble linux-tools-6.14.0-1013-oracle Advisory build 6.14.0-1013.13~24.04.1 USN-7789-1
Ubuntu noble linux-tools-6.14.0-1013-oracle-64k Advisory build 6.14.0-1013.13~24.04.1 USN-7789-1
Ubuntu noble linux-tools-6.14.0-1016-gcp Advisory build 6.14.0-1016.17~24.04.1 USN-7769-1
Ubuntu noble linux-tools-6.14.0-1016-gcp-64k Advisory build 6.14.0-1016.17~24.04.1 USN-7769-1
Ubuntu noble linux-tools-6.14.0-32-generic Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu noble linux-tools-6.14.0-32-generic-64k Advisory build 6.14.0-32.32~24.04.1 USN-7769-3
Ubuntu plucky linux-azure Advisory build 6.14.0-1012.12 USN-7770-1
Ubuntu plucky linux-azure-cloud-tools-6.14.0-1012 Advisory build 6.14.0-1012.12 USN-7770-1
Ubuntu plucky linux-azure-headers-6.14.0-1012 Advisory build 6.14.0-1012.12 USN-7770-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: mm/hugetlb: fix kernel NULL pointer dereference when replacing free hugetlb folios A kernel crash was observed when replacing free hugetlb folios: BUG: kernel NULL pointer dereference, address: 0000000000000028 PGD 0 P4D 0 Oops: Oops: 0000 [#1] SMP NOPTI CPU: 28 UID: 0 PID: 29639 Comm: test_cma.sh Tainted 6.15.0-rc6-zp #41 PREEMPT(voluntary) RIP: 0010:alloc_and_dissolve_hugetlb_folio+0x1d/0x1f0 RSP: 0018:ffffc9000b30fa90 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000342cca RCX: ffffea0043000000 RDX: ffffc9000b30fb08 RSI: ffffea0043000000 RDI: 0000000000000000 RBP: ffffc9000b30fb20 R08: 0000000000001000 R09: 0000000000000000 R10: ffff88886f92eb00 R11: 0000000000000000 R12: ffffea0043000000 R13: 0000000000000000 R14: 00000000010c0200 R15: 0000000000000004 FS: 00007fcda5f14740(0000) GS:ffff8888ec1d8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000028 CR3: 0000000391402000 CR4: 0000000000350ef0 Call Trace: <TASK> replace_free_hugepage_folios+0xb6/0x100 alloc_contig_range_noprof+0x18a/0x590 ? srso_return_thunk+0x5/0x5f ? down_read+0x12/0xa0 ? srso_return_thunk+0x5/0x5f cma_range_alloc.constprop.0+0x131/0x290 __cma_alloc+0xcf/0x2c0 cma_alloc_write+0x43/0xb0 simple_attr_write_xsigned.constprop.0.isra.0+0xb2/0x110 debugfs_attr_write+0x46/0x70 full_proxy_write+0x62/0xa0 vfs_write+0xf8/0x420 ? srso_return_thunk+0x5/0x5f ? filp_flush+0x86/0xa0 ? srso_return_thunk+0x5/0x5f ? filp_close+0x1f/0x30 ? srso_return_thunk+0x5/0x5f ? do_dup2+0xaf/0x160 ? srso_return_thunk+0x5/0x5f ksys_write+0x65/0xe0 do_syscall_64+0x64/0x170 entry_SYSCALL_64_after_hwframe+0x76/0x7e There is a potential race between __update_and_free_hugetlb_folio() and replace_free_hugepage_folios(): CPU1 CPU2 __update_and_free_hugetlb_folio replace_free_hugepage_folios folio_test_hugetlb(folio) -- It's still hugetlb folio. __folio_clear_hugetlb(folio) hugetlb_free_folio(folio) h = folio_hstate(folio) -- Here, h is NULL pointer When the above race condition occurs, folio_hstate(folio) returns NULL, and subsequent access to this NULL pointer will cause the system to crash. To resolve this issue, execute folio_hstate(folio) under the protection of the hugetlb_lock lock, ensuring that folio_hstate(folio) does not return NULL.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

7

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 94e63a6c43f3a7fa4253a67247e2956f64daa3c6 to < 64e40bc15cacbe2e59e0f9140978d94d68e72738 (affected · git)04f13d241b8b146b23038bffd907cb8278391d07 to < e97283978a9848190d451f7038ac399613445f79 (affected · git)04f13d241b8b146b23038bffd907cb8278391d07 to < 113ed54ad276c352ee5ce109bdcf0df118a43bda (affected · git)Default: unaffected Linux · cna
Linux Linux 6.14 (affected)0 to < 6.14 (unaffected · semver)6.14.9 through 6.14.* (unaffected · semver)6.15 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

mm/hugetlb: fix kernel NULL pointer dereference when replacing free hugetlb folios

Provenance

Schema
5.2
Searchable
yes
Content hash
50ed364d5ac7133922830d26a4ec66db13c191411d8c68bd072053bbdfcb5216
Ingested
17 Nov 2026, 10:32:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected