CVE-2021-47579

ovl: fix warning in ovl_create_real()

MEDIUM
5.5
CVSS Score
Published: June 19, 2024 at 02:53 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.2%
SSVC
No known exploit

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

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

v < 4.19.2223.18 ≤ v < 4.19.2223.18 ≤ v < 5.10.883.18 ≤ v < 5.15.113.18 ≤ v < 5.163.18 ≤ v < 5.4.1684.20 ≤ v < 5.4.1685.11 ≤ v < 5.15.115.5 ≤ v < 5.10.883.18e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c
Vendor states this is fixed in 1f5573cfe7a7056e80a92c7a037a3e69f3a13d1c (fixed)
Vendor states this is fixed in 445d2dc63e5871d218f21b8f62ab29ac72f2e6b8 (fixed)
Vendor states this is fixed in 6859985a2fbda5d1586bf44538853e1be69e85f7 (fixed)
Vendor states this is fixed in d2ccdd4e4efab06178608a34d7bfb20a54104c02 (fixed)
Vendor states this is fixed in f9f300a92297be8250547347fd52216ef0177ae0 (fixed)
Vendor states this is fixed in 3.18 (unaffected)
Vendor states this is fixed in 4.19.222 (unaffected)
Vendor states this is fixed in 5.10.88 (unaffected)
Vendor states this is fixed in 5.15.11 (unaffected)
Vendor states this is fixed in 5.16 (unaffected)
Vendor states this is fixed in 5.4.168 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1f5573cfe7a7056e80a92c7a037a3e69f3a13d1c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/445d2dc63e5871d218f21b8f62ab29ac72f2e6b8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6859985a2fbda5d1586bf44538853e1be69e85f7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d2ccdd4e4efab06178608a34d7bfb20a54104c02
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f9f300a92297be8250547347fd52216ef0177ae0

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
NVD-CWE-noinfo

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