# CVE-2021-4157: An out of memory bounds write flaw (1 or 2 bytes of memory) in the Linux kernel NFS subsystem was found in the way users use mirroring (rep…

- Severity: High 8.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.58%, higher than 76% of CVEs (2026-12-01)
- Published: 2022-03-25T18:02:43.000Z
- Modified: 2026-06-17T04:19:07.877Z
- Weaknesses: CWE-119
- Assigned by: redhat

## Description

An out of memory bounds write flaw (1 or 2 bytes of memory) in the Linux kernel NFS subsystem was found in the way users use mirroring (replication of files with NFS). A user, having access to the NFS mount, could potentially use this flaw to crash the system or escalate privileges on the system.

(As written by CVE List.)

## Affected

- kernel: kernel 5.13-rc1
- linux linux_kernel: from 4.0 before 4.4.269; from 4.5 before 4.9.269; from 4.10 before 4.14.233; from 4.15 before 4.19.191; from 4.20 before 5.4.120; from 5.5 before 5.10.38; from 5.11 before 5.11.22; from 5.12 before 5.12.5
- fedoraproject fedora: 35
- netapp h300e_firmware: no versions given
- netapp h300s_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h410s_firmware: no versions given
- oracle communications_cloud_native_core_binding_support_function: 22.1.1; 22.1.3; 22.2.0

## Every score

- NVD: CVSS:3.1 8.0 High `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.4 High `AV:A/AC:M/Au:S/C:C/I:C/A:C`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2034342> (issue-tracking, third-party-advisory)
- <https://lore.kernel.org/lkml/20210517140244.822185482%40linuxfoundation.org/>
- <https://www.oracle.com/security-alerts/cpujul2022.html> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20220602-0007/> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-4157](https://www.cve.org/CVERecord?id=CVE-2021-4157), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-4157](https://nvd.nist.gov/vuln/detail/CVE-2021-4157), Public domain, modified 2026-06-17

---

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