{"vuln_id":"CVE-2026-99461","aliases":["CVE-2026-100080","CVE-2026-100081","CVE-2026-100082","CVE-2026-89866","CVE-2026-92499","CVE-2026-98176","CVE-2026-98177","CVE-2026-98180","CVE-2026-98228","CVE-2026-98408","CVE-2026-98439","CVE-2026-98449","CVE-2026-98466","CVE-2026-98674","CVE-2026-98682","CVE-2026-98683","CVE-2026-98684","CVE-2026-98685","CVE-2026-98714","CVE-2026-98715","CVE-2026-98786","CVE-2026-98853","CVE-2026-98863","CVE-2026-98920","CVE-2026-98978","CVE-2026-98989","CVE-2026-98996","CVE-2026-99021","CVE-2026-99026","CVE-2026-99076","CVE-2026-99086","CVE-2026-99087","CVE-2026-99109","CVE-2026-99122","CVE-2026-99146","CVE-2026-99172","CVE-2026-99270","CVE-2026-99271","CVE-2026-99273","CVE-2026-99274","CVE-2026-99281","CVE-2026-99282","CVE-2026-99283","CVE-2026-99286","CVE-2026-99287","CVE-2026-99288","CVE-2026-99290","CVE-2026-99292","CVE-2026-99295","CVE-2026-99296"],"description":"kernel: kernel: Denial of Service via use-after-free in khugepaged tracepoint","published_at":"2026-11-19T14:42:08Z","modified_at":"2026-11-22T01:00:26.981639Z","first_seen_at":"2026-11-21T19:15:15.263007Z","severity":"medium","severity_source":"redhat","cvss_score":4.7,"cvss_vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-825"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00168,"epss_percentile":0.06234,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99461"},"matched_alias":null,"items":[{"id":11611,"source":{"id":"osv","name":"OSV.dev"},"title":"DEBIAN-CVE-2026-99461: In the Linux kernel, the following vulnerability has been resolved: mm: khugepaged: fix swap entry value to folio_pfn() Patch series \"mm: khugepaged: fix trace…","summary":"In the Linux kernel, the following vulnerability has been resolved:  mm: khugepaged: fix swap entry value to folio_pfn()  Patch series \"mm: khugepaged: fix tracepoint UAF\", v5.  The khugepaged tracepoints take a folio pointer and call folio_pfn(), but by then the folio may no longer be valid: freed after folio_put(), folio_unlock() or pte_unmap_unlock(), or not a folio at all but an xarray-encoded swap entry.  On classic SPARSEMEM, dereferencing it oopses khugepaged as soon as the trace event is enabled; on other memory models it merely prints a bogus pfn.  Pass the pfn to the tracepoints directly, captured while the folio is still pinned, closing the use-after-free windows in mm_khugepaged_scan_file(), mm_khugepaged_scan_pmd() and mm_khugepaged_collapse_file().   This patch (of 3):  When the swap entries found exceed max_ptes_swap, the loop is left via break with folio still holding the xarray value that encodes the swap entry, not valid folio pointer.  That value is passed to trace_mm_khugepaged_scan_file(), which feeds it to folio_pfn().  On FLATMEM and SPARSEMEM_VMEMMAP, the page_to_pfn() is plain pointer arithmetic, so the trace event merely prints bogus scan_pfn.  On classic SPARSEMEM, the page_to_pfn() reads page->flags, dereferencing the tiny encoded integer and oopsing khugepaged whenever the trace event is enabled.  So when folio is the swap entry value, simply set pfn to -1, just like exhausted scan naturally.  And the folio_put() has maybe dropped the last reference of folio.  The trace_mm_khugepaged_scan_file() is left with a dangling folio pointer.  so using the folio_pfn() before dropping the reference, closing use-after-free window.\n\nAffected: Debian:12:linux, Debian:12:linux-6.12, Debian:13:linux, Debian:14:linux\n\nFixed in: 6.12.117-1, 7.3.3-1, 6.12.117-1~deb12u1\n\nReferences:\nhttps://security-tracker.debian.org/tracker/CVE-2026-99461","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-99461","published_at":"2026-11-19T15:18:00.190000Z","updated_at":"2026-11-22T01:00:26.981639Z","fetched_at":"2026-11-22T08:08:55.103943Z","severity":"medium","cvss_score":4.7,"epss":0.00168,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":"12:linux","vuln_id":"CVE-2026-99461","vuln_ids":["CVE-2026-100080","CVE-2026-100081","CVE-2026-100082","CVE-2026-89866","CVE-2026-92499","CVE-2026-98176","CVE-2026-98177","CVE-2026-98180","CVE-2026-98228","CVE-2026-98408","CVE-2026-98439","CVE-2026-98449","CVE-2026-98466","CVE-2026-98674","CVE-2026-98682","CVE-2026-98683","CVE-2026-98684","CVE-2026-98685","CVE-2026-98714","CVE-2026-98715","CVE-2026-98786","CVE-2026-98853","CVE-2026-98863","CVE-2026-98920","CVE-2026-98978","CVE-2026-98989","CVE-2026-98996","CVE-2026-99021","CVE-2026-99026","CVE-2026-99076","CVE-2026-99086","CVE-2026-99087","CVE-2026-99109","CVE-2026-99122","CVE-2026-99146","CVE-2026-99172","CVE-2026-99270","CVE-2026-99271","CVE-2026-99273","CVE-2026-99274","CVE-2026-99281","CVE-2026-99282","CVE-2026-99283","CVE-2026-99286","CVE-2026-99287","CVE-2026-99288","CVE-2026-99290","CVE-2026-99292","CVE-2026-99295","CVE-2026-99296","CVE-2026-99461","DEBIAN-CVE-2026-99461"],"tags":["osv","debian","fix-available"],"cluster_id":959,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/11611","html":"https://vulnwatch.ve1ve2.com/item/11611"}},{"id":8793,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-99461: In the Linux kernel, the following vulnerability has been resolved: mm: khugepaged: fix swap entry value to folio_pfn() Patch series \"mm: khugepaged: fix trace…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm: khugepaged: fix swap entry value to folio_pfn()\n\nPatch series \"mm: khugepaged: fix tracepoint UAF\", v5.\n\nThe khugepaged tracepoints take a folio pointer and call folio_pfn(), but\nby then the folio may no longer be valid: freed after folio_put(),\nfolio_unlock() or pte_unmap_unlock(), or not a folio at all but an\nxarray-encoded swap entry.  On classic SPARSEMEM, dereferencing it oopses\nkhugepaged as soon as the trace event is enabled; on other memory models\nit merely prints a bogus pfn.\n\nPass the pfn to the tracepoints directly, captured while the folio is\nstill pinned, closing the use-after-free windows in\nmm_khugepaged_scan_file(), mm_khugepaged_scan_pmd() and\nmm_khugepaged_collapse_file().\n\n\nThis patch (of 3):\n\nWhen the swap entries found exceed max_ptes_swap, the loop is left via\nbreak with folio still holding the xarray value that encodes the swap\nentry, not valid folio pointer.\n\nThat value is passed to trace_mm_khugepaged_scan_file(), which feeds it to\nfolio_pfn().  On FLATMEM and SPARSEMEM_VMEMMAP, the page_to_pfn() is plain\npointer arithmetic, so the trace event merely prints bogus scan_pfn.  On\nclassic SPARSEMEM, the page_to_pfn() reads page->flags, dereferencing the\ntiny encoded integer and oopsing khugepaged whenever the trace event is\nenabled.\n\nSo when folio is the swap entry value, simply set pfn to -1, just like\nexhausted scan naturally.\n\nAnd the folio_put() has maybe dropped the last reference of folio.  The\ntrace_mm_khugepaged_scan_file() is left with a dangling folio pointer.  so\nusing the folio_pfn() before dropping the reference, closing\nuse-after-free window.\n\nReferences:\nhttps://git.kernel.org/stable/c/384c524e066459c91a8750a055fe70d56b334437\nhttps://git.kernel.org/stable/c/942c8ec27aa4ffc587511650718349964e1696e6\nhttps://git.kernel.org/stable/c/9efc8d0c9c81094cfa99667154f5682d487e9b63\nhttps://git.kernel.org/stable/c/c4252273ead984541eb9313667f2924f2ff8d0e0","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99461","published_at":"2026-11-19T15:18:00.190000Z","updated_at":"2026-11-19T15:18:00.190000Z","fetched_at":"2026-11-21T19:15:31.484489Z","severity":"medium","cvss_score":4.7,"epss":0.00168,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-99461","vuln_ids":["CVE-2026-100080","CVE-2026-100081","CVE-2026-100082","CVE-2026-89866","CVE-2026-92499","CVE-2026-98176","CVE-2026-98177","CVE-2026-98180","CVE-2026-98228","CVE-2026-98408","CVE-2026-98439","CVE-2026-98449","CVE-2026-98466","CVE-2026-98674","CVE-2026-98682","CVE-2026-98683","CVE-2026-98684","CVE-2026-98685","CVE-2026-98714","CVE-2026-98715","CVE-2026-98786","CVE-2026-98853","CVE-2026-98863","CVE-2026-98920","CVE-2026-98978","CVE-2026-98989","CVE-2026-98996","CVE-2026-99021","CVE-2026-99026","CVE-2026-99076","CVE-2026-99086","CVE-2026-99087","CVE-2026-99109","CVE-2026-99122","CVE-2026-99146","CVE-2026-99172","CVE-2026-99270","CVE-2026-99271","CVE-2026-99273","CVE-2026-99274","CVE-2026-99281","CVE-2026-99282","CVE-2026-99283","CVE-2026-99286","CVE-2026-99287","CVE-2026-99288","CVE-2026-99290","CVE-2026-99292","CVE-2026-99295","CVE-2026-99296","CVE-2026-99461"],"tags":[],"cluster_id":959,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/8793","html":"https://vulnwatch.ve1ve2.com/item/8793"}},{"id":1221,"source":{"id":"redhat","name":"Red Hat Security Data API"},"title":"CVE-2026-99461: kernel: kernel: Denial of Service via use-after-free in khugepaged tracepoint","summary":"kernel: kernel: Denial of Service via use-after-free in khugepaged tracepoint","url":"https://access.redhat.com/security/cve/cve-2026-99461","published_at":"2026-11-19T14:42:08Z","updated_at":null,"fetched_at":"2026-11-21T19:15:08.894066Z","severity":"medium","cvss_score":4.7,"epss":0.00168,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"redhat","product":null,"vuln_id":"CVE-2026-99461","vuln_ids":["CVE-2026-100080","CVE-2026-100081","CVE-2026-100082","CVE-2026-89866","CVE-2026-92499","CVE-2026-98176","CVE-2026-98177","CVE-2026-98180","CVE-2026-98228","CVE-2026-98408","CVE-2026-98439","CVE-2026-98449","CVE-2026-98466","CVE-2026-98674","CVE-2026-98682","CVE-2026-98683","CVE-2026-98684","CVE-2026-98685","CVE-2026-98714","CVE-2026-98715","CVE-2026-98786","CVE-2026-98853","CVE-2026-98863","CVE-2026-98920","CVE-2026-98978","CVE-2026-98989","CVE-2026-98996","CVE-2026-99021","CVE-2026-99026","CVE-2026-99076","CVE-2026-99086","CVE-2026-99087","CVE-2026-99109","CVE-2026-99122","CVE-2026-99146","CVE-2026-99172","CVE-2026-99270","CVE-2026-99271","CVE-2026-99273","CVE-2026-99274","CVE-2026-99281","CVE-2026-99282","CVE-2026-99283","CVE-2026-99286","CVE-2026-99287","CVE-2026-99288","CVE-2026-99290","CVE-2026-99292","CVE-2026-99295","CVE-2026-99296","CVE-2026-99461"],"tags":["redhat"],"cluster_id":959,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/1221","html":"https://vulnwatch.ve1ve2.com/item/1221"}}]}