cve.bz

CVE-2021-4090 Out-of-bounds Write

7.1 highEPSS 0.3%Fix available

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

On this page
An out-of-bounds (OOB) memory write flaw was found in the NFSD in the Linux kernel. Missing sanity may lead to a write beyond bmval[bmlen-1] in nfsd4_decode_bitmap4 in fs/nfsd/nfs4xdr.c. In this flaw, a local attacker with user privilege may gain access to out-of-bounds memory, leading to a system integrity and confidentiality threat.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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; 28th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
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-4090 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4090?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4090?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-4090 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-4090

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-4090](https://cve.bz/cve/badge/CVE-2021-4090.svg)](https://cve.bz/cve/CVE-2021-4090)

HTML:

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

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux kernelfrom 5.11 before 5.15.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.15.5-1DEBIAN-CVE-2021-4090
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-4090
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 10 moreno fix listedUBUNTU-CVE-2021-4090
Ubuntu20.04:LTSlinux-aws-5.11, linux-oracle-5.115.11.0-1028.31~20.04.1UBUNTU-CVE-2021-4090 USN-5265-1
Ubuntu20.04:LTSlinux-aws-5.135.13.0-1012.13~20.04.1UBUNTU-CVE-2021-4090 USN-5265-1
Ubuntu20.04:LTSlinux-azure-5.115.11.0-1028.31~20.04.2UBUNTU-CVE-2021-4090 USN-5265-1
Ubuntu20.04:LTSlinux-azure-5.135.13.0-1013.15~20.04.1UBUNTU-CVE-2021-4090
Ubuntu20.04:LTSlinux-gcp-5.115.11.0-1029.33~20.04.3UBUNTU-CVE-2021-4090 USN-5265-1
Ubuntu20.04:LTSlinux-gcp-5.135.13.0-1013.16~20.04.1UBUNTU-CVE-2021-4090
Ubuntu20.04:LTSlinux-hwe-5.135.13.0-28.31~20.04.1UBUNTU-CVE-2021-4090 USN-5265-1
Ubuntu20.04:LTSlinux-intel-5.135.13.0-1010.10UBUNTU-CVE-2021-4090 USN-5362-1
Ubuntu20.04:LTSlinux-oem-5.135.13.0-1029.36UBUNTU-CVE-2021-4090 USN-5265-1
Ubuntu20.04:LTSlinux-oem-5.145.14.0-1018.19UBUNTU-CVE-2021-4090 USN-5217-1
2 more for Ubuntu in the JSON and on Ubuntu's page.
Azure Linux2kernel5.15.26.1-1AZL-8654

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

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The affected code was not introduced into any kernel versions shipped with Red Hat Enterprise Linux making this vulnerable not applicable to these platforms.

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

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-102-01Siemens SIMATIC S7-1500 TM MFP2024-04-09Critical ManufacturingSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone 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.

References

Check your stackJSON