cve.bz

CVE-2021-35039

7.8 highEPSS 0.3%Fix available

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

On this page
kernel/module.c in the Linux kernel before 5.12.14 mishandles Signature Verification, aka CID-0c18f29aae7c. Without CONFIG_MODULE_SIG, verification that a kernel module is signed, for loading via init_module, does not occur for a module.sig_enforce=1 command-line argument.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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; 17th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-347 Improper Verification of Cryptographic Signature
OWASP Top 10
A04:2025 Cryptographic Failures
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-35039 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-35039?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-35039?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-35039 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.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 4.15 before 4.19.196
linux:linux_kernelfrom 4.20 before 5.4.129
linux:linux_kernelfrom 5.5 before 5.10.47
linux:linux_kernelfrom 5.11 before 5.12.14
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux-4.194.19.208-1~deb9u1DLA-2785-1
Debian12, 13, 14linux5.14.6-1DEBIAN-CVE-2021-35039
Ubuntu20.04:LTSlinux-aws-5.11, linux-oracle-5.115.11.0-1017.18~20.04.1UBUNTU-CVE-2021-35039
Ubuntu20.04:LTSlinux-azure-5.115.11.0-1015.16~20.04.1UBUNTU-CVE-2021-35039
Ubuntu20.04:LTSlinux-gcp-5.115.11.0-1018.20~20.04.2UBUNTU-CVE-2021-35039
Ubuntu22.04:LTSlinux-realtime, linux-intel-iot-realtimeno fix listedUBUNTU-CVE-2021-35039
Ubuntu24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2021-35039
UbuntuPro:FIPS-updates:18.04:LTS, Pro:FIPS:18.04:LTS, Pro:FIPS:20.04:LTSlinux-fips, linux-aws-fips, linux-gcp-fips and 1 moreno fix listedUBUNTU-CVE-2021-35039
UbuntuPro:FIPS-updates:20.04:LTSlinux-aws-fips5.4.0-1069.73+fips2UBUNTU-CVE-2021-35039
UbuntuPro:FIPS-updates:20.04:LTSlinux-azure-fips5.4.0-1073.76+fips1UBUNTU-CVE-2021-35039
UbuntuPro:FIPS-updates:20.04:LTSlinux-fips5.4.0-1033.38UBUNTU-CVE-2021-35039
UbuntuPro:FIPS-updates:20.04:LTSlinux-gcp-fips5.4.0-1067.71~20.04.1UBUNTU-CVE-2021-35039
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2, Linux Enterprise Micro 5.0 and 1 morekernel-default5.3.18-24.75.3SUSE-SU-2021:2438-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Module for Legacy 15 SP3kernel-default5.3.18-59.19.1SUSE-SU-2021:2687-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_171-5.3.3SUSE-SU-2021:2438-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_51-7.3.1SUSE-SU-2021:2687-1
SUSELinux Enterprise Micro 5.0kernel-rt5.3.18-45.3SUSE-SU-2021:2599-2
SUSELinux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2kernel-default-base5.3.18-24.75.3.9.34.3SUSE-SU-2021:2438-1
SUSELinux Enterprise Module for Basesystem 15 SP2kernel-source5.3.18-24.75.2SUSE-SU-2021:2438-1
SUSELinux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Workstation Extension 15 SP2kernel-default, kernel-preempt5.3.18-24.75.3SUSE-SU-2021:2438-1
SUSELinux Enterprise Module for Basesystem 15 SP3kernel-64kb, kernel-source, kernel-default and 2 more5.3.18-59.19.1SUSE-SU-2021:2687-1
SUSELinux Enterprise Module for Basesystem 15 SP3kernel-default-base5.3.18-59.19.1.18.10.1SUSE-SU-2021:2687-1
SUSELinux Enterprise Module for Development Tools 15 SP2kernel-docs, kernel-source5.3.18-24.75.2SUSE-SU-2021:2438-1
SUSELinux Enterprise Module for Development Tools 15 SP2kernel-preempt, kernel-obs-build5.3.18-24.75.3SUSE-SU-2021:2438-1
7 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.2kernel-default-base5.3.18-lp152.84.1.lp152.8.38.1openSUSE-SU-2021:1076-1
openSUSELeap 15.2kernel-docs, kernel-syms, kernel-debug and 6 more5.3.18-lp152.84.1openSUSE-SU-2021:1076-1
openSUSELeap 15.3dtb-aarch64, kernel-64kb, kernel-docs and 9 more5.3.18-59.19.1openSUSE-SU-2021:2687-1
openSUSELeap 15.3kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-38.17.1openSUSE-SU-2021:2645-1
openSUSELeap 15.3kernel-default-base5.3.18-59.19.1.18.10.1openSUSE-SU-2021:2687-1
Azure Linux2kernel5.10.78.1-1AZL-6570

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; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue is rated as having a Moderate impact because of the privileges required for loading malicious unsigned kernel module.

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 6kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot 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-35039.

Attack patterns (CAPEC)

  • CAPEC-463 Padding Oracle Crypto Attack Severity: High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON