CVE-2021-47320

nfs: fix acl memory leak of posix_acl_create()

No CVSS score yet EPSS 0.26%

Published 21 May 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2021-47320

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-47320 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.7% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 23 May 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 013cdf1088d7235da9477a2375654921d9b9ba9f, before 2e3960f276b4574a9bb0dfa31a7497302f6363b2
affected from 013cdf1088d7235da9477a2375654921d9b9ba9f, before cef9d9acb7c80ed6bace894b6334557fd493863b
affected from 013cdf1088d7235da9477a2375654921d9b9ba9f, before 8a2b308a54c5ec224fedc753617f99b29ffcd883
affected from 013cdf1088d7235da9477a2375654921d9b9ba9f, before 0704f617040c397ae73c1f88f3956787ec5d6529
affected from 013cdf1088d7235da9477a2375654921d9b9ba9f, before d0b32dc1409f7e65e4fcc34e236462268e69a357
affected from 013cdf1088d7235da9477a2375654921d9b9ba9f, before 4b515308ab875c7e8ada8e606fe0c64762da5ed4
affected from 013cdf1088d7235da9477a2375654921d9b9ba9f, before c8fc86e9df6a6a03f5a8e15a3b7a5c75fd05aa38
affected from 013cdf1088d7235da9477a2375654921d9b9ba9f, before 687cf32865b2d6960214bce523f2afac58dd3cd2
affected from 013cdf1088d7235da9477a2375654921d9b9ba9f, before 1fcb6fcd74a222d9ead54d405842fc763bb86262
Other versions: unaffected
Linux
affected 3.14
unaffected before 3.14
unaffected from 4.4.276 up to and including 4.4.*
unaffected from 4.9.276 up to and including 4.9.*
unaffected from 4.14.240 up to and including 4.14.*
unaffected from 4.19.198 up to and including 4.19.*
unaffected from 5.4.134 up to and including 5.4.*
unaffected from 5.10.52 up to and including 5.10.*
unaffected from 5.12.19 up to and including 5.12.*
unaffected from 5.13.4 up to and including 5.13.*
unaffected 5.14 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2021-47320 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47320

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2021-47320
trivy image --scanners vuln IMAGE | grep CVE-2021-47320

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2021-47320 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.