Skip to content
Server Security Center
KEVhigh7.8

CVE-2021-3493: Linux Kernel Privilege Escalation

Linux Kernel · listed in the CISA catalog of actively exploited vulnerabilities since 2022-10-20.

CVSS v3.1 (CVE record)
7.8
high
EPSS (exploit probability, 30 days)
49%
higher than 98.9% of all CVEs
Added to CISA KEV
2022-10-20
US federal due date 2022-11-10
Ubuntu priority
high

CVE-2021-3493 explained

CVE-2021-3493 is a flaw in the Linux kernel overlayfs implementation. It did not properly validate file capabilities set on files in an underlying file system with respect to user namespaces. Combined with unprivileged user namespaces and an Ubuntu kernel patch allowing unprivileged overlay mounts, a local user could gain elevated privileges. CISA lists it as known exploited.

Impact

A local attacker with a low-privileged account can gain elevated privileges without user interaction. Successful exploitation gives high impact to confidentiality, integrity and availability of the affected system. The issue depends on unprivileged user namespaces together with the Ubuntu kernel patch that allows unprivileged overlay mounts. Systems where untrusted users can log in or run code are most exposed.

Who is affected

The linux source package is affected on Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. Fixed versions exist in the standard archive for all three: 4.4.0-209.241 for Ubuntu 16.04 LTS, 4.15.0-142.146 for Ubuntu 18.04 LTS and 5.4.0-72.80 for Ubuntu 20.04 LTS. Ubuntu 16.04 LTS is end of life. Standard support has ended for 18.04 and 20.04. Further Ubuntu kernel flavours are listed on the page.

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

Official description

The overlayfs implementation in the linux kernel did not properly validate with respect to user namespaces the setting of file capabilities on files in an underlying file system. Due to the combination of unprivileged user namespaces along with a patch carried in the Ubuntu kernel to allow unprivileged overlay mounts, an attacker could use this to gain elevated privileges.

CISA required action: Apply updates per vendor instructions.

CISA notes

Upstream versions (CVE record)

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

  • Ubuntu linux kernel
    Affected
    • ≥ 4.4 kernel, < 4.4.0-209.241
    • ≥ 4.15 kernel, < 4.15.0-142.146
    • ≥ 5.4 kernel, < 5.4.0-72.80
    • ≥ 5.8 kernel, < 5.8.0-50.56
    Fixed in
    • 4.4.0-209.241
    • 4.15.0-142.146
    • 5.4.0-72.80
    • 5.8.0-50.56

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.

