CVE-2021-47579

ovl: fix warning in ovl_create_real()

published June 19, 2024

CVSS
—
EPSS
0%
Percentile
13.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00235 · 13.7th percentile
Published
2024-06-19T14:53Z
EPSS history
Timeline
  • 19 JUN 14:53Z
    ovl: fix warning in ovl_create_real()
    cvelistv5