| From bippy-1.2.0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@kernel.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2025-37863: ovl: don't allow datadir only |
| |
| Description |
| =========== |
| |
| 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. |
| |
| The Linux kernel CVE team has assigned CVE-2025-37863 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 6.6.23 with commit cc0918b3582c98f12cfb30bf7496496d14bff3e9 and fixed in 6.6.88 with commit 0874b629f65320778e7e3e206177770666d9db18 |
| Issue introduced in 6.7 with commit 24e16e385f2272b1a9df51337a5c32d28a29c7ad and fixed in 6.12.25 with commit b9e3579213ba648fa23f780e8d53e99011c62331 |
| Issue introduced in 6.7 with commit 24e16e385f2272b1a9df51337a5c32d28a29c7ad and fixed in 6.14.4 with commit 21d2ffb0e9838a175064c22f3a9de97d1f56f27d |
| Issue introduced in 6.7 with commit 24e16e385f2272b1a9df51337a5c32d28a29c7ad and fixed in 6.15 with commit eb3a04a8516ee9b5174379306f94279fc90424c4 |
| |
| Please see https://www.kernel.org for a full list of currently supported |
| kernel versions by the kernel community. |
| |
| Unaffected versions might change over time as fixes are backported to |
| older supported kernel versions. The official CVE entry at |
| https://cve.org/CVERecord/?id=CVE-2025-37863 |
| will be updated if fixes are backported, please check that for the most |
| up to date information about this issue. |
| |
| |
| Affected files |
| ============== |
| |
| The file(s) affected by this issue are: |
| fs/overlayfs/super.c |
| |
| |
| Mitigation |
| ========== |
| |
| The Linux kernel CVE team recommends that you update to the latest |
| stable kernel version for this, and many other bugfixes. Individual |
| changes are never tested alone, but rather are part of a larger kernel |
| release. Cherry-picking individual commits is not recommended or |
| supported by the Linux kernel community at all. If however, updating to |
| the latest release is impossible, the individual changes to resolve this |
| issue can be found at these commits: |
| https://git.kernel.org/stable/c/0874b629f65320778e7e3e206177770666d9db18 |
| https://git.kernel.org/stable/c/b9e3579213ba648fa23f780e8d53e99011c62331 |
| https://git.kernel.org/stable/c/21d2ffb0e9838a175064c22f3a9de97d1f56f27d |
| https://git.kernel.org/stable/c/eb3a04a8516ee9b5174379306f94279fc90424c4 |