{"id":"DEBIAN-CVE-2024-49872","details":"In the Linux kernel, the following vulnerability has been resolved:  mm/gup: fix memfd_pin_folios alloc race panic  If memfd_pin_folios tries to create a hugetlb page, but someone else already did, then folio gets the value -EEXIST here:          folio = memfd_alloc_folio(memfd, start_idx);         if (IS_ERR(folio)) {                 ret = PTR_ERR(folio);                 if (ret != -EEXIST)                         goto err;  then on the next trip through the \"while start_idx\" loop we panic here:          if (folio) {                 folio_put(folio);  To fix, set the folio to NULL on error.","modified":"2026-09-15T09:02:58.727540414Z","published":"2024-10-21T18:15:08.587Z","upstream":["CVE-2024-49872"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-49872"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.11.4-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-49872.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.11.4-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-49872.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}