{"id":"CVE-2021-4090","state":"PUBLISHED","title":"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/nfs4","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.","publishedAt":"2022-02-18T00:00:00.000Z","updatedAt":"2026-10-14T10:04:03.126Z","severity":null,"assigner":"redhat","products":["Linux kernel"],"affected":[{"vendor":"Linux","product":"kernel","packageName":"kernel","defaultStatus":"unaffected","versions":[{"version":"5.11","status":"affected","lessThan":"5.15.5","versionType":"semver"}],"collectionURL":"https://git.kernel.org/pub/scm/linux/kernel"}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=2025101","https://lore.kernel.org/linux-nfs/163692036074.16710.5678362976688977923.stgit%40klimt.1015granger.net/","https://security.netapp.com/advisory/ntap-20220318-0010/","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"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T19:49:23.890Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/4xxx/CVE-2021-4090.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-4090","state":"PUBLISHED","datePublished":"2022-02-18T00:00:00.000Z","dateUpdated":"2026-10-14T10:04:03.126Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2021-12-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"kernel","packageName":"kernel","defaultStatus":"unaffected","versions":[{"version":"5.11","status":"affected","lessThan":"5.15.5","versionType":"semver"}],"collectionURL":"https://git.kernel.org/pub/scm/linux/kernel"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2025101"},{"url":"https://lore.kernel.org/linux-nfs/163692036074.16710.5678362976688977923.stgit%40klimt.1015granger.net/"},{"url":"https://security.netapp.com/advisory/ntap-20220318-0010/"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c0019b7db1d7ac62c711cda6b357a659d46428fe"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","type":"CWE","lang":"en","description":"CWE-787"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2026-08-25T18:25:21.957Z"},"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2025101","tags":["x_transferred"]},{"url":"https://lore.kernel.org/linux-nfs/163692036074.16710.5678362976688977923.stgit%40klimt.1015granger.net/","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20220318-0010/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:16:03.753Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"V1.1.1","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-14T10:04:03.126Z"},"x_adpType":"supplier"}]}}}