PT-2023-1959 · Linux+10 · Linux Kernel+10
Published
2023-01-24
·
Updated
2026-03-31
·
CVE-2023-0386
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.2
Description
A flaw was found in the Linux kernel's OverlayFS subsystem, allowing unauthorized access to the execution of the setuid file with capabilities. This uid mapping bug enables a local user to escalate their privileges on the system. The issue is related to how a user copies a capable file from a nosuid mount into another mount. Exploitation requires unprivileged user namespaces enabled.
Recommendations
For Linux kernel versions prior to 6.2, update to version 6.2 or later to resolve the issue. As a temporary workaround, consider disabling the use of OverlayFS or restricting access to it until a patch is available. Additionally, disabling unprivileged user namespaces can help minimize the risk of exploitation.
Exploit
Fix
LPE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu