# CVE-2025-37863: ovl: don't allow datadir only

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2025-05-09T06:43:54.250Z
- Modified: 2026-06-17T09:15:35.453Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from cc0918b3582c98f12cfb30bf7496496d14bff3e9 before 0874b629f65320778e7e3e206177770666d9db18; from 24e16e385f2272b1a9df51337a5c32d28a29c7ad before b9e3579213ba648fa23f780e8d53e99011c62331; from 24e16e385f2272b1a9df51337a5c32d28a29c7ad before 21d2ffb0e9838a175064c22f3a9de97d1f56f27d; from 24e16e385f2272b1a9df51337a5c32d28a29c7ad before eb3a04a8516ee9b5174379306f94279fc90424c4; from 6.6.23 before 6.6.88; 6.7 (not affected: before 6.7; from 6.6.88 up to 6.6.*; from 6.12.25 up to 6.12.*; from 6.14.4 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.6.23 before 6.6.88; from 6.7 before 6.12.25; from 6.13 before 6.14.4; 6.15

## References

- <https://git.kernel.org/stable/c/0874b629f65320778e7e3e206177770666d9db18> (patch)
- <https://git.kernel.org/stable/c/b9e3579213ba648fa23f780e8d53e99011c62331> (patch)
- <https://git.kernel.org/stable/c/21d2ffb0e9838a175064c22f3a9de97d1f56f27d> (patch)
- <https://git.kernel.org/stable/c/eb3a04a8516ee9b5174379306f94279fc90424c4> (patch)

## Sources

- CVE List: [CVE-2025-37863](https://www.cve.org/CVERecord?id=CVE-2025-37863), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2025-37863](https://nvd.nist.gov/vuln/detail/CVE-2025-37863), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-37863 · Whole record: https://cve.day/CVE-2025-37863.json · Rebuilt by cve.day 2026-11-25T22:58:57.852Z
