CVE-2021-3492 Ubuntu linux kernel shiftfs file system double free vulnerability
An attacker can exploit a double-free vulnerability in the Ubuntu shiftfs file system to cause denial of service or execute arbitrary code with kernel privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-3492?
CVE-2021-3492 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 17 Apr 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Shiftfs, an out-of-tree stacking file system included in Ubuntu Linux kernels, did not properly handle faults occurring during copy_from_user() correctly. These could lead to either a double-free situation or memory not being freed at all. An attacker could use this to cause a denial of service (kernel memory exhaustion) or gain privileges via executing arbitrary code. AKA ZDI-CAN-13562.
Which versions are affected by CVE-2021-3492?
It affects 1 product.
Products include Canonical Ubuntu Linux.
How do I fix CVE-2021-3492?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2021-3492 being exploited?
There is no known exploitation of CVE-2021-3492 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as GHSA-hr5j-7qj8-mpp3, LSN-0077-1, UBUNTU-CVE-2021-3492.