SecurityContext

CVE-2026-99707: Linux Kernel - Use-After-Free

  • Cve: CVE-2026-99707
  • Name: Linux Kernel - Use-After-Free
  • Description: In the Linux kernel, the following vulnerability has been resolved: mm/khugepaged: flush deferred unmaps before dropping a failed folio collapse_file() can fail its reference-count or dirty-folio check after unmapping with TTU_BATCH_FLUSH. Both paths put back the isolated folio, then unlock it and drop the lookup reference before reaching the common try_to_unmap_flush(). The page-cache reference does not keep the folio stable once the lock is released. Another collapse can replace and free it. With its PTEs already gone, that collapse cannot flush the first task's per-task TLB batch, and retract_page_tables() skips short or unaligned VMAs. A CPU can therefore retain a user translation to the freed folio. This has been reproduced with unprivileged MADV_COLLAPSE on a memfd. Flush at out_unlock while the lookup reference and folio lock are still held. The common flush continues to cover the accumulated pagelist on both success and rollback, preserving batching on successful collapses.
  • Impact: A CPU can retain a user translation to a freed folio, potentially leading to memory corruption or privilege escalation.
  • Remediation: Update to the latest kernel version containing the fix.
  • Vulnerability type: use_after_free
  • Vulnerability impact: data_tampering, privilege_escalation
  • Requirements: Attacker needs local access and ability to use MADV_COLLAPSE on a memfd
  • Labels source: securitycontext
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00129
  • Epss percentile: 0.02585
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-11-20T06:18:06Z
  • Age in days: 4
  • Modified at: 2026-11-23T08:18:11Z
  • Patch available: yes
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-99707
  • Nvd status: received
  • Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://git.kernel.org/stable/c/61e8b187e011489adcb35aca629431c9b6c7f79a
https://git.kernel.org/stable/c/854e5ff8b3ce2a776586cabebaeae645c992345b
https://git.kernel.org/stable/c/8c4adb787f77318df3b478f928f271e26d557208
https://git.kernel.org/stable/c/cf1902ab0203f8767a3582143049d1bea5422096
https://git.kernel.org/stable/c/d21e723479d96deeb0f28bca75050e0ce13c5b7b
https://git.kernel.org/stable/c/d9d621ad49a969587d32c98aee1d83e679b9d361

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 5.18, < 7.4-rc2; >= 5.18, < 7.3.5; >= 5.18, < 6.18.64; >= 5.18, < 6.12.118; >= 5.18, < 6.6.163; >= 5.18, < 6.1.193nocna/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports