AZL-117673: CVE-2026-142795 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
mm: khugepaged: fix folio is used after folioput/unlock()
On the rollback path, folioput() has already dropped the last reference of newfolio. On the success path, newfolio is already unlocked and can be freed concurrently. The tracemmkhugepagedcollapsefile() is left with a dangling folio pointer.
So using the foliopfn() before dropping the reference, closing use-after-free window.
Affected Software
Event History
Frequently Asked Questions
What conditions are required for this issue to occur?
The issue is in the khugepaged file-collapse path. It occurs when trace_mm_khugepaged_collapse_file() uses a folio pointer after the folio has either lost its last reference on a rollback path or has been unlocked and may be freed concurrently on a success path.
How can I tell whether this package is affected?
The affected software identified is the azure-linux/kernel package at version 6.6.161.1-1. Systems running that package version should be treated as affected based on the provided data.
What is the immediate mitigation if an update cannot be applied?
No workaround or configuration-based mitigation is provided. The available remediation information is that the Linux kernel vulnerability has been resolved.