CVE-2024-36943
Last modified
CVE-2024-36943 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. 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. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
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);
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.7, < 6.8.10 | — |
| Linux | Linux Kernel | 6.9 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-36943?
How severe is CVE-2024-36943?
How do I fix CVE-2024-36943?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-36937In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-36938In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-36939In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-36940In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-36941In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-36942Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-36944In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-36945In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-36946In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-36947In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-36948In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-36949In the Linux kernel, the following vulnerability has been re…4.7
Are you affected by CVE-2024-36943?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