45 more Ubuntu kernel flavours (cloud, HWE, low-latency, real-time …) – 62 release entries
  • 24.04 linux-raspi-realtime: no fixed version published
  • 22.04 linux-intel-iot-realtime: no fixed version published
  • 22.04 linux-realtime: no fixed version published
  • 20.04 linux-aws: 5.4.0-1045.47
  • 20.04 linux-azure: 5.4.0-1046.48
  • 20.04 linux-gcp: 5.4.0-1042.45
  • 20.04 linux-gke: 5.4.0-1042.44
  • 20.04 linux-gkeop: 5.4.0-1014.15
  • 20.04 linux-hwe-5.8: 5.8.0-50.56~20.04.1
  • 20.04 linux-kvm: 5.4.0-1038.39
  • 20.04 linux-oem-5.10: 5.10.0-1022.23
  • 20.04 linux-oem-5.6: 5.6.0-1054.58
  • 20.04 linux-oracle: 5.4.0-1043.46
  • 20.04 linux-raspi: 5.4.0-1034.37
  • 20.04 linux-raspi2: no fixed version published
  • 20.04 linux-riscv: no fixed version published
  • 20.04 linux-riscv-5.8: 5.8.0-22.24~20.04.1
  • 18.04 linux-aws: 4.15.0-1099.106
  • 18.04 linux-aws-5.0: no fixed version published
  • 18.04 linux-aws-5.3: no fixed version published
  • 18.04 linux-aws-5.4: 5.4.0-1045.47~18.04.1
  • 18.04 linux-azure: no fixed version published
  • 18.04 linux-azure-4.15: 4.15.0-1113.126
  • 18.04 linux-azure-5.3: no fixed version published
  • 18.04 linux-azure-5.4: 5.4.0-1046.48~18.04.1
  • 18.04 linux-azure-edge: no fixed version published
  • 18.04 linux-dell300x: 4.15.0-1017.21
  • 18.04 linux-gcp: no fixed version published
  • 18.04 linux-gcp-4.15: 4.15.0-1098.111
  • 18.04 linux-gcp-5.3: no fixed version published
  • 18.04 linux-gcp-5.4: 5.4.0-1042.45~18.04.1
  • 18.04 linux-gcp-edge: no fixed version published
  • 18.04 linux-gke-4.15: no fixed version published
  • 18.04 linux-gke-5.3: 5.3.0-1042.45
  • 18.04 linux-gke-5.4: 5.4.0-1042.44~18.04.1
  • 18.04 linux-gkeop-5.4: 5.4.0-1014.15~18.04.1
  • 18.04 linux-hwe: 5.3.0-73.69
  • 18.04 linux-hwe-5.4: 5.4.0-72.80~18.04.1
  • 18.04 linux-hwe-edge: no fixed version published
  • 18.04 linux-kvm: 4.15.0-1090.92
  • 18.04 linux-oem: no fixed version published
  • 18.04 linux-oracle: 4.15.0-1070.78
  • 18.04 linux-oracle-5.0: no fixed version published
  • 18.04 linux-oracle-5.3: no fixed version published
  • 18.04 linux-oracle-5.4: 5.4.0-1043.46~18.04.1
  • 18.04 linux-raspi-5.4: 5.4.0-1034.37~18.04.1
  • 18.04 linux-raspi2: 4.15.0-1084.89
  • 18.04 linux-raspi2-5.3: 5.3.0-1039.41
  • 18.04 linux-snapdragon: 4.15.0-1101.110
  • 16.04 linux-aws: 4.4.0-1127.141
  • 16.04 linux-aws-hwe: 4.15.0-1099.106~16.04.1
  • 16.04 linux-azure: 4.15.0-1113.126~16.04.1
  • 16.04 linux-gcp: 4.15.0-1098.111~16.04.1
  • 16.04 linux-hwe: 4.15.0-142.146~16.04.1
  • 16.04 linux-hwe-edge: no fixed version published
  • 16.04 linux-kvm: 4.4.0-1092.101
  • 16.04 linux-oracle: 4.15.0-1070.78~16.04.1
  • 16.04 linux-raspi2: 4.4.0-1151.162
  • 16.04 linux-snapdragon: 4.4.0-1155.165
  • 14.04 linux-aws (Pro): 4.4.0-1091.95
  • 14.04 linux-azure (Pro): 4.15.0-1113.126~14.04.1
  • 14.04 linux-lts-xenial (Pro): 4.4.0-209.241~14.04.1

What to do

  1. Update the linux kernel packages to the fixed version for your release or later.
  2. Reboot after updating so the fixed kernel actually runs.
  3. Confirm the running kernel is at or above the fixed version listed for your release.
  4. Plan upgrades of Ubuntu 16.04 LTS systems to a supported release, as it is end of life.
  5. Enable Ubuntu Pro (ESM) on Ubuntu 18.04 LTS and 20.04 LTS to keep receiving future security fixes.

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-270 Privilege Context Switching Error

Questions about CVE-2021-3493

Is this vulnerability exploited in practice?
Yes. CISA added CVE-2021-3493 to its Known Exploited Vulnerabilities catalog on 2022-10-20, with a US federal due date of 2022-11-10. Known ransomware use is listed as unknown.
Can it be exploited remotely?
No. The attack vector is local. An attacker needs a low-privileged account or code execution on the system, but no user interaction is required.
Is installing the updated package enough?
No. Kernel fixes take effect only after the system boots into the new kernel. Reboot after updating and confirm the running kernel version.

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.