-

CVE-2026-99663

mm/gup: fix clearing folios in memfd_pin_folios()

In the Linux kernel, the following vulnerability has been resolved:

mm/gup: fix clearing folios in memfd_pin_folios()

memfd_pin_folios() pins folios obtained directly from the page cache
without checking whether they are uptodate. However, shmem fallocate()
can leave newly allocated folios uncleared and not uptodate. Callers
such as udmabuf can then expose uninitialized memory to userspace.

Clear non-uptodate folios and mark them uptodate under the folio lock
before returning them to the caller.

Fix generated by an LLM and sent by Chris Mason in private.

[ david: simplify description and comment ]
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 89c1905d9c140372b7f50ef48f42378cf85d9bc5
Version < 9b9c506018859bb33f01e4b9df213d41b9ca4cc2
Status affected
Version 89c1905d9c140372b7f50ef48f42378cf85d9bc5
Version < d56f6835532c59b1b5e2d43f373f31586e7e457f
Status affected
Version 89c1905d9c140372b7f50ef48f42378cf85d9bc5
Version < 65f4a8ef0adf18601c6ddbfd0e3918afffaeb890
Status affected
Version 89c1905d9c140372b7f50ef48f42378cf85d9bc5
Version < c83ee2fa5a94edb2e04102b9dd4f1ee0eeb2b932
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 6.11
Status affected
Version 0
Version < 6.11
Status unaffected
Version <= 6.12.*
Version 6.12.118
Status unaffected
Version <= 6.18.*
Version 6.18.64
Status unaffected
Version <= 7.3.*
Version 7.3.5
Status unaffected
Version <= *
Version 7.4-rc2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.063
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/9b9c506018859bb33f01e4b9df213d41b9ca4cc2
https://git.kernel.org/stable/c/d56f6835532c59b1b5e2d43f373f31586e7e457f
https://git.kernel.org/stable/c/65f4a8ef0adf18601c6ddbfd0e3918afffaeb890
https://git.kernel.org/stable/c/c83ee2fa5a94edb2e04102b9dd4f1ee0eeb2b932