cve.bz

CVE-2021-20320

5.5 mediumEPSS 0.3%

Medium (5.5). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in s390 eBPF JIT in bpf_jit_insn in arch/s390/net/bpf_jit_comp.c in the Linux kernel. In this flaw, a local attacker with special user privilege can circumvent the verifier and may lead to a confidentiality problem.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-20320 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-20320?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-20320?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-20320 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.

Badge for a README or a site

CVE-2021-20320

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-20320](https://cve.bz/cve/badge/CVE-2021-20320.svg)](https://cve.bz/cve/CVE-2021-20320)

HTML:

<a href="https://cve.bz/cve/CVE-2021-20320"><img src="https://cve.bz/cve/badge/CVE-2021-20320.svg" alt="CVE-2021-20320"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 5.15
linux:linux_kernel5.15
linux:linux_kernel5.15:rc1
linux:linux_kernel5.15:rc2
fedoraproject:fedora34
redhat:enterprise_linux7.0
redhat:enterprise_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.14.9-1DEBIAN-CVE-2021-20320
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-20320
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2021-20320
Ubuntu20.04:LTSlinux-gke5.4.0-1054.57UBUNTU-CVE-2021-20320
Ubuntu20.04:LTSlinux-gkeop5.4.0-1025.26UBUNTU-CVE-2021-20320
Ubuntu20.04:LTSlinux-oem-5.105.10.0-1050.52UBUNTU-CVE-2021-20320
Ubuntu20.04:LTSlinux-oem-5.135.13.0-1017.21UBUNTU-CVE-2021-20320
Ubuntu20.04:LTSlinux-oem-5.145.14.0-1005.5UBUNTU-CVE-2021-20320
Ubuntu20.04:LTSlinux-riscv, linux-raspi2, linux-aws-5.8 and 13 moreno fix listedUBUNTU-CVE-2021-20320
Ubuntu22.04:LTSlinux-realtime, linux-intel-iot-realtimeno fix listedUBUNTU-CVE-2021-20320
Ubuntu24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2021-20320
UbuntuPro:14.04:LTSlinux, linux-aws, linux-azure and 1 moreno fix listedUBUNTU-CVE-2021-20320
UbuntuPro:16.04:LTSlinux, linux-aws, linux-gcp and 5 moreno fix listedUBUNTU-CVE-2021-20320
5 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15kernel-default4.12.14-150.78.1SUSE-SU-2021:3969-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 morekernel-docs, kernel-obs-build4.12.14-150.78.2SUSE-SU-2021:3969-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server for SAP Applications 15kernel-syms, kernel-source, kernel-default and 1 more4.12.14-150.78.1SUSE-SU-2021:3969-1
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.261.1SUSE-SU-2025:01983-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_691-8.3.1SUSE-SU-2025:01983-1
SUSELinux Enterprise Live Patching 15kernel-livepatch-SLE15_Update_261-1.3.1SUSE-SU-2021:3969-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5kernel-syms, kernel-source, kernel-default4.12.14-122.261.1SUSE-SU-2025:01983-1
SUSELinux Enterprise Server 15-LTSSkernel-syms, kernel-source, kernel-default and 2 more4.12.14-150.78.1SUSE-SU-2021:3969-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

The default Red Hat Enterprise Linux kernel prevents unprivileged users from being able to use eBPF by the kernel.unprivileged_bpf_disabled sysctl. This would require a privileged user with CAP_SYS_ADMIN or root to be able to abuse this flaw reducing its attack space.

For the Red Hat Enterprise Linux 7 the eBPF for unprivileged users is always disabled.

For the Red Hat Enterprise Linux 8 to confirm the current state, inspect the sysctl with the command:

~~~

cat /proc/sys/kernel/unprivileged_bpf_disabled

~~~

The setting of 1 would mean that unprivileged users can not use eBPF, mitigating the flaw.

A kernel update will be required to mitigate the flaw for the root or users with CAP_SYS_ADMIN capabilities.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernelFix deferred
Red Hat Enterprise Linux 8kernel-rtFix deferred
Red Hat Enterprise Linux 9kernelFix deferred

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-20320.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON