Vulnerability in Linux
CVE-2024-36943
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);
EPSS: 0.002 (8.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H.
Affected products
- Linux — versions 52526ca7fdb905a768a93f8faa418e9b988fc34b, 6.7, 0
- Linux Linux_kernel — versions 6.9
References
Frequently asked questions
- What is CVE-2024-36943?
- CVE-2024-36943 is a high-severity vulnerability in Linux. CVSS score: 7.3/10. Published 2024-05-30.
- How severe is CVE-2024-36943?
- High severity. CVSS v3 base score is 7.3 out of 10.