CVE-2020-29368: Race Condition

Published Jun 3, 2020
·
Updated

An issue was discovered in splithugepmd in mm/hugememory.c in the Linux kernel before 5.7.5. The copy-on-write implementation can grant unintended write access because of a race condition in a THP mapcount check, aka CID-c444eb564fb1.

Other sources

An issue was discovered in splithugepmd in mm/hugememory.c in the Linux kernel before 5.7.5. The copy-on-write implementation can grant unintended write access because of a race condition in a THP mapcount check.

Reference: https://bugs.chromium.org/p/project-zero/issues/detail?id=2045

Upstream patch: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c444eb564fb16645c172d550359cb3d75fe8a040

— Red Hat

An issue was discovered in splithugepmd in mm/hugememory.c in the Linux kernel. The copy-on-write implementation can grant unintended write access because of a race condition in a THP mapcount check.

In splithugepmd of hugememory.c, there is a possible incorrectly mapped page due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

— OSV

Affected Software

27 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-348.rt7.130.el8
0:4.18.0-348.rt7.130.el8
redhat/kernel<0:4.18.0-348.el8
0:4.18.0-348.el8
redhat/kernel-rt<0:4.18.0-193.87.1.rt13.137.el8_2
0:4.18.0-193.87.1.rt13.137.el8_2
redhat/kernel<0:4.18.0-193.87.1.el8_2
0:4.18.0-193.87.1.el8_2
redhat/kernel-rt<0:4.18.0-305.57.1.rt7.129.el8_4
0:4.18.0-305.57.1.rt7.129.el8_4
redhat/kernel<0:4.18.0-305.57.1.el8_4
0:4.18.0-305.57.1.el8_4
Linux Linux kernel<5.7.5
NetApp Cloud Backup
NetApp Element Software
NetApp Hci Management Node
NetApp Solidfire
NetApp Hci Bootstrap Os
NetApp Hci Compute Node
NetApp H410c Firmware
NetApp H410c
Linux Linux kernel>=4.5.5<4.9.228
Linux Linux kernel>=4.10<4.14.185
Linux Linux kernel>=4.15<4.19.129
Linux Linux kernel>=4.20<5.4.48
Linux Linux kernel>=5.5<5.7.5
All of the following
NetApp Hci Bootstrap Os
NetApp Hci Compute Node
All of the following
NetApp H410c Firmware
NetApp H410c
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
Google Android
android/:linux_kernel:>=:0<:2022-03-05
:2022-03-05

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-348.rt7.130.el8
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-348.el8
  3. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-193.87.1.rt13.137.el8_2
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-193.87.1.el8_2
  5. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-305.57.1.rt7.129.el8_4
  6. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-305.57.1.el8_4
  7. Upgrade

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

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  8. Upgrade

    Upgrade android/:linux_kernel: to a version that resolves this vulnerability.

    Fixed in :2022-03-05
  9. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 5.7.5Patch c444eb564fb16645c172d550359cb3d75fe8a040

Event History

Jun 3, 2020
CVE Published
12:00 AM
Nov 28, 2020
CVE Published
via MITRE·06:20 AM
Data Sourced
via MITRE·06:20 AM
Description
Dec 1, 2020
Data Sourced
via Red Hat·05:09 PM
DescriptionSeverityAffected Software
Mar 1, 2022
Advisory Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionAffected Software
Mar 7, 2022
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2020-29368?

CVE-2020-29368 has a medium severity rating due to the potential for unintended write access caused by a race condition.

2

How do I fix CVE-2020-29368?

To fix CVE-2020-29368, upgrade to the kernel versions 4.18.0-348.el8 or newer, or apply the recommended patches.

3

What systems are affected by CVE-2020-29368?

CVE-2020-29368 affects various versions of the Linux kernel prior to 5.7.5, including specific Red Hat and Debian releases.

4

Is CVE-2020-29368 exploitable remotely?

CVE-2020-29368 is not inherently exploitable remotely as it requires local access to the affected system for exploitation.

5

What components are involved in CVE-2020-29368?

CVE-2020-29368 is associated with the copy-on-write mechanism in the Linux kernel's memory management, specifically in the huge memory handling functions.

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