ovl: don't allow datadir only
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ovl: don't allow datadir only
In theory overlayfs could support upper layer directly referring to a data layer, but there's no current use case for this.
Originally, when data-only layers were introduced, this wasn't allowed, only introduced by the "datadir+" feature, but without actually handling this case, resulting in an Oops.
Fix by disallowing datadir without lowerdir.
From the CVE record · Linux
Overlayfs can trigger a kernel Oops when datadir is used without lowerdir. The input does not specify whether exploiting this requires local or network access, authentication, or user interaction.
Engineers running Linux kernels with overlayfs should check their deployments; affected versions are not specified.