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

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.3$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Improper ownership management
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

0day.today: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: git.kernel.org

Timelineinfo

01/18/2023 🔍
03/23/2023 +64 days 🔍
03/23/2023 +0 days 🔍
06/17/2025 +817 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: 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

Entryinfo

Created: 03/23/2023 07:14
Updated: 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.

Discussion

 AntonioMaini
(+1)
3 years ago
https://github.com/xkaneiki/CVE-2023-0386 exploit available
Thank you. We have just updated the entry with exploit details.

Do you want to use VulDB in your project?

Use the official API to access entries easily!