# CVE-2021-47320: nfs: fix acl memory leak of posix_acl_create()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-05-21T14:35:35.205Z
- Modified: 2026-06-17T04:17:11.237Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

nfs: fix acl memory leak of posix_acl_create()

When looking into another nfs xfstests report, I found acl and
default_acl in nfs3_proc_create() and nfs3_proc_mknod() error
paths are possibly leaked. Fix them in advance.

(As written by CVE List.)

## Affected

- Linux Linux: from 013cdf1088d7235da9477a2375654921d9b9ba9f before 2e3960f276b4574a9bb0dfa31a7497302f6363b2; from 013cdf1088d7235da9477a2375654921d9b9ba9f before cef9d9acb7c80ed6bace894b6334557fd493863b; from 013cdf1088d7235da9477a2375654921d9b9ba9f before 8a2b308a54c5ec224fedc753617f99b29ffcd883; from 013cdf1088d7235da9477a2375654921d9b9ba9f before 0704f617040c397ae73c1f88f3956787ec5d6529; from 013cdf1088d7235da9477a2375654921d9b9ba9f before d0b32dc1409f7e65e4fcc34e236462268e69a357; from 013cdf1088d7235da9477a2375654921d9b9ba9f before 4b515308ab875c7e8ada8e606fe0c64762da5ed4; from 013cdf1088d7235da9477a2375654921d9b9ba9f before c8fc86e9df6a6a03f5a8e15a3b7a5c75fd05aa38; from 013cdf1088d7235da9477a2375654921d9b9ba9f before 687cf32865b2d6960214bce523f2afac58dd3cd2; from 013cdf1088d7235da9477a2375654921d9b9ba9f before 1fcb6fcd74a222d9ead54d405842fc763bb86262; 3.14 (not affected: before 3.14; from 4.4.276 up to 4.4.*; from 4.9.276 up to 4.9.*; from 4.14.240 up to 4.14.*; from 4.19.198 up to 4.19.*; from 5.4.134 up to 5.4.*; from 5.10.52 up to 5.10.*; from 5.12.19 up to 5.12.*; from 5.13.4 up to 5.13.*; from 5.14 up to *)
- linux linux_kernel: from 3.14 before 4.4.276; from 4.5 before 4.9.276; from 4.10 before 4.14.240; from 4.15 before 4.19.198; from 4.20 before 5.4.134; from 5.5 before 5.10.52; from 5.11 before 5.12.19; from 5.13 before 5.13.4

## References

- <https://git.kernel.org/stable/c/2e3960f276b4574a9bb0dfa31a7497302f6363b2> (patch)
- <https://git.kernel.org/stable/c/cef9d9acb7c80ed6bace894b6334557fd493863b> (patch)
- <https://git.kernel.org/stable/c/8a2b308a54c5ec224fedc753617f99b29ffcd883> (patch)
- <https://git.kernel.org/stable/c/0704f617040c397ae73c1f88f3956787ec5d6529> (patch)
- <https://git.kernel.org/stable/c/d0b32dc1409f7e65e4fcc34e236462268e69a357> (patch)
- <https://git.kernel.org/stable/c/4b515308ab875c7e8ada8e606fe0c64762da5ed4> (patch)
- <https://git.kernel.org/stable/c/c8fc86e9df6a6a03f5a8e15a3b7a5c75fd05aa38> (patch)
- <https://git.kernel.org/stable/c/687cf32865b2d6960214bce523f2afac58dd3cd2> (patch)
- <https://git.kernel.org/stable/c/1fcb6fcd74a222d9ead54d405842fc763bb86262> (patch)

## Sources

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

---

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