Incorrect Comparison Affecting torvalds/linux package, versions [,4.18)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-3005003
  • published26 Jan 2022
  • disclosed23 Mar 2021
  • creditUnknown

Introduced: 23 Mar 2021

CVE-2021-20219  (opens in a new tab)
CWE-697  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 4.18 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Comparison. 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.

CVSS Scores

version 3.1