CVE Vulnerabilities

CVE-2018-20784

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Feb 22, 2019 | Modified: Jun 02, 2021
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

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

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

Name Vendor Start Version End Version
Linux_kernel Linux 4.13 (including) 4.14.93 (excluding)
Linux_kernel Linux 4.19 (including) 4.19.15 (excluding)
Linux_kernel Linux 4.20 (including) 4.20.2 (excluding)
Linux_kernel Linux 5.0-rc1 (including) 5.0-rc1 (including)

References