Vulnerability · Published Jun 19, 2024 · Assigned by Linux
CVE-2021-47579ovl: fix warning in ovl_create_real()
Medium 5.5
In plain English
A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-core | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-debug | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-devel | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-doc | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-headers | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-modules | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-rt | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux:8 | kernel-rt-core | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux:8 | kernel-rt-debug | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux:8 | kernel-rt-debug-core | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux:8 | kernel-rt-debug-devel | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux:8 | kernel-rt-debug-kvm | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux:8 | kernel-rt-debug-modules | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux:8 | kernel-rt-devel | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux:8 | kernel-rt-kvm | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux:8 | kernel-rt-modules | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux:8 | kernel-rt-modules-extra | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux:8 | kernel-tools | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | perf | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux:8 | python3-perf | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| Debian:12 | linux | 5.15.15-1 | DEBIAN-CVE-2021-47579 |
| Debian:13 | linux | 5.15.15-1 | DEBIAN-CVE-2021-47579 |
| Debian:14 | linux | 5.15.15-1 | DEBIAN-CVE-2021-47579 |
| Rocky Linux:8 | kernel | 0:4.18.0-553.16.1.el8_10 | RLSA-2024:5101 |
| Rocky Linux:8 | kernel | 0:4.18.0-553.16.1.el8_10.cloud.0.1 | RXSA-2024:5101 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-553.16.1.rt7.357.el8_10 | RLSA-2024:5102 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2021-47579 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2021-47579 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c – before 445d2dc63e5871d218f21b8f62ab29ac72f2e6b8e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c – before f9f300a92297be8250547347fd52216ef0177ae0e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c – before 6859985a2fbda5d1586bf44538853e1be69e85f7e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c – before d2ccdd4e4efab06178608a34d7bfb20a54104c02e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c – before 1f5573cfe7a7056e80a92c7a037a3e69f3a13d1c |
| Linux | Linux | 3.18 |
References
- https://git.kernel.org/stable/c/445d2dc63e5871d218f21b8f62ab29ac72f2e6b8
- https://git.kernel.org/stable/c/f9f300a92297be8250547347fd52216ef0177ae0
- https://git.kernel.org/stable/c/6859985a2fbda5d1586bf44538853e1be69e85f7
- https://git.kernel.org/stable/c/d2ccdd4e4efab06178608a34d7bfb20a54104c02
- https://git.kernel.org/stable/c/1f5573cfe7a7056e80a92c7a037a3e69f3a13d1c