CVE-2024-36881
Last modified
CVE-2024-36881 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: mm/userfaultfd: reset ptes when close() for wr-protected ones Userfaultfd unregister includes a step to remove wr-protect bits from all the relevant pgtable entries, but that only covered an explicit UFFDIO_UNREGISTER ioctl, not a close() on the userfaultfd itself. Cover that too. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: mm/userfaultfd: reset ptes when close() for wr-protected ones Userfaultfd unregister includes a step to remove wr-protect bits from all the relevant pgtable entries, but that only covered an explicit UFFDIO_UNREGISTER ioctl, not a close() on the userfaultfd itself. Cover that too. This fixes a WARN trace. The only user visible side effect is the user can observe leftover wr-protect bits even if the user close()ed on an userfaultfd when releasing the last reference of it. However hopefully that should be harmless, and nothing bad should happen even if so. This change is now more important after the recent page-table-check patch we merged in mm-unstable (446dd9ad37d0 ("mm/page_table_check: support userfault wr-protect entries")), as we'll do sanity check on uffd-wp bits without vma context. So it's better if we can 100% guarantee no uffd-wp bit leftovers, to make sure each report will be valid.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.19.6, < 6.6.31 | — |
| Linux | Linux Kernel | >= 6.7, < 6.8.10 | — |
| Linux | Linux Kernel | 6.9 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-36881?
How severe is CVE-2024-36881?
How do I fix CVE-2024-36881?
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-36858An arbitrary file upload vulnerability in the /v1/app/writeF…9.8
- CVE-2024-3686A vulnerability has been found in DedeCMS 5.7.112-UTF8 and c…7.5
- CVE-2024-3687A vulnerability was found in bihell Dice 3.1.0 and classifie…3.5
- CVE-2024-36877Micro-Star International Z-series motherboards (Z590, Z490, …8.2
- CVE-2024-3688A vulnerability was found in Xiamen Four-Faith RMP Router Ma…6.3
- CVE-2024-36880In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-36882In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-36883In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-36884In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-36885Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-36886In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-36887In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-36881?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
