ovl: check access to copy_file_range source with src mounter creds (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.16 % · percentile 5 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: ovl: check access to copy_file_range source with src mounter creds Commit 5dae222a5ff0c ("vfs: allow copy_file_range to copy across devices") allowed filesystems that implement the copy_file_range() f_op to decide if they want to access cross-sb copy from/to the same fs type. The same commit added checks to verify same sb copy for filesystems that implement ->copy_file_range() and do not support cross-sb copy at the time, namely, to ceph, fuse and nfs. The two remaining fs which implement ->copy_file_range(), cifs and overlayfs started to support cross-sb copy from this time. While overlayfs does support cross-sb copy when the two underlying files are on the same base fs, the copy operation on the two real files from two different overalyfs filesystems is performed with the mounter creds of the destination overlayfs and the read permission access hook for the source file was called with the wrong creds. This could cause either deny of access to copy which would otherwise be allowed (e.g. with splice) or allow read access to file which would otherwise be denied. Fix the latter case by explicitly verifying read access to source file with the source overlayfs mounter creds. The former case remains a quirk of cross-sb overlayfs copy, but userspace could fall back to regular copy so no harm done.
References
- https://git.kernel.org/stable/c/7e13e5b087375f1aee1e930503d20efa7084c0fa
- https://git.kernel.org/stable/c/46c296aa678828105842eee29a147508d803d926
- https://git.kernel.org/stable/c/9ec22c8113d8cf72ed7197bb61037dcad09e50d8
- https://git.kernel.org/stable/c/1f4a107439d2e43db176e34919933e617cb7f2c5
- https://git.kernel.org/stable/c/a1e0eb8f55cfe09bb31a202a388babc411292656
European references
- ENISA EUVD · EUVD-2026-57054
- GCVE · GCVE-0-2026-68448
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1373 — Multiples vulnérabilités dans les produits Red Hat · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1372 — Multiples vulnérabilités dans les produits SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1335 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1255 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 5dae222a5ff0c269730393018a5539cc970a4726 < 7e13e5b087375f1aee1e930503d20efa7084c0fa ; affected 5dae222a5ff0c269730393018a5539cc970a4726 < 46c296aa678828105842eee29a147508d803d926 ; affected 5dae222a5ff0c269730393018a5539cc970a4726 < 9ec22c8113d8cf72ed7197bb61037dcad09e50d8 ; affected 5dae222a5ff0c269730393018a5539cc970a4726 < 1f4a107439d2e43db176e34919933e617cb7f2c5 ; affected 5dae222a5ff0c269730393018a5539cc970a4726 < a1e0eb8f55cfe09bb31a202a388babc411292656 |
| Linux · Linux | affected 5.3 ; unaffected 0 < 5.3 ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.114 ≤ 6.12.* ; unaffected 6.18.42 ≤ 6.18.* ; unaffected 7.1.6 ≤ 7.1.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |