PortGate

Advisories · Linux & SSH

CVE-2021-3493 High CVSS 7.8 Actively exploited

Ubuntu OverlayFS privilege escalation

Disclosed 2021 · Last reviewed 2 Dec 2026

A local user on those Ubuntu kernels could become root through OverlayFS.

What happened

The Ubuntu OverlayFS patch mishandled file capabilities on a user namespace mount.

Affected and patched versions

Affected
Specific Ubuntu kernels before the April 2021 OverlayFS fix. Other distributions were not the target of this bug.
Patched
The Ubuntu kernel update that names CVE-2021-3493.

How to check your server

Check

uname -r

How to fix and harden

  1. Run uname -r and confirm the host is Ubuntu.
  2. Install the Ubuntu security kernel and reboot.
  3. This is a local bug. Closing unused ports does not patch it.

Fix

uname -r

Sources

Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON