8.8high
Ubuntu linux kernel shiftfs file system double free vulnerability
- Severity
- 8.8high CVSS:3.1 by canonical
- Exploit likelihood
- 1.54% (higher than 75% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Ubuntu Linux kernel | from 5.8 kernel before 5.8.0-50.56, from 5.4 kernel before 5.4.0-72.80 | CVE List |
| canonical ubuntu_linux | before 18.04, from 18.04.1 before 20.04, before 20.10 | NVD |
All scores
| canonical | 8.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.2high CVSS:2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
What each source says
CVE List
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.
NVD (es)
Shiftfs, un sistema de archivos de apilamiento fuera del árbol incluido en los kernels de Ubuntu Linux, no manejaba apropiadamente los fallos que ocurrían durante la función copy_from_user(). Esto podría conllevar a una situación de doble liberación o a que la memoria no sea liberada del todo. Un atacante podría usar esto para causar una denegación de servicio (agotamiento de la memoria del kernel) u alcanzar privilegios por medio de la ejecución de código arbitrario. También se conoce como ZDI-CAN-13562
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3492 changed 2024-09-17 | CVE Terms of Use |
| NVD | CVE-2021-3492 changed 2026-06-17 | Public domain |