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-2024-40914

published

mm/huge_memory: don't unpoison huge_zero_folio

Published
12 Jul 2024, 12:24:58 UTC
Updated
23 May 2026, 15:50:52 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf8f836100fff594cea8a0a027affb9d5520f09a7 to < 688bb46ad339497b5b7f527b6636d2afe04b46af · 478d134e9506c7e9bfe2830ed03dd85e97966313 to < b2494506f30675245a3e6787281f79601af087bf · 478d134e9506c7e9bfe2830ed03dd85e97966313 to < 0d73477af964dbd7396163a13817baf13940bca9 · 478d134e9506c7e9bfe2830ed03dd85e97966313 to < d72b7711919de49d92a67dfc844a6cf4c23dd794 · 478d134e9506c7e9bfe2830ed03dd85e97966313 to < fe6f86f4b40855a130a19aa589f9ba7f650423f4 · 13d9b8cd12f37d133b07ea5b323583e8a0c6b738 · 5.15.41 to < 5.15.162 · 5.17.9 to < 5.18 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 5.15.162 through 5.15.* (unaffected · semver) · 6.1.95 through 6.1.* (unaffected · semver) · 6.6.35 through 6.6.* (unaffected · semver) · 6.9.6 through 6.9.* (unaffected · semver) · 6.10 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 AL2 Release evaluationALAS2KERNEL-5.15-2024-053 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-836 Fixed Not stated Amazon Linux assessment
AlmaLinux 9 bpftool Advisory build 7.3.0-427.33.1.el9_4 ALSA-2024:5928
Debian bookworm linux Advisory build 6.1.99-1 DSA-5731-1
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
AlmaLinux 9 kernel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-debug Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-devel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-doc Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-headers Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-modules Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-tools Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 libperf Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 perf Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 python3-perf Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 rtla Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
AlmaLinux 9 rv Advisory build 5.14.0-427.33.1.el9_4 ALSA-2024:5928
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-210.163.7.el8uek ELSA-2024-12618
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.3.0-427.33.1.el9_4 ELSA-2024-5928
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-210.163.7.el9uek ELSA-2024-12618
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.3.0-427.33.1.el9_4 ELSA-2024-5928
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-427.33.1.el9_4 ELSA-2024-5928
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-427.33.1.el9_4 ELSA-2024-5928
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-427.33.1.el9_4 ELSA-2024-5928
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-427.33.1.el9_4 ELSA-2024-5928

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/huge_memory: don't unpoison huge_zero_folio When I did memory failure tests recently, below panic occurs: kernel BUG at include/linux/mm.h:1135! invalid opcode: 0000 [#1] PREEMPT SMP NOPTI CPU: 9 PID: 137 Comm: kswapd1 Not tainted 6.9.0-rc4-00491-gd5ce28f156fe-dirty #14 RIP: 0010:shrink_huge_zero_page_scan+0x168/0x1a0 RSP: 0018:ffff9933c6c57bd0 EFLAGS: 00000246 RAX: 000000000000003e RBX: 0000000000000000 RCX: ffff88f61fc5c9c8 RDX: 0000000000000000 RSI: 0000000000000027 RDI: ffff88f61fc5c9c0 RBP: ffffcd7c446b0000 R08: ffffffff9a9405f0 R09: 0000000000005492 R10: 00000000000030ea R11: ffffffff9a9405f0 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88e703c4ac00 FS: 0000000000000000(0000) GS:ffff88f61fc40000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f4da6e9878 CR3: 0000000c71048000 CR4: 00000000000006f0 Call Trace: <TASK> do_shrink_slab+0x14f/0x6a0 shrink_slab+0xca/0x8c0 shrink_node+0x2d0/0x7d0 balance_pgdat+0x33a/0x720 kswapd+0x1f3/0x410 kthread+0xd5/0x100 ret_from_fork+0x2f/0x50 ret_from_fork_asm+0x1a/0x30 </TASK> Modules linked in: mce_inject hwpoison_inject ---[ end trace 0000000000000000 ]--- RIP: 0010:shrink_huge_zero_page_scan+0x168/0x1a0 RSP: 0018:ffff9933c6c57bd0 EFLAGS: 00000246 RAX: 000000000000003e RBX: 0000000000000000 RCX: ffff88f61fc5c9c8 RDX: 0000000000000000 RSI: 0000000000000027 RDI: ffff88f61fc5c9c0 RBP: ffffcd7c446b0000 R08: ffffffff9a9405f0 R09: 0000000000005492 R10: 00000000000030ea R11: ffffffff9a9405f0 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88e703c4ac00 FS: 0000000000000000(0000) GS:ffff88f61fc40000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f4da6e9878 CR3: 0000000c71048000 CR4: 00000000000006f0 The root cause is that HWPoison flag will be set for huge_zero_folio without increasing the folio refcnt. But then unpoison_memory() will decrease the folio refcnt unexpectedly as it appears like a successfully hwpoisoned folio leading to VM_BUG_ON_PAGE(page_ref_count(page) == 0) when releasing huge_zero_folio. Skip unpoisoning huge_zero_folio in unpoison_memory() to fix this issue. We're not prepared to unpoison huge_zero_folio yet.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

33

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 f8f836100fff594cea8a0a027affb9d5520f09a7 to < 688bb46ad339497b5b7f527b6636d2afe04b46af (affected · git)478d134e9506c7e9bfe2830ed03dd85e97966313 to < b2494506f30675245a3e6787281f79601af087bf (affected · git)478d134e9506c7e9bfe2830ed03dd85e97966313 to < 0d73477af964dbd7396163a13817baf13940bca9 (affected · git)478d134e9506c7e9bfe2830ed03dd85e97966313 to < d72b7711919de49d92a67dfc844a6cf4c23dd794 (affected · git)478d134e9506c7e9bfe2830ed03dd85e97966313 to < fe6f86f4b40855a130a19aa589f9ba7f650423f4 (affected · git)13d9b8cd12f37d133b07ea5b323583e8a0c6b738 (affected · git)5.15.41 to < 5.15.162 (affected · semver)5.17.9 to < 5.18 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.18 (affected)0 to < 5.18 (unaffected · semver)5.15.162 through 5.15.* (unaffected · semver)6.1.95 through 6.1.* (unaffected · semver)6.6.35 through 6.6.* (unaffected · semver)6.9.6 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

3

Linux · cna

mm/huge_memory: don't unpoison huge_zero_folio

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
2c909713b3251e0ab95ce956d57e7c9ccc300aaca1dffa0334d08a22f3fe864c
Ingested
23 Sep 2026, 08:26:02 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