Linux Kernel OverlayFS Subsystem fs/overlayfs/copy_up.c ovl_copy_up_one improper ownership management

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability described as problematic has been identified in Linux Kernel. Affected by this issue is the function ovl_copy_up_one of the file fs/overlayfs/copy_up.c of the component OverlayFS Subsystem. The manipulation results in improper ownership management.
This vulnerability is known as CVE-2023-0386. Attacking locally is a requirement. Furthermore, an exploit is available.
It is advisable to implement a patch to correct this issue.
Details
A vulnerability was found in Linux Kernel (Operating System) (unknown version). It has been classified as problematic. Affected is the function ovl_copy_up_one of the file fs/overlayfs/copy_up.c of the component OverlayFS Subsystem. The manipulation with an unknown input leads to a improper ownership management vulnerability. CWE is classifying the issue as CWE-282. The product assigns the wrong ownership, or does not properly verify the ownership, of an object or resource. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
A flaw was found in the Linux kernel, where unauthorized access to the execution of the setuid file with capabilities was found in the Linux kernel’s OverlayFS subsystem in how a user copies a capable file from a nosuid mount into another mount. This uid mapping bug allows a local user to escalate their privileges on the system.
The weakness was published 03/23/2023. The advisory is shared for download at git.kernel.org. This vulnerability is traded as CVE-2023-0386 since 01/18/2023. Technical details and a public exploit are known.
A public exploit has been developed in ANSI C. The exploit is shared for download at github.com. It is declared as attacked. This issue was added on 06/17/2025 to the CISA Known Exploited Vulnerabilities Catalog with a due date of 07/08/2025:
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org.
The vulnerability is also documented in the vulnerability database at 0day.today (39762). Once again VulDB remains the best source for vulnerability data.
Product
Type
Vendor
Name
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.5VulDB Meta Temp Score: 6.4
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Improper ownership managementCWE: CWE-282 / CWE-284 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Access: Public
Status: Attacked
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
KEV Added: 🔍
KEV Due: 🔍
KEV Remediation: 🔍
KEV Ransomware: 🔍
KEV Notice: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
0day.today: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: git.kernel.org
Timeline
01/18/2023 🔍03/23/2023 🔍
03/23/2023 🔍
06/17/2025 🔍
Sources
Vendor: kernel.orgAdvisory: git.kernel.org
Status: Confirmed
CVE: CVE-2023-0386 (🔍)
GCVE (CVE): GCVE-0-2023-0386
GCVE (VulDB): GCVE-100-223620
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 03/23/2023 07:14Updated: 06/17/2025 22:46
Changes: 03/23/2023 07:14 (41), 04/13/2023 07:44 (11), 05/12/2023 15:05 (9), 09/27/2024 17:14 (14), 09/30/2024 09:56 (1), 06/17/2025 22:46 (12)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
Do you want to use VulDB in your project?
Use the official API to access entries easily!