CVE-2020-25285: Race Condition

Published Sep 13, 2020
·
Updated

A flaw was found in the Linux kernels sysctl handling code for hugepages management. When multiple root level processes would write to modify the /proc/sys/vm/nrhugepages file it could create a race on internal variables leading to a system crash or memory corruption.

Other sources

A race condition between hugetlb sysctl handlers in mm/hugetlb.c in the Linux kernel before 5.8.8 could be used by local attackers to corrupt memory, cause a NULL pointer dereference, or possibly have unspecified other impact, aka CID-17743798d812.

A race condition between hugetlb sysctl handlers in mm/hugetlb.c in the Linux kernel could be used by local attackers to corrupt memory, cause a NULL pointer dereference, or possibly have unspecified other impact

References: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=17743798d81238ab13050e8e2833699b54e15467 https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.8.8

Red Hat

Affected Software

9 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-305.rt7.72.el8
0:4.18.0-305.rt7.72.el8
redhat/kernel<0:4.18.0-305.el8
0:4.18.0-305.el8
Linux Linux kernel<5.8.8
Debian Debian Linux=9.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=20.04
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.8-17.1.8-2

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-305.rt7.72.el8
  2. Upgrade

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

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

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

    Fixed in 5.10.223-1Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.8-1Fixed in 7.1.8-2
  4. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 5.8.8Patch CID-17743798d812

Event History

Sep 13, 2020
CVE Published
12:00 AM
CVE Published
via MITRE·05:28 PM
Data Sourced
via MITRE·05:28 PM
Description
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 25, 2020
Data Sourced
via Red Hat·04:39 AM
DescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:46 PM
Description
Aug 14, 2026
Data Sourced
via Ubuntu·04:27 PM
RemedyDescriptionSeverityAffected Software
Aug 16, 2026
Data Sourced
via Debian·04:30 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2020-25285?

CVE-2020-25285 is rated as high severity due to the potential for a system crash or memory corruption.

2

How do I fix CVE-2020-25285?

To mitigate CVE-2020-25285, upgrade to the latest patched kernel versions as recommended by your distribution.

3

Which versions of the Linux kernel are affected by CVE-2020-25285?

CVE-2020-25285 affects Linux kernel versions prior to 5.8.8.

4

Can CVE-2020-25285 be exploited remotely?

CVE-2020-25285 requires local access to the system to exploit, making it a local vulnerability.

5

What specific packages are impacted by CVE-2020-25285?

Packages affected by CVE-2020-25285 include various versions of the kernel, kernel-rt, and Linux distributions like Debian and Ubuntu.

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