CVSS 3.1
4.4 mediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:HMedium (4.4). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:HExplain CVE-2021-20317 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-20317?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-20317?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-20317 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| linux:linux_kernel | before 5.4 |
| linux:linux_kernel | 5.4 |
| debian:debian_linux | 9.0 |
| debian:debian_linux | 10.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | linux | 4.9.290-1 | DLA-2843-1 |
| Debian | 9 | linux-4.19 | 4.19.232-1~deb9u1 | DLA-2941-1 |
| Debian | 10 | linux | 4.19.232-1 | DSA-5096-1 |
| Debian | 12, 13, 14 | linux | 5.4.6-1 | DEBIAN-CVE-2021-20317 |
| Ubuntu | 16.04:LTS | linux-hwe-edge | no fix listed | UBUNTU-CVE-2021-20317 |
| Ubuntu | 18.04:LTS | linux | 4.15.0-166.174 | UBUNTU-CVE-2021-20317 USN-5209-1 |
| Ubuntu | 18.04:LTS | linux-aws | 4.15.0-1118.125 | UBUNTU-CVE-2021-20317 USN-5209-1 |
| Ubuntu | 18.04:LTS | linux-azure-4.15 | 4.15.0-1129.142 | UBUNTU-CVE-2021-20317 USN-5209-1 |
| Ubuntu | 18.04:LTS | linux-dell300x | 4.15.0-1033.38 | UBUNTU-CVE-2021-20317 USN-5209-1 |
| Ubuntu | 18.04:LTS | linux-gcp, linux-hwe, linux-oem and 11 more | no fix listed | UBUNTU-CVE-2021-20317 |
| Ubuntu | 18.04:LTS | linux-gcp-4.15 | 4.15.0-1114.128 | UBUNTU-CVE-2021-20317 USN-5209-1 |
| Ubuntu | 18.04:LTS | linux-kvm | 4.15.0-1105.107 | UBUNTU-CVE-2021-20317 USN-5209-1 |
| Ubuntu | 18.04:LTS | linux-oracle | 4.15.0-1085.93 | UBUNTU-CVE-2021-20317 USN-5209-1 |
| Ubuntu | 18.04:LTS | linux-raspi2 | 4.15.0-1101.108 | UBUNTU-CVE-2021-20317 USN-5209-1 |
| Ubuntu | 18.04:LTS | linux-snapdragon | 4.15.0-1118.127 | UBUNTU-CVE-2021-20317 USN-5209-1 |
| Ubuntu | 20.04:LTS | linux-riscv, linux-raspi2, linux-aws-5.8 and 4 more | no fix listed | UBUNTU-CVE-2021-20317 |
| 22 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| Red Hat | enterprise_linux:8::baseos | perf, kernel, bpftool and 30 more | 0:4.18.0-348.2.1.el8_5 | RHSA-2021:4647 |
| Red Hat | enterprise_linux:8::crb | perf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more | 0:4.18.0-348.2.1.el8_5 | RHSA-2021:4647 |
| Red Hat | enterprise_linux:8::nfv | kernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more | 0:4.18.0-348.2.1.rt7.132.el8_5 | RHSA-2021:4646 |
| Red Hat | enterprise_linux:8::realtime | kernel-rt, kernel-rt-core, kernel-rt-debug and 10 more | 0:4.18.0-348.2.1.rt7.132.el8_5 | RHSA-2021:4646 |
| Red Hat | rhel_eus:8.2::baseos | perf, kernel, bpftool and 30 more | 0:4.18.0-193.70.1.el8_2 | RHSA-2021:4871 |
| Red Hat | rhel_eus:8.2::crb | perf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more | 0:4.18.0-193.70.1.el8_2 | RHSA-2021:4871 |
| Red Hat | rhel_eus:8.2::nfv | kernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more | 0:4.18.0-193.70.1.rt13.120.el8_2 | RHSA-2021:4875 |
| Red Hat | rhel_eus:8.2::realtime | kernel-rt, kernel-rt-core, kernel-rt-debug and 10 more | 0:4.18.0-193.70.1.rt13.120.el8_2 | RHSA-2021:4875 |
| Red Hat | rhel_eus:8.4::baseos | perf, kernel, bpftool and 30 more | 0:4.18.0-305.28.1.el8_4 | RHSA-2021:4650 |
| Red Hat | rhel_eus:8.4::crb | perf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more | 0:4.18.0-305.28.1.el8_4 | RHSA-2021:4650 |
| Red Hat | rhel_eus:8.4::nfv | kernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more | 0:4.18.0-305.28.1.rt7.100.el8_4 | RHSA-2021:4648 |
| Red Hat | rhel_eus:8.4::realtime | kernel-rt, kernel-rt-core, kernel-rt-debug and 10 more | 0:4.18.0-305.28.1.rt7.100.el8_4 | RHSA-2021:4648 |
| AlmaLinux | 8 | kernel-tools-libs-devel | 4.18.0-348.2.1.el8_5 | ALSA-2021:4647 |
| Rocky Linux | 8 | kernel | 0:4.18.0-348.2.1.el8_5 | RLSA-2021:4647 |
| Rocky Linux | 8 | kernel-rt | 0:4.18.0-348.2.1.rt7.132.el8_5 | RLSA-2021:4646 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Moderate.
In order to mitigate this issue, it is possible to prevent the affected code by loading the kvm module with "pi_inject_timer=0" parameter.
~~~
rmmod kvm_intel kvm
modprobe kvm pi_inject_timer=0
modprobe kvm_intel
~~~
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | kernel-rt-0:4.18.0-348.2.1.rt7.132.el8_5 | Fixed 2021-11-15 | RHSA-2021:4646 |
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-348.2.1.el8_5 | Fixed 2021-11-15 | RHSA-2021:4647 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | kernel-rt-0:4.18.0-193.70.1.rt13.120.el8_2 | Fixed 2021-11-30 | RHSA-2021:4875 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | kernel-0:4.18.0-193.70.1.el8_2 | Fixed 2021-11-30 | RHSA-2021:4871 |
| Red Hat Enterprise Linux 8.4 Extended Update Support | kernel-rt-0:4.18.0-305.28.1.rt7.100.el8_4 | Fixed 2021-11-15 | RHSA-2021:4648 |
| Red Hat Enterprise Linux 8.4 Extended Update Support | kernel-0:4.18.0-305.28.1.el8_4 | Fixed 2021-11-15 | RHSA-2021:4650 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | |
| Red Hat Enterprise Linux 6 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel | Will not fix | |
| Red Hat Enterprise Linux 7 | kernel-rt | Will not fix | |
| Red Hat Enterprise Linux 9 | kernel | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-20317.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-22-167-09 | Siemens SCALANCE LPE9403 Third-Party Vulnerabilities | 2022-06-14 | Multiple | SCALANCE LPE9403 | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.