CVE-2022-50448: mm/uffd: fix warning without PTE_MARKER_UFFD_WP compiled in
In the Linux kernel, the following vulnerability has been resolved:
mm/uffd: fix warning without PTEMARKERUFFDWP compiled in
When PTEMARKERUFFDWP not configured, it's still possible to reach pte marker code and trigger an warning. Add a few CONFIGPTEMARKERUFFDWP ifdefs to make sure the code won't be reached when not compiled in.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.0.3-1 - Configuration
Add CONFIG_PTE_MARKER_UFFD_WP ifdefs around the PTE marker code so it cannot be reached when PTE_MARKER_UFFD_WP is not configured.
Linux kernel mm/uffd CONFIG_PTE_MARKER_UFFD_WP = ifdef-guarded
Event History
Frequently Asked Questions
What is the severity of CVE-2022-50448?
CVE-2022-50448 is rated as a medium severity vulnerability in the Linux kernel.
How do I fix CVE-2022-50448?
To fix CVE-2022-50448, ensure you are using the updated version of the Linux kernel that addresses this vulnerability.
What versions of the Linux kernel are affected by CVE-2022-50448?
CVE-2022-50448 affects specific configurations of the Linux kernel, particularly those not compiled with PTE_MARKER_UFFD_WP configured.
What type of vulnerability is CVE-2022-50448?
CVE-2022-50448 is related to a warning condition in the memory management subsystem of the Linux kernel.
Can CVE-2022-50448 cause system crashes?
CVE-2022-50448 does not directly cause system crashes, but it can lead to unintended behavior if the warning condition is incorrectly managed.