CVE-2018-20784: Critical severity Linux Linux kernel vulnerability

Published Dec 28, 2018
·
Updated

In the Linux kernel before 4.20.2, kernel/sched/fair.c mishandles leaf cfsrq's, which allows attackers to cause a denial of service (infinite loop in updateblockedaverages) or possibly have unspecified other impact by inducing a high load.

Other sources

The CFS Linux kernel scheduler mishandles handling of leaf cfsrq's in the kernel/sched/fair.c code, which allows a local unprivileged attacker to cause a denial of service (DoS) by entering an infinite loop in updateblockedaverages() function by inducing a high load on a system. Due to the nature of the flaw, a remote network attack (by initiating a magnitude of remote requests) cannot be fully ruled out.

The CFS Linux kernel scheduler mishandles handling of leaf cfsrq's in the kernel/sched/fair.c code, which allows a local unprivileged attacker to cause a denial of service (DoS) by entiring the infinite loop in updateblockedaverages() function by inducing a high load on a system. Due to the nature of the flaw, a remote network attack (by initiating a magnitude of remote requests) cannot be fully ruled out, although we believe it is unlikely.

References:

https://lore.kernel.org/lkml/1545879866-27809-1-git-send-email-xiexiuqi@huawei.com/T/#u

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c40f7d74c741a907cfaeb73a7697081881c497d0

Red Hat

Affected Software

12 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-80.7.1.rt9.153.el8_0
0:4.18.0-80.7.1.rt9.153.el8_0
redhat/kernel<0:4.18.0-80.7.1.el8_0
0:4.18.0-80.7.1.el8_0
Linux Linux kernel>=4.13<4.14.93
Linux Linux kernel>=4.19<4.19.15
Linux Linux kernel>=4.20<4.20.2
Linux Linux kernel=5.0-rc1
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
redhat Enterprise Linux=8.0
redhat Enterprise Linux For Real Time=8
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-80.7.1.rt9.153.el8_0
  2. Upgrade

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

    Fixed in 0:4.18.0-80.7.1.el8_0
  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 to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.20.2

Event History

Dec 28, 2018
CVE Published
12:00 AM
Feb 22, 2019
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
via NVD·03:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 25, 2019
Data Sourced
via Red Hat·10:01 AM
DescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:00 PM
Description
Aug 15, 2026
Data Sourced
via Ubuntu·10:43 AM
RemedyDescriptionSeverityAffected Software
Aug 16, 2026
Data Sourced
via Debian·10:44 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-20784?

CVE-2018-20784 has a severity rating that can lead to denial of service due to infinite loops in certain Linux kernel scheduling mechanisms.

2

How do I fix CVE-2018-20784?

To fix CVE-2018-20784, update your Linux kernel to versions 4.20.2 or newer, or apply the appropriate patches as specified by your distribution.

3

Which Linux distributions are affected by CVE-2018-20784?

CVE-2018-20784 affects multiple Linux distributions including Red Hat Enterprise Linux, Ubuntu, and various versions of the Linux kernel.

4

Can CVE-2018-20784 be exploited remotely?

CVE-2018-20784 is exploitable locally, allowing attackers to induce high loads leading to a denial of service on the affected systems.

5

What versions of the Linux kernel are vulnerable to CVE-2018-20784?

Linux kernel versions prior to 4.20.2, specifically those between 4.13 and 4.19, as well as certain earlier kernel versions, are vulnerable to CVE-2018-20784.

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