{"api_version":"1","generated_at":"2026-11-30T19:12:02+00:00","cve":"CVE-2026-139081","urls":{"html":"https://cve.report/CVE-2026-139081","api":"https://cve.report/api/cve/CVE-2026-139081.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139081","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139081"},"summary":{"title":"mm/hugetlb: disable PMD sharing for UFFD missing mode","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/hugetlb: disable PMD sharing for UFFD missing mode\n\nFor UFFDIO_POISON to install a poison marker in a hugetlb mapping, it is\nsufficient to have the VMA registered for missing mode.\n\nHowever, UFFD missing mode does currently not block PMD table sharing, so\ninstalling the marker will be visible to everyone using the shared PMD\ntable, which is wrong as UFFDIO_POISON must stay local to the process.\n\nTo fix it, make uffd_disable_huge_pmd_share() cover VM_UFFD_MISSING as\nwell. With missing mode covered, hugetlb PMD sharing is disabled for all\nuserfaultfd registered VMAs, so the helper can simply return whether the\nVMA has a userfaultfd context instead of testing individual UFFD mode\nflags. Add a debug check on the marker installation path.\n\nThe existing registration path will then unshare PMD tables, and\nsubsequent faults will not share them while the mapping remains\nregistered.\n\nThe alternative would be to unshare PMD tables selectively when\ninstalling poison markers, which results in way more complexity. Or\nalternatively, simply failing the marker installation, which might break\nsome use cases.\n\nThis also disables PMD sharing for userfaultfd registrations that never\nuse UFFDIO_POISON.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:15","updated_at":"2026-11-30 14:18:15"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/f9b393b166296deac27e48e02cf0125a81d2704c","name":"https://git.kernel.org/stable/c/f9b393b166296deac27e48e02cf0125a81d2704c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/809cbe72ace890f75a9b126eb6a8b533081666d8","name":"https://git.kernel.org/stable/c/809cbe72ace890f75a9b126eb6a8b533081666d8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/16c9d99a670bfcd77e158dda3e49d977c3615a5f","name":"https://git.kernel.org/stable/c/16c9d99a670bfcd77e158dda3e49d977c3615a5f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d05e6e0f7f0472d6a67c6518aeea60962e1ce4be","name":"https://git.kernel.org/stable/c/d05e6e0f7f0472d6a67c6518aeea60962e1ce4be","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/981dd1db69270455ab197ca9d5e36782227cb291","name":"https://git.kernel.org/stable/c/981dd1db69270455ab197ca9d5e36782227cb291","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139081","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139081","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8a13897fb0daa8f56821f263f0c63661e1c6acae d05e6e0f7f0472d6a67c6518aeea60962e1ce4be git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8a13897fb0daa8f56821f263f0c63661e1c6acae 981dd1db69270455ab197ca9d5e36782227cb291 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8a13897fb0daa8f56821f263f0c63661e1c6acae 16c9d99a670bfcd77e158dda3e49d977c3615a5f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8a13897fb0daa8f56821f263f0c63661e1c6acae f9b393b166296deac27e48e02cf0125a81d2704c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8a13897fb0daa8f56821f263f0c63661e1c6acae 809cbe72ace890f75a9b126eb6a8b533081666d8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["include/linux/userfaultfd_k.h","mm/hugetlb.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"d05e6e0f7f0472d6a67c6518aeea60962e1ce4be","status":"affected","version":"8a13897fb0daa8f56821f263f0c63661e1c6acae","versionType":"git"},{"lessThan":"981dd1db69270455ab197ca9d5e36782227cb291","status":"affected","version":"8a13897fb0daa8f56821f263f0c63661e1c6acae","versionType":"git"},{"lessThan":"16c9d99a670bfcd77e158dda3e49d977c3615a5f","status":"affected","version":"8a13897fb0daa8f56821f263f0c63661e1c6acae","versionType":"git"},{"lessThan":"f9b393b166296deac27e48e02cf0125a81d2704c","status":"affected","version":"8a13897fb0daa8f56821f263f0c63661e1c6acae","versionType":"git"},{"lessThan":"809cbe72ace890f75a9b126eb6a8b533081666d8","status":"affected","version":"8a13897fb0daa8f56821f263f0c63661e1c6acae","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["include/linux/userfaultfd_k.h","mm/hugetlb.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.6"},{"lessThan":"6.6","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"6.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"6.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"6.6","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/hugetlb: disable PMD sharing for UFFD missing mode\n\nFor UFFDIO_POISON to install a poison marker in a hugetlb mapping, it is\nsufficient to have the VMA registered for missing mode.\n\nHowever, UFFD missing mode does currently not block PMD table sharing, so\ninstalling the marker will be visible to everyone using the shared PMD\ntable, which is wrong as UFFDIO_POISON must stay local to the process.\n\nTo fix it, make uffd_disable_huge_pmd_share() cover VM_UFFD_MISSING as\nwell. With missing mode covered, hugetlb PMD sharing is disabled for all\nuserfaultfd registered VMAs, so the helper can simply return whether the\nVMA has a userfaultfd context instead of testing individual UFFD mode\nflags. Add a debug check on the marker installation path.\n\nThe existing registration path will then unshare PMD tables, and\nsubsequent faults will not share them while the mapping remains\nregistered.\n\nThe alternative would be to unshare PMD tables selectively when\ninstalling poison markers, which results in way more complexity. Or\nalternatively, simply failing the marker installation, which might break\nsome use cases.\n\nThis also disables PMD sharing for userfaultfd registrations that never\nuse UFFDIO_POISON."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:31:24.087Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/d05e6e0f7f0472d6a67c6518aeea60962e1ce4be"},{"url":"https://git.kernel.org/stable/c/981dd1db69270455ab197ca9d5e36782227cb291"},{"url":"https://git.kernel.org/stable/c/16c9d99a670bfcd77e158dda3e49d977c3615a5f"},{"url":"https://git.kernel.org/stable/c/f9b393b166296deac27e48e02cf0125a81d2704c"},{"url":"https://git.kernel.org/stable/c/809cbe72ace890f75a9b126eb6a8b533081666d8"}],"title":"mm/hugetlb: disable PMD sharing for UFFD missing mode","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139081","datePublished":"2026-11-30T13:31:24.087Z","dateReserved":"2026-11-30T13:22:15.913Z","dateUpdated":"2026-11-30T13:31:24.087Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:15","lastModifiedDate":"2026-11-30 14:18:15","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139081","Ordinal":"1","Title":"mm/hugetlb: disable PMD sharing for UFFD missing mode","CVE":"CVE-2026-139081","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139081","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/hugetlb: disable PMD sharing for UFFD missing mode\n\nFor UFFDIO_POISON to install a poison marker in a hugetlb mapping, it is\nsufficient to have the VMA registered for missing mode.\n\nHowever, UFFD missing mode does currently not block PMD table sharing, so\ninstalling the marker will be visible to everyone using the shared PMD\ntable, which is wrong as UFFDIO_POISON must stay local to the process.\n\nTo fix it, make uffd_disable_huge_pmd_share() cover VM_UFFD_MISSING as\nwell. With missing mode covered, hugetlb PMD sharing is disabled for all\nuserfaultfd registered VMAs, so the helper can simply return whether the\nVMA has a userfaultfd context instead of testing individual UFFD mode\nflags. Add a debug check on the marker installation path.\n\nThe existing registration path will then unshare PMD tables, and\nsubsequent faults will not share them while the mapping remains\nregistered.\n\nThe alternative would be to unshare PMD tables selectively when\ninstalling poison markers, which results in way more complexity. Or\nalternatively, simply failing the marker installation, which might break\nsome use cases.\n\nThis also disables PMD sharing for userfaultfd registrations that never\nuse UFFDIO_POISON.","Type":"Description","Title":"mm/hugetlb: disable PMD sharing for UFFD missing mode"}]}}}