CVE-2024-42233
lowpriority · track · 13EPSS 0.002 · 9 %ileDEEURUUSEPSS · scored 2026-10-28
In the Linux kernel, the following vulnerability has been resolved: filemap: replace pte_offset_map() with pte_offset_map_nolock() The vmf->ptl in filemap_fault_recheck_pte_none() is still set from handle_pte_fault(). But at the same time, we did a pte_unmap(vmf->pte). After a pte_unmap(vmf->pte) unmap and rcu_read_unlock(), the page table may be racily changed and vmf->ptl maybe fails to protect the actual page table. Fix this by replacing pte_offset_map() with pte_offset_map_nolock(). As David said, the PTL pointer might be stale so if we continue to use it infilemap_fault_recheck_pte_none(), it might trigger UAF. Also, if the PTL fails, the issue fixed by commit 58f327f2ce80 ("filemap: avoid unnecessary major faults in filemap_fault()") might reappear.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–high · 3.1–7.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (27)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1788Linux Kernel: Mehrere Schwachstellen ermöglichen nicht spezifizierten AngriffDeutsch2024-08-07csaf · cert_bundDE
Ein lokaler Angreifer kann mehrere Schwachstellen im Linux Kernel ausnutzen, um einen nicht näher spezifizierten Angriff durchzuführen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-42233/cnnvd
- https://git.kernel.org/stable/c/24be02a42181f0707be0498045c4c4b13273b16dcnnvd
- https://git.kernel.org/stable/c/6a6c2aec1a89506595801b4cf7e8eef035f33748cnnvd
- https://git.kernel.org/stable/c/24be02a42181f0707be0498045c4c4b13273b16denisa_euvd
- https://git.kernel.org/stable/c/6a6c2aec1a89506595801b4cf7e8eef035f33748enisa_euvd
- https://git.kernel.org/stable/c/24be02a42181f0707be0498045c4c4b13273b16dPatchnvd
- https://git.kernel.org/stable/c/6a6c2aec1a89506595801b4cf7e8eef035f33748Patchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan