CVEfocus › CVE database › CVE-2021-20219

CVE-2021-20219

CVSS 5.5 MediumEPSS 0.4% (higher than 26% of CVEs)Published 2021-03-23Updated 2024-08-03Assigner: redhat

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.

CWE-697

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fix pending
61Will not fix
65Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04linux-gkeopNot affected
vulnerable_code_not_present
Ubuntu 20.04linux-hwe-5.8Not affected
vulnerable_code_not_present
Ubuntu 20.04linux-oem-5.10Not affected
vulnerable_code_not_present
Ubuntu 20.04linux-oem-5.6Not affected
vulnerable_code_not_present
Ubuntu 20.04linux-raspi2Will not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
UBUNTU-CVE-2021-20219
Ubuntu 20.04linux-riscvWill not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
UBUNTU-CVE-2021-20219
Ubuntu 18.04linux-aws-5.0Will not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
UBUNTU-CVE-2021-20219
Ubuntu 18.04linux-aws-5.3Will not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
UBUNTU-CVE-2021-20219
Ubuntu 18.04linux-azureWill not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
UBUNTU-CVE-2021-20219
Ubuntu 18.04linux-azure-5.3Will not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
UBUNTU-CVE-2021-20219
Ubuntu 18.04linux-azure-edgeWill not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
UBUNTU-CVE-2021-20219
Ubuntu 18.04linux-gcpWill not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
UBUNTU-CVE-2021-20219
Ubuntu 18.04linux-gcp-5.3Will not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
UBUNTU-CVE-2021-20219
Ubuntu 18.04linux-gcp-edgeWill not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
UBUNTU-CVE-2021-20219
Ubuntu 18.04linux-gke-4.15Will not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
UBUNTU-CVE-2021-20219
Ubuntu 18.04linux-gke-5.0Will not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
Ubuntu 18.04linux-gke-5.3Not affected
vulnerable_code_not_present
Ubuntu 18.04linux-gke-5.4Not affected
vulnerable_code_not_present
Ubuntu 18.04linux-gkeop-5.4Not affected
vulnerable_code_not_present
Ubuntu 18.04linux-hweWill not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
UBUNTU-CVE-2021-20219
Ubuntu 18.04linux-hwe-edgeWill not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
UBUNTU-CVE-2021-20219
Ubuntu 18.04linux-oemWill not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
UBUNTU-CVE-2021-20219
Ubuntu 18.04linux-oem-osp1Will not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
Ubuntu 18.04linux-oracle-5.0Will not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
UBUNTU-CVE-2021-20219
Ubuntu 18.04linux-oracle-5.3Will not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
UBUNTU-CVE-2021-20219
Ubuntu 18.04linux-raspi2Not affected
vulnerable_code_not_present
Ubuntu 18.04linux-raspi2-5.3Not affected
vulnerable_code_not_present
Ubuntu 16.04linuxNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-awsNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-aws-hweNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-azureNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-gcpNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-hweNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-hwe-edgeWill not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
UBUNTU-CVE-2021-20219
Ubuntu 16.04linux-kvmNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-oemWill not fix
Red Hat's backport of 3d63b7e4ae0d "n_tty: Fix stall at n_tty_receive_char_special()." was incomplete and could result in an infinite loop.
Ubuntu 16.04linux-oracleNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-raspi2Not affected
vulnerable_code_not_present
Ubuntu 16.04linux-snapdragonNot affected
vulnerable_code_not_present
Ubuntu 14.04linux-awsFix pendingUBUNTU-CVE-2021-20219
Ubuntu 14.04linux-azureFix pendingUBUNTU-CVE-2021-20219
Ubuntu 14.04linux-lts-xenialFix pendingUBUNTU-CVE-2021-20219
Red Hat Enterprise Linux 8bpftoolNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-abi-stablelistsNot affected
Red Hat Enterprise Linux 8kernel-abi-whitelistsNot affected
Red Hat Enterprise Linux 8kernel-coreNot affected
Red Hat Enterprise Linux 8kernel-cross-headersNot affected
Red Hat Enterprise Linux 8kernel-debugNot affected
Red Hat Enterprise Linux 8kernel-debug-coreNot affected
Red Hat Enterprise Linux 8kernel-debug-develNot affected
Red Hat Enterprise Linux 8kernel-debug-modulesNot affected
Red Hat Enterprise Linux 8kernel-debug-modules-extraNot affected
Red Hat Enterprise Linux 8kernel-debug-modules-internalNot affected
Red Hat Enterprise Linux 8kernel-develNot affected
Red Hat Enterprise Linux 8kernel-docNot affected
Red Hat Enterprise Linux 8kernel-headersNot affected
Red Hat Enterprise Linux 8kernel-ipaclones-internalNot affected
Red Hat Enterprise Linux 8kernel-modulesNot affected
Red Hat Enterprise Linux 8kernel-modules-extraNot affected
Red Hat Enterprise Linux 8kernel-modules-internalNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 8kernel-rt-coreNot affected
Red Hat Enterprise Linux 8kernel-rt-debugNot affected
Red Hat Enterprise Linux 8kernel-rt-debug-coreNot affected
Red Hat Enterprise Linux 8kernel-rt-debug-develNot affected
Red Hat Enterprise Linux 8kernel-rt-debug-kvmNot affected
Red Hat Enterprise Linux 8kernel-rt-debug-modulesNot affected
Red Hat Enterprise Linux 8kernel-rt-debug-modules-extraNot affected
Red Hat Enterprise Linux 8kernel-rt-debug-modules-internalNot affected
Red Hat Enterprise Linux 8kernel-rt-develNot affected
Red Hat Enterprise Linux 8kernel-rt-kvmNot affected
Red Hat Enterprise Linux 8kernel-rt-modulesNot affected
Red Hat Enterprise Linux 8kernel-rt-modules-extraNot affected
Red Hat Enterprise Linux 8kernel-rt-modules-internalNot affected
Red Hat Enterprise Linux 8kernel-rt-selftests-internalNot affected
Red Hat Enterprise Linux 8kernel-selftests-internalNot affected
Red Hat Enterprise Linux 8kernel-toolsNot affected
Red Hat Enterprise Linux 8kernel-tools-libsNot affected
Red Hat Enterprise Linux 8kernel-tools-libs-develNot affected
Red Hat Enterprise Linux 8kernel-zfcpdumpNot affected
Red Hat Enterprise Linux 8kernel-zfcpdump-coreNot affected
Red Hat Enterprise Linux 8kernel-zfcpdump-develNot affected
Red Hat Enterprise Linux 8kernel-zfcpdump-modulesNot affected
Red Hat Enterprise Linux 8kernel-zfcpdump-modules-extraNot affected
Red Hat Enterprise Linux 8kernel-zfcpdump-modules-internalNot affected
Red Hat Enterprise Linux 8perfNot affected
Red Hat Enterprise Linux 8python3-perfNot affected
Red Hat Enterprise Linux 7bpftoolWill not fix
Will not fix
Red Hat Enterprise Linux 7kernelWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-abi-whitelistsWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-altWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-bootwrapperWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-debugWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-debug-develWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-develWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-docWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-headersWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-kdumpWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-kdump-develWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-rtWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-rt-debugWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-rt-debug-develWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-rt-debug-kvmWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-rt-develWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-rt-docWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-rt-kvmWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-rt-traceWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-rt-trace-develWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-rt-trace-kvmWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-toolsWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-tools-libsWill not fix
Will not fix
Red Hat Enterprise Linux 7kernel-tools-libs-develWill not fix
Will not fix
Red Hat Enterprise Linux 7perfWill not fix
Will not fix
Red Hat Enterprise Linux 7python-perfWill not fix
Will not fix
Red Hat Enterprise Linux 6kernelWill not fix
Out of support scope
Red Hat Enterprise Linux 6kernel-abi-whitelistsWill not fix
Out of support scope
Red Hat Enterprise Linux 6kernel-bootwrapperWill not fix
Out of support scope
Red Hat Enterprise Linux 6kernel-debugWill not fix
Out of support scope
Red Hat Enterprise Linux 6kernel-debug-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6kernel-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6kernel-docWill not fix
Out of support scope
Red Hat Enterprise Linux 6kernel-firmwareWill not fix
Out of support scope
Red Hat Enterprise Linux 6kernel-headersWill not fix
Out of support scope
Red Hat Enterprise Linux 6kernel-kdumpWill not fix
Out of support scope
Red Hat Enterprise Linux 6kernel-kdump-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6perfWill not fix
Out of support scope
Red Hat Enterprise Linux 6python-perfWill not fix
Out of support scope
Red Hat Enterprise Linux 5kernelWill not fix
Out of support scope

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.