{"id":"DEBIAN-CVE-2024-36943","details":"In the Linux kernel, the following vulnerability has been resolved:  fs/proc/task_mmu: fix loss of young/dirty bits during pagemap scan  make_uffd_wp_pte() was previously doing:    pte = ptep_get(ptep);   ptep_modify_prot_start(ptep);   pte = pte_mkuffd_wp(pte);   ptep_modify_prot_commit(ptep, pte);  But if another thread accessed or dirtied the pte between the first 2 calls, this could lead to loss of that information.  Since ptep_modify_prot_start() gets and clears atomically, the following is the correct pattern and prevents any possible race.  Any access after the first call would see an invalid pte and cause a fault:    pte = ptep_modify_prot_start(ptep);   pte = pte_mkuffd_wp(pte);   ptep_modify_prot_commit(ptep, pte);","modified":"2026-09-01T20:05:26.983839476Z","published":"2024-05-30T16:15:17.307Z","upstream":["CVE-2024-36943"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-36943"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.11-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-36943.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.11-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-36943.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"}]}