What’s Vulnerable › Vulnerabilities
CVE-2021-47320: nfs: fix acl memory leak of posix_acl_create()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-21 · updated 2026-06-17
- Weakness: CWE-401
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.
Affected products
- 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 — fixed in 4.14.240, 4.19.198, 4.4.276, 4.9.276, 5.10.52, 5.12.19
How to fix
Upgrade to a fixed version: Linux kernel 4.14.240, 4.19.198, 4.4.276, 4.9.276. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0704f617040c397ae73c1f88f3956787ec5d6529
- https://git.kernel.org/stable/c/1fcb6fcd74a222d9ead54d405842fc763bb86262
- https://git.kernel.org/stable/c/2e3960f276b4574a9bb0dfa31a7497302f6363b2
- https://git.kernel.org/stable/c/4b515308ab875c7e8ada8e606fe0c64762da5ed4
- https://git.kernel.org/stable/c/687cf32865b2d6960214bce523f2afac58dd3cd2
- https://git.kernel.org/stable/c/8a2b308a54c5ec224fedc753617f99b29ffcd883
- https://git.kernel.org/stable/c/c8fc86e9df6a6a03f5a8e15a3b7a5c75fd05aa38
- https://git.kernel.org/stable/c/cef9d9acb7c80ed6bace894b6334557fd493863b
- https://git.kernel.org/stable/c/d0b32dc1409f7e65e4fcc34e236462268e69a357
- https://git.kernel.org/stable/c/0704f617040c397ae73c1f88f3956787ec5d6529
- https://git.kernel.org/stable/c/1fcb6fcd74a222d9ead54d405842fc763bb86262
- https://git.kernel.org/stable/c/2e3960f276b4574a9bb0dfa31a7497302f6363b2
Get alerted when CVE-2021-47320 or the next vulnerability affects your stack