{"id":"CVE-2021-3492","aliases":["CVE-2021-3492"],"related":[],"kind":"vulnerability","state":"published","title":"Ubuntu linux kernel shiftfs file system double free vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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().&#xa0;Esto podría conllevar a una situación de doble liberación o a que la memoria no sea liberada del todo.&#xa0;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.&#xa0;También se conoce como ZDI-CAN-13562","source":"nvd"}],"published":"2021-04-17T04:20:16.011Z","modified":"2026-06-17T04:05:12.033Z","severity":{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","score":7.2,"rating":"HIGH"}],"cwes":["CWE-401","CWE-415"],"affected":[{"ranges":[{"type":"custom","introduced":"5.8 kernel","fixed":"5.8.0-50.56","status":"affected"},{"type":"custom","introduced":"5.4 kernel","fixed":"5.4.0-72.80","status":"affected"}],"vendor":"Ubuntu","product":"Linux kernel","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"18.04"},{"status":"affected","introduced":"18.04.1","fixed":"20.04"},{"status":"affected","fixed":"20.10"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:*:*:*:*:lts:*:*:*","source":"nvd"}],"references":[{"url":"https://www.openwall.com/lists/oss-security/2021/04/16/2","tags":["mailing-list","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal/commit/?id=8fee52ab9da87d82bc6de9ebb3480fff9b4d53e6","tags":["mailing-list","patch","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal/commit/?id=25c891a949bf918b59cbc6e4932015ba4c35c333","tags":["mailing-list","patch","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://ubuntu.com/security/notices/USN-4917-1","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-21-422/","tags":["third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://packetstormsecurity.com/files/162614/Kernel-Live-Patch-Security-Notice-LSN-0077-1.html","tags":["third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Vincent Dehors of Synactiv Digital Security"],"assigner":"canonical","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3492","url":"https://www.cve.org/CVERecord?id=CVE-2021-3492","licence":"CVE Terms of Use","modified":"2024-09-17T03:54:52.527Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3492","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3492","licence":"Public domain","modified":"2026-06-17T04:05:12.033Z"}],"updatedAt":"2026-11-25T22:58:00.849Z","epss":{"score":0.01535,"percentile":0.75569,"date":"2026-12-01T12:00:22.000Z"}}