# CVE-2021-4090: An out-of-bounds (OOB) memory write flaw was found in the NFSD in the Linux kernel.

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2022-02-18T00:00:00.000Z
- Modified: 2026-10-14T11:16:54.580Z
- Weaknesses: CWE-787
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- kernel: from 5.11 before 5.15.5
- linux linux_kernel: before 5.16; 5.16
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h410c_firmware: no versions given

## Every score

- NVD: 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`
- NVD: CVSS:2.0 6.6 Medium `AV:L/AC:L/Au:N/C:C/I:C/A:N`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2025101> (issue-tracking, patch, third-party-advisory)
- <https://lore.kernel.org/linux-nfs/163692036074.16710.5678362976688977923.stgit%40klimt.1015granger.net/>
- <https://security.netapp.com/advisory/ntap-20220318-0010/> (third-party-advisory)
- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c0019b7db1d7ac62c711cda6b357a659d46428fe>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2021-4090](https://www.cve.org/CVERecord?id=CVE-2021-4090), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2021-4090](https://nvd.nist.gov/vuln/detail/CVE-2021-4090), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2021-4090 · Whole record: https://cve.day/CVE-2021-4090.json · Rebuilt by cve.day 2026-11-25T22:58:07.004Z
