{"vuln_id":"CVE-2026-99642","aliases":["CVE-2026-99272","CVE-2026-99275","CVE-2026-99308","CVE-2026-99312","CVE-2026-99314","CVE-2026-99315","CVE-2026-99316","CVE-2026-99317","CVE-2026-99318","CVE-2026-99319","CVE-2026-99320","CVE-2026-99335","CVE-2026-99336","CVE-2026-99345","CVE-2026-99347","CVE-2026-99348","CVE-2026-99350","CVE-2026-99363","CVE-2026-99376","CVE-2026-99377","CVE-2026-99379","CVE-2026-99382","CVE-2026-99384","CVE-2026-99387","CVE-2026-99394","CVE-2026-99426","CVE-2026-99484","CVE-2026-99496","CVE-2026-99566","CVE-2026-99567","CVE-2026-99568","CVE-2026-99569","CVE-2026-99570","CVE-2026-99573","CVE-2026-99574","CVE-2026-99575","CVE-2026-99576","CVE-2026-99577","CVE-2026-99578","CVE-2026-99579","CVE-2026-99580","CVE-2026-99582","CVE-2026-99583","CVE-2026-99587","CVE-2026-99588","CVE-2026-99589","CVE-2026-99590","CVE-2026-99591","CVE-2026-99593","CVE-2026-99594"],"description":"kernel: kernel: Data corruption via race condition in memfd_pin_folios()","published_at":"2026-11-20T05:49:57Z","modified_at":"2026-11-22T22:00:20.456711Z","first_seen_at":"2026-11-21T19:15:15.262108Z","severity":"medium","severity_source":"redhat","cvss_score":4.4,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","cwe":["CWE-413"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00168,"epss_percentile":0.06195,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99642"},"matched_alias":null,"items":[{"id":15053,"source":{"id":"osv","name":"OSV.dev"},"title":"DEBIAN-CVE-2026-99642: In the Linux kernel, the following vulnerability has been resolved: mm/gup: check folio->mapping under folio lock in memfd_pin_folios() memfd_pin_folios() pins…","summary":"In the Linux kernel, the following vulnerability has been resolved:  mm/gup: check folio->mapping under folio lock in memfd_pin_folios()  memfd_pin_folios() pins folios from the page cache without taking the folio lock. khugepaged or MADV_COLLAPSE can therefore replace a folio after checking its refcount while memfd_pin_folios() still pins the old folio. The caller then receives a folio which is no longer part of the memfd.  For udmabuf and iommufd, this can cause data corruption: DMA accesses the detached folio rather than the live memfd contents. DMA reads can return stale data, while DMA writes update the detached copy and are lost from the live memfd. The detached folio remains pinned, so these accesses do not constitute a use-after-free or target another application's memory. For memfd live update, the stale contents can reappear in the memfd after handover.  Lock the folio and recheck folio->mapping before pinning it, like other page cache users do. If the folio was removed, retry the folio lookup from the index that was removed.\n\nAffected: Debian:13:linux, Debian:14:linux\n\nFixed in: 6.12.118-1\n\nReferences:\nhttps://security-tracker.debian.org/tracker/CVE-2026-99642","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-99642","published_at":"2026-11-20T06:17:57.663000Z","updated_at":"2026-11-22T22:00:20.456711Z","fetched_at":"2026-11-23T03:05:53.019635Z","severity":"medium","cvss_score":4.4,"epss":0.00168,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":"13:linux","vuln_id":"CVE-2026-99642","vuln_ids":["CVE-2026-99272","CVE-2026-99275","CVE-2026-99308","CVE-2026-99312","CVE-2026-99314","CVE-2026-99315","CVE-2026-99316","CVE-2026-99317","CVE-2026-99318","CVE-2026-99319","CVE-2026-99320","CVE-2026-99335","CVE-2026-99336","CVE-2026-99345","CVE-2026-99347","CVE-2026-99348","CVE-2026-99350","CVE-2026-99363","CVE-2026-99376","CVE-2026-99377","CVE-2026-99379","CVE-2026-99382","CVE-2026-99384","CVE-2026-99387","CVE-2026-99394","CVE-2026-99426","CVE-2026-99484","CVE-2026-99496","CVE-2026-99566","CVE-2026-99567","CVE-2026-99568","CVE-2026-99569","CVE-2026-99570","CVE-2026-99573","CVE-2026-99574","CVE-2026-99575","CVE-2026-99576","CVE-2026-99577","CVE-2026-99578","CVE-2026-99579","CVE-2026-99580","CVE-2026-99582","CVE-2026-99583","CVE-2026-99587","CVE-2026-99588","CVE-2026-99589","CVE-2026-99590","CVE-2026-99591","CVE-2026-99593","CVE-2026-99594","CVE-2026-99642","DEBIAN-CVE-2026-99642"],"tags":["osv","debian","fix-available"],"cluster_id":718,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/15053","html":"https://vulnwatch.ve1ve2.com/item/15053"}},{"id":9459,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-99642: In the Linux kernel, the following vulnerability has been resolved: mm/gup: check folio->mapping under folio lock in memfd_pin_folios() memfd_pin_folios() pins…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/gup: check folio->mapping under folio lock in memfd_pin_folios()\n\nmemfd_pin_folios() pins folios from the page cache without taking the\nfolio lock. khugepaged or MADV_COLLAPSE can therefore replace a folio\nafter checking its refcount while memfd_pin_folios() still pins the old\nfolio. The caller then receives a folio which is no longer part of the\nmemfd.\n\nFor udmabuf and iommufd, this can cause data corruption: DMA accesses\nthe detached folio rather than the live memfd contents. DMA reads can\nreturn stale data, while DMA writes update the detached copy and are\nlost from the live memfd. The detached folio remains pinned, so these\naccesses do not constitute a use-after-free or target another\napplication's memory. For memfd live update, the stale contents can\nreappear in the memfd after handover.\n\nLock the folio and recheck folio->mapping before pinning it, like other\npage cache users do. If the folio was removed, retry the folio lookup\nfrom the index that was removed.\n\nReferences:\nhttps://git.kernel.org/stable/c/240bc9b873d3522672db13ea93ec73b7f0461912\nhttps://git.kernel.org/stable/c/4480eb27975b91a28bc058a2ca16f466ebd9d7cd\nhttps://git.kernel.org/stable/c/6ac69b444b85d0e511d9bc15f586ebeed49322fa\nhttps://git.kernel.org/stable/c/71555ae8c7572fd99158013ca2e29187c5d2508d","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99642","published_at":"2026-11-20T06:17:57.663000Z","updated_at":"2026-11-20T06:17:57.663000Z","fetched_at":"2026-11-21T19:15:31.485041Z","severity":"medium","cvss_score":4.4,"epss":0.00168,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-99642","vuln_ids":["CVE-2026-99272","CVE-2026-99275","CVE-2026-99308","CVE-2026-99312","CVE-2026-99314","CVE-2026-99315","CVE-2026-99316","CVE-2026-99317","CVE-2026-99318","CVE-2026-99319","CVE-2026-99320","CVE-2026-99335","CVE-2026-99336","CVE-2026-99345","CVE-2026-99347","CVE-2026-99348","CVE-2026-99350","CVE-2026-99363","CVE-2026-99376","CVE-2026-99377","CVE-2026-99379","CVE-2026-99382","CVE-2026-99384","CVE-2026-99387","CVE-2026-99394","CVE-2026-99426","CVE-2026-99484","CVE-2026-99496","CVE-2026-99566","CVE-2026-99567","CVE-2026-99568","CVE-2026-99569","CVE-2026-99570","CVE-2026-99573","CVE-2026-99574","CVE-2026-99575","CVE-2026-99576","CVE-2026-99577","CVE-2026-99578","CVE-2026-99579","CVE-2026-99580","CVE-2026-99582","CVE-2026-99583","CVE-2026-99587","CVE-2026-99588","CVE-2026-99589","CVE-2026-99590","CVE-2026-99591","CVE-2026-99593","CVE-2026-99594","CVE-2026-99642"],"tags":[],"cluster_id":718,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/9459","html":"https://vulnwatch.ve1ve2.com/item/9459"}},{"id":979,"source":{"id":"redhat","name":"Red Hat Security Data API"},"title":"CVE-2026-99642: kernel: kernel: Data corruption via race condition in memfd_pin_folios()","summary":"kernel: kernel: Data corruption via race condition in memfd_pin_folios()","url":"https://access.redhat.com/security/cve/cve-2026-99642","published_at":"2026-11-20T05:49:57Z","updated_at":null,"fetched_at":"2026-11-21T19:15:08.893332Z","severity":"medium","cvss_score":4.4,"epss":0.00168,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"redhat","product":null,"vuln_id":"CVE-2026-99642","vuln_ids":["CVE-2026-99272","CVE-2026-99275","CVE-2026-99308","CVE-2026-99312","CVE-2026-99314","CVE-2026-99315","CVE-2026-99316","CVE-2026-99317","CVE-2026-99318","CVE-2026-99319","CVE-2026-99320","CVE-2026-99335","CVE-2026-99336","CVE-2026-99345","CVE-2026-99347","CVE-2026-99348","CVE-2026-99350","CVE-2026-99363","CVE-2026-99376","CVE-2026-99377","CVE-2026-99379","CVE-2026-99382","CVE-2026-99384","CVE-2026-99387","CVE-2026-99394","CVE-2026-99426","CVE-2026-99484","CVE-2026-99496","CVE-2026-99566","CVE-2026-99567","CVE-2026-99568","CVE-2026-99569","CVE-2026-99570","CVE-2026-99573","CVE-2026-99574","CVE-2026-99575","CVE-2026-99576","CVE-2026-99577","CVE-2026-99578","CVE-2026-99579","CVE-2026-99580","CVE-2026-99582","CVE-2026-99583","CVE-2026-99587","CVE-2026-99588","CVE-2026-99589","CVE-2026-99590","CVE-2026-99591","CVE-2026-99593","CVE-2026-99594","CVE-2026-99642"],"tags":["redhat"],"cluster_id":718,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/979","html":"https://vulnwatch.ve1ve2.com/item/979"}}]}