# CVE-2021-3492: Ubuntu linux kernel shiftfs file system double free vulnerability

- Severity: High 8.8 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.54%, higher than 75% of CVEs (2026-12-01)
- Published: 2021-04-17T04:20:16.011Z
- Modified: 2026-06-17T04:05:12.033Z
- Weaknesses: CWE-401, CWE-415
- Assigned by: canonical

## 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.

(As written by CVE List.)

## Affected

- Ubuntu Linux kernel: from 5.8 kernel before 5.8.0-50.56; from 5.4 kernel before 5.4.0-72.80
- canonical ubuntu_linux: before 18.04; from 18.04.1 before 20.04; before 20.10

## Every score

- canonical: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://www.openwall.com/lists/oss-security/2021/04/16/2> (mailing-list, third-party-advisory)
- <https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal/commit/?id=8fee52ab9da87d82bc6de9ebb3480fff9b4d53e6> (mailing-list, patch, vendor-advisory)
- <https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal/commit/?id=25c891a949bf918b59cbc6e4932015ba4c35c333> (mailing-list, patch, vendor-advisory)
- <https://ubuntu.com/security/notices/USN-4917-1> (vendor-advisory)
- <https://www.zerodayinitiative.com/advisories/ZDI-21-422/> (third-party-advisory, vdb-entry)
- <http://packetstormsecurity.com/files/162614/Kernel-Live-Patch-Security-Notice-LSN-0077-1.html> (third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2021-3492](https://www.cve.org/CVERecord?id=CVE-2021-3492), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2021-3492](https://nvd.nist.gov/vuln/detail/CVE-2021-3492), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3492 · Whole record: https://cve.day/CVE-2021-3492.json · Rebuilt by cve.day 2026-11-25T22:58:00.849Z
