CVE-2025-40218
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2025
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
mm/damon/vaddr: do not repeat pte_offset_map_lock() until success
In the Linux kernel, the following vulnerability has been resolved: mm/damon/vaddr: do not repeat pte_offset_map_lock() until success DAMON's virtual address space operation set implementation (vaddr) calls pte_offset_map_lock() inside the page table walk callback function. This is for reading and writing page table accessed bits. If pte_offset_map_lock() fails, it retries by returning the page table walk callback function with ACTION_AGAIN. pte_offset_map_lock() can continuously fail if the target is a pmd migration entry, though. Hence it could cause an infinite page table walk if the migration cannot be done until the page table walk is finished. This indeed caused a soft lockup when CPU hotplugging and DAMON were running in parallel. Avoid the infinite loop by simply not retrying the page table walk. DAMON is promising only a best-effort accuracy, so missing access to such pages is no problem.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 7780d04046a2288ab85d88bedacc60fa4fad9971 | affected | git | 677ebfe5d00f94adec0c0204f6e6e2a82d3f77bf | Unavailable | None listed |
| 7780d04046a2288ab85d88bedacc60fa4fad9971 | affected | git | ac42320ec873bfe726141069cfdd90ee5bc4e885 | Unavailable | None listed |
| 7780d04046a2288ab85d88bedacc60fa4fad9971 | affected | git | 0ccd91cf749536d41307a07e60ec14ab0dbf21f5 | Unavailable | None listed |
| 7780d04046a2288ab85d88bedacc60fa4fad9971 | affected | git | b93af2cc8e036754c0d9970d9ddc47f43cc94b9f | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 6.5 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 6.5 | Unavailable | None listed |
| 6.6.113 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.12.54 | unaffected | semver | Unavailable | 6.12.* | None listed |
| 6.17.4 | unaffected | semver | Unavailable | 6.17.* | None listed |
| 6.18 | unaffected | original_commit_for_fix | Unavailable | * | None listed |