Skip to content
Server Security Center
KEVhigh7.8

CVE-2023-0386: Linux Kernel Improper Ownership Management

Linux Kernel · listed in the CISA catalog of actively exploited vulnerabilities since 2025-06-17.

CVSS v3.1 (CVE record)
7.8
high
EPSS (exploit probability, 30 days)
7.9%
higher than 94.8% of all CVEs
Added to CISA KEV
2025-06-17
US federal due date 2025-07-08
Ubuntu priority
high

CVE-2023-0386 explained

CVE-2023-0386 is a flaw in the Linux kernel's OverlayFS subsystem. A uid mapping bug in how a user copies a capable file from a nosuid mount into another mount allows unauthorized execution of a setuid file with capabilities. A local user can use it to escalate privileges. It is listed in the CISA Known Exploited Vulnerabilities catalog.

Impact

A local attacker with a low-privileged account can escalate their privileges on the system. No user interaction is needed and attack complexity is low. Successful exploitation gives high impact on confidentiality, integrity and availability of the affected host. The attack is local, so the risk is highest on systems where untrusted users can log in or run code.

Who is affected

The facts cover Ubuntu 22.04 LTS, which is supported. The linux source package there is affected and fixed in 5.15.0-70.77 in the standard archive. Further Ubuntu kernel flavours are listed on the page; check the entry for the flavour you run. The facts list no Debian releases.

Written with AI from the data on this page and checked against it automatically.

Official description

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.

CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

CISA notes

Upstream versions (CVE record)

From the CVE record published by the vendor or CVE numbering authority.

  • Kernel
    Affected
    • Linux kernel 6.2-rc6
    Fixed in
    not stated

Ubuntu and Debian releases

A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.

71 more Ubuntu kernel flavours (cloud, HWE, low-latency, real-time …) – 74 release entries
  • 24.04 linux-raspi-realtime: no fixed version published
  • 22.04 linux-aws: 5.15.0-1034.38
  • 22.04 linux-azure: 5.15.0-1036.43
  • 22.04 linux-azure-5.19: no fixed version published
  • 22.04 linux-azure-fde: 5.15.0-1036.43.1
  • 22.04 linux-azure-fde-5.19: no fixed version published
  • 22.04 linux-gcp: 5.15.0-1032.40
  • 22.04 linux-gke: 5.15.0-1031.36
  • 22.04 linux-gkeop: 5.15.0-1018.23
  • 22.04 linux-hwe-5.19: 5.19.0-41.42~22.04.1
  • 22.04 linux-ibm: 5.15.0-1028.31
  • 22.04 linux-intel-iotg: 5.15.0-1028.33
  • 22.04 linux-kvm: 5.15.0-1031.36
  • 22.04 linux-lowlatency: 5.15.0-70.77
  • 22.04 linux-lowlatency-hwe-5.19: no fixed version published
  • 22.04 linux-nvidia: 5.15.0-1023.23
  • 22.04 linux-oem-5.17: 5.17.0-1031.32
  • 22.04 linux-oem-6.0: 6.0.0-1015.15
  • 22.04 linux-oem-6.1: 6.1.0-1008.8
  • 22.04 linux-oracle: 5.15.0-1033.39
  • 22.04 linux-raspi: 5.15.0-1027.29
  • 22.04 linux-riscv: no fixed version published
  • 22.04 linux-intel-iot-realtime (Pro): 5.15.0-1024.29
  • 22.04 linux-realtime (Pro): 5.15.0-1036.39
  • 20.04 linux-aws-5.11: no fixed version published
  • 20.04 linux-aws-5.13: no fixed version published
  • 20.04 linux-aws-5.15: 5.15.0-1034.38~20.04.1
  • 20.04 linux-aws-5.8: no fixed version published
  • 20.04 linux-azure-5.11: no fixed version published
  • 20.04 linux-azure-5.13: no fixed version published
  • 20.04 linux-azure-5.15: 5.15.0-1036.43~20.04.1
  • 20.04 linux-azure-5.8: no fixed version published
  • 20.04 linux-azure-fde-5.15: 5.15.0-1036.43~20.04.1.1
  • 20.04 linux-gcp-5.11: no fixed version published
  • 20.04 linux-gcp-5.13: no fixed version published
  • 20.04 linux-gcp-5.15: 5.15.0-1032.40~20.04.1
  • 20.04 linux-gcp-5.8: no fixed version published
  • 20.04 linux-gke-5.15: 5.15.0-1031.36~20.04.1
  • 20.04 linux-gkeop-5.15: 5.15.0-1018.23~20.04.1
  • 20.04 linux-hwe-5.11: no fixed version published
  • 20.04 linux-hwe-5.13: no fixed version published
  • 20.04 linux-hwe-5.15: 5.15.0-70.77~20.04.1
  • 20.04 linux-hwe-5.8: no fixed version published
  • 20.04 linux-intel-5.13: no fixed version published
  • 20.04 linux-intel-iotg-5.15: 5.15.0-1030.35~20.04.1
  • 20.04 linux-lowlatency-hwe-5.15: 5.15.0-70.77~20.04.1
  • 20.04 linux-oem-5.10: no fixed version published
  • 20.04 linux-oem-5.13: no fixed version published
  • 20.04 linux-oem-5.14: no fixed version published
  • 20.04 linux-oem-5.6: no fixed version published
  • 20.04 linux-oracle-5.11: no fixed version published
  • 20.04 linux-oracle-5.13: no fixed version published
  • 20.04 linux-oracle-5.15: 5.15.0-1033.39~20.04.1
  • 20.04 linux-oracle-5.8: no fixed version published
  • 20.04 linux-raspi2: no fixed version published
  • 20.04 linux-riscv: no fixed version published
  • 20.04 linux-riscv-5.11: no fixed version published
  • 20.04 linux-riscv-5.15: 5.15.0-1031.35~20.04.1
  • 20.04 linux-riscv-5.8: no fixed version published
  • 18.04 linux-aws-5.0: no fixed version published
  • 18.04 linux-aws-5.3: no fixed version published
  • 18.04 linux-azure: no fixed version published
  • 18.04 linux-azure-5.3: no fixed version published
  • 18.04 linux-azure-edge: no fixed version published
  • 18.04 linux-gcp: no fixed version published
  • 18.04 linux-gcp-5.3: no fixed version published
  • 18.04 linux-gke-4.15: no fixed version published
  • 18.04 linux-gke-5.4: no fixed version published
  • 18.04 linux-gkeop-5.4: no fixed version published
  • 18.04 linux-hwe: no fixed version published
  • 18.04 linux-oem: no fixed version published
  • 18.04 linux-oracle-5.0: no fixed version published
  • 18.04 linux-oracle-5.3: no fixed version published
  • 16.04 linux-hwe-edge: no fixed version published

What to do

  1. Identify Ubuntu 22.04 LTS hosts running the linux kernel and check the installed version.
  2. Update the linux kernel packages to 5.15.0-70.77 or later from the standard archive.
  3. Check the page for other kernel flavours you run and update those as well.
  4. Reboot each host so the fixed kernel is running.
  5. Confirm after reboot that the running kernel is the fixed version.

Written with AI from the data on this page and checked against it automatically.

Check and fix on a server

Kernel fixes arrive as a new kernel package (new ABI) through the metapackages, so upgrade the whole system and boot into the new kernel.

1. Show the running kernel and the version of its package

uname -r && dpkg-query -W -f='${Version}\n' "linux-image-$(uname -r)"

2. Compare with the fixed version for your release and kernel flavour from the table

I=INSTALLED_VERSION; F=FIXED_VERSION   # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac

3. Install the new kernel, then reboot (or apply a livepatch)

sudo apt update && sudo apt full-upgrade && sudo reboot

On Debian, signed kernel images come from the linux-signed-* source packages; the version to compare is the same.

Rows marked “fix via Ubuntu Pro”: these fixes are only installable with an Ubuntu Pro subscription (ESM). Attach the machine first (sudo pro attach, then sudo pro enable esm-infra esm-apps), then run the commands above.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-282

Questions about CVE-2023-0386

Is this vulnerability exploited in the wild?
CISA added CVE-2023-0386 to its Known Exploited Vulnerabilities catalog on 2025-06-17, with a US federal due date of 2025-07-08. Whether it is used in ransomware campaigns is listed as unknown.
Can it be exploited remotely?
No. The attack vector is local. An attacker needs a low-privileged account or other local code execution on the system to escalate privileges.
Is installing the updated package enough?
No. The fixed kernel is only used after the host reboots. Until then the system keeps running the vulnerable kernel.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.