# CVE-2021-47320: nfs: fix acl memory leak of posix\_acl\_create()

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-21 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2021-47320, DEBIAN-CVE-2021-47320
- Record: https://cvemate.com/vulnerability/CVE-2021-47320 · JSON: https://cvemate.com/vulnerability/CVE-2021-47320/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.259%, percentile 18.665%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 91)

- debian linux (Debian): \< 5.14.6-1
- ubuntu linux (Ubuntu): \< 4.4.0-267.301 \| \< 4.15.0-156.163 \| \< 5.4.0-88.99
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1142.148 \| \< 4.4.0-1180.195 \| \< 4.15.0-1111.118 \| \< 5.4.0-1057.60
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1057.60~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2053.55 \| All versions (No fix recorded) \| \< 5.4.0-1069.73+fips2
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1111.118~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1123.136~14.04.1 \| \< 4.15.0-1123.136~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1059.62
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1123.136
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/2e3960f276b4574a9bb0dfa31a7497302f6363b2>
- <https://git.kernel.org/stable/c/cef9d9acb7c80ed6bace894b6334557fd493863b>
- <https://git.kernel.org/stable/c/8a2b308a54c5ec224fedc753617f99b29ffcd883>
- <https://git.kernel.org/stable/c/0704f617040c397ae73c1f88f3956787ec5d6529>
- <https://git.kernel.org/stable/c/d0b32dc1409f7e65e4fcc34e236462268e69a357>
- <https://git.kernel.org/stable/c/4b515308ab875c7e8ada8e606fe0c64762da5ed4>
- <https://git.kernel.org/stable/c/c8fc86e9df6a6a03f5a8e15a3b7a5c75fd05aa38>
- <https://git.kernel.org/stable/c/687cf32865b2d6960214bce523f2afac58dd3cd2>
- <https://git.kernel.org/stable/c/1fcb6fcd74a222d9ead54d405842fc763bb86262>
- <https://ubuntu.com/security/CVE-2021-47320>
- <https://www.cve.org/CVERecord?id=CVE-2021-47320>
- <https://git.kernel.org/linus/1fcb6fcd74a222d9ead54d405842fc763bb86262>
- <https://ubuntu.com/security/notices/USN-7429-1>
- <https://ubuntu.com/security/notices/USN-7429-2>
- <https://security-tracker.debian.org/tracker/CVE-2021-47320>

---

Data as of 2026-12-05T04:20:47.935Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
