CVE-2022-49744: mm/uffd: fix pte marker when fork() without fork event

Published Mar 27, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

mm/uffd: fix pte marker when fork() without fork event

Patch series "mm: Fixes on pte markers".

Patch 1 resolves the syzkiller report from Pengfei.

Patch 2 further harden pte markers when used with the recent swapin error markers. The major case is we should persist a swapin error marker after fork(), so child shouldn't read a corrupted page.

This patch (of 2):

When fork(), dstvma is not guaranteed to have VMUFFDWP even if src may have it and has pte marker installed. The warning is improper along with the comment. The right thing is to inherit the pte marker when needed, or keep the dst pte empty.

A vague guess is this happened by an accident when there's the prior patch to introduce src/dst vma into this helper during the uffd-wp feature got developed and I probably messed up in the rebase, since if we replace dstvma with srcvma the warning & comment it all makes sense too.

Hugetlb did exactly the right here (copyhugetlbpagerange()). Fix the general path.

Reproducer:

https://github.com/xupengfe/syzkallerlogs/blob/main/221208115556copypagerange/repro.c

Bugzilla report: https://bugzilla.kernel.org/showbug.cgi?id=216808

Affected Software

12 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=5.19<6.1.11
Linux Linux kernel=6.2-rc1
Linux Linux kernel=6.2-rc2
Linux Linux kernel=6.2-rc3
Linux Linux kernel=6.2-rc4
Linux Linux kernel=6.2-rc5
Linux Linux kernel=6.2-rc6
debian/linux<6.1.11-1
6.1.11-1
debian/linux<6.1.11-1
6.1.11-1
debian/linux<6.1.11-1
6.1.11-1
debian/linux
6.1.11-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.11-1

Event History

Mar 27, 2025
CVE Published
via MITRE·04:42 PM
Data Sourced
via MITRE·04:42 PM
Description
Data Sourced
via Red Hat·05:04 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·05:15 PM
Description
Data Sourced
via OSV·05:15 PM
DescriptionSeverityAffected Software
Oct 30, 2025
Data Sourced
via NVD·04:46 PM
RemedySeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-49744?

CVE-2022-49744 has a medium severity rating due to its impact on process management in the Linux kernel.

2

How do I fix CVE-2022-49744?

To fix CVE-2022-49744, you should update to the latest version of the Linux kernel where the vulnerability has been patched.

3

What systems are affected by CVE-2022-49744?

CVE-2022-49744 affects all versions of the Linux kernel prior to the patched versions that include the fix.

4

What are the potential risks of not addressing CVE-2022-49744?

Not addressing CVE-2022-49744 may lead to exploitation that could compromise system stability and security.

5

Is CVE-2022-49744 related to any specific Linux distributions?

CVE-2022-49744 is related to the Linux kernel and may affect any Linux distribution using vulnerable kernel versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203