Incorrect comparison in Linux kernel - CVE-2021-20219

 

Incorrect comparison in Linux kernel - CVE-2021-20219

Published: March 23, 2021 / Updated: March 26, 2021


Vulnerability identifier: #VU95683
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-20219
CWE-ID: CWE-697
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

The vulnerability allows a local user to perform a denial of service (DoS) attack.

A denial of service vulnerability was found in n_tty_receive_char_special in drivers/tty/n_tty.c of the Linux kernel. In this flaw a local attacker with a normal user privilege could delay the loop (due to a changing ldata->read_head, and a missing sanity check) and cause a threat to the system availability.


How to mitigate CVE-2021-20219

Install update from vendor's repository.

Sources