{"id":"CVE-2022-49828","published":"2025-05-01T14:09:47Z","modified":"2026-05-11T19:07:33Z","title":"hugetlbfs: don't delete error page from pagecache","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nhugetlbfs: don't delete error page from pagecache\n\nThis change is very similar to the change that was made for shmem [1], and\nit solves the same problem but for HugeTLBFS instead.\n\nCurrently, when poison is found in a HugeTLB page, the page is removed\nfrom the page cache.  That means that attempting to map or read that\nhugepage in the future will result in a new hugepage being allocated\ninstead of notifying the user that the page was poisoned.  As [1] states,\nthis is effectively memory corruption.\n\nThe fix is to leave the page in the page cache.  If the user attempts to\nuse a poisoned HugeTLB page with a syscall, the syscall will fail with\nEIO, the same error code that shmem uses.  For attempts to map the page,\nthe thread will get a BUS_MCEERR_AR SIGBUS.\n\n[1]: commit a76054266661 (\"mm: shmem: don't truncate page if memory failure happens\")","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00199,"percentile":0.09641,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/30571f28bb35c826219971c63bcf60d2517112ed","tags":[]},{"url":"https://git.kernel.org/stable/c/ec667443b2dbc6cdbbac4073e51a17733158ec6a","tags":[]},{"url":"https://git.kernel.org/stable/c/8625147cafaa9ba74713d682f5185eb62cb2aedb","tags":[]}],"priority":{"score":1.9,"factors":[{"name":"EPSS percentile","points":1.93}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 78bb920344b8a6f04b79a7c254041723b931c94f, < 30571f28bb35c826219971c63bcf60d2517112ed",">= 78bb920344b8a6f04b79a7c254041723b931c94f, < ec667443b2dbc6cdbbac4073e51a17733158ec6a",">= 78bb920344b8a6f04b79a7c254041723b931c94f, < 8625147cafaa9ba74713d682f5185eb62cb2aedb"]},{"vendor":"Linux","product":"Linux","versions":["4.13"]}],"euvd":{"id":"EUVD-2025-12941","exploited":false,"provenance":"source"}}