CVE-2021-47320

nfs: fix acl memory leak of posix_acl_create()

MEDIUM
5.5
CVSS Score
Published: May 21, 2024 at 02:35 PM UTC
Updated: June 17, 2026 at 04:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.14 ≤ v < 4.14.2403.14 ≤ v < 4.19.1983.14 ≤ v < 4.4.2763.14 ≤ v < 4.9.2763.14 ≤ v < 5.10.523.14 ≤ v < 5.12.193.14 ≤ v < 5.13.43.14 ≤ v < 5.143.14 ≤ v < 5.4.1344.10 ≤ v < 4.14.2404.15 ≤ v < 4.19.1984.20 ≤ v < 5.4.1344.5 ≤ v < 4.9.2765.11 ≤ v < 5.12.195.13 ≤ v < 5.13.45.5 ≤ v < 5.10.5213cdf1088d7235da9477a2375654921d9b9ba9f3.14
Vendor states this is fixed in 0704f617040c397ae73c1f88f3956787ec5d6529 (fixed)
Vendor states this is fixed in 1fcb6fcd74a222d9ead54d405842fc763bb86262 (fixed)
Vendor states this is fixed in 2e3960f276b4574a9bb0dfa31a7497302f6363b2 (fixed)
Vendor states this is fixed in 4b515308ab875c7e8ada8e606fe0c64762da5ed4 (fixed)
Vendor states this is fixed in 687cf32865b2d6960214bce523f2afac58dd3cd2 (fixed)
Vendor states this is fixed in 8a2b308a54c5ec224fedc753617f99b29ffcd883 (fixed)
Vendor states this is fixed in c8fc86e9df6a6a03f5a8e15a3b7a5c75fd05aa38 (fixed)
Vendor states this is fixed in cef9d9acb7c80ed6bace894b6334557fd493863b (fixed)
Vendor states this is fixed in d0b32dc1409f7e65e4fcc34e236462268e69a357 (fixed)
Vendor states this is fixed in 3.14 (unaffected)
Vendor states this is fixed in 4.14.240 (unaffected)
Vendor states this is fixed in 4.19.198 (unaffected)
Vendor states this is fixed in 4.4.276 (unaffected)
Vendor states this is fixed in 4.9.276 (unaffected)
Vendor states this is fixed in 5.10.52 (unaffected)
Vendor states this is fixed in 5.12.19 (unaffected)
Vendor states this is fixed in 5.13.4 (unaffected)
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 5.4.134 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0704f617040c397ae73c1f88f3956787ec5d6529
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1fcb6fcd74a222d9ead54d405842fc763bb86262
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2e3960f276b4574a9bb0dfa31a7497302f6363b2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4b515308ab875c7e8ada8e606fe0c64762da5ed4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/687cf32865b2d6960214bce523f2afac58dd3cd2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8a2b308a54c5ec224fedc753617f99b29ffcd883
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c8fc86e9df6a6a03f5a8e15a3b7a5c75fd05aa38
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cef9d9acb7c80ed6bace894b6334557fd493863b

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card