CVE-2021-47579
ovl: fix warning in ovl_create_real()
Check your servers for CVE-2021-47579
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-47579 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
ovl: fix warning in ovl_create_real()
Syzbot triggered the following warning in ovl_workdir_create() -> ovl_create_real():
if (!err && WARN_ON(!newdentry->d_inode)) {
The reason is that the cgroup2 filesystem returns from mkdir without instantiating the new dentry.
Weird filesystems such as this will be rejected by overlayfs at a later stage during setup, but to prevent such a warning, call ovl_mkdir_real() directly from ovl_workdir_create() and reject this case early.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 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.
| Product | Versions |
|---|---|
| Linux |
affected from e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c, before 445d2dc63e5871d218f21b8f62ab29ac72f2e6b8 affected from e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c, before f9f300a92297be8250547347fd52216ef0177ae0 affected from e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c, before 6859985a2fbda5d1586bf44538853e1be69e85f7 affected from e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c, before d2ccdd4e4efab06178608a34d7bfb20a54104c02 affected from e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c, before 1f5573cfe7a7056e80a92c7a037a3e69f3a13d1c
Other versions: unaffected
|
| Linux |
affected 3.18 unaffected before 3.18 unaffected from 4.19.222 up to and including 4.19.* unaffected from 5.4.168 up to and including 5.4.* unaffected from 5.10.88 up to and including 5.10.* unaffected from 5.15.11 up to and including 5.15.* unaffected 5.16 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-47579 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47579
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-47579
trivy image --scanners vuln IMAGE | grep CVE-2021-47579
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
- https://git.kernel.org/stable/c/445d2dc63e5871d218f21b8f62ab29ac72f2e6b8 git.kernel.org
- https://git.kernel.org/stable/c/f9f300a92297be8250547347fd52216ef0177ae0 git.kernel.org
- https://git.kernel.org/stable/c/6859985a2fbda5d1586bf44538853e1be69e85f7 git.kernel.org
- https://git.kernel.org/stable/c/d2ccdd4e4efab06178608a34d7bfb20a54104c02 git.kernel.org
- https://git.kernel.org/stable/c/1f5573cfe7a7056e80a92c7a037a3e69f3a13d1c git.kernel.org
Source: the record CVE-2021-47579 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.
Vulnpocalypse