PT-2020-1262 · Linux+8 · Linux Kernel+8
Published
2020-12-04
·
Updated
2024-06-15
·
CVE-2020-29661
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 5.9.13
Description
The issue is related to a locking problem in the tty subsystem of the Linux kernel, which allows a use-after-free attack against TIOCSPGRP. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. The vulnerability is associated with the drivers/tty/tty jobctrl.c component and involves a race condition that can be exploited to gain unauthorized access.
Recommendations
For Linux kernel versions prior to 5.9.13, update to a version 5.9.13 or later to resolve the issue. As a temporary workaround, consider restricting access to the vulnerable TIOCSPGRP ioctl handler in the tty subsystem until a patch is available. Avoid using the TIOCSPGRP ioctl handler in the affected API endpoint until the issue is resolved.
Exploit
Fix
Improper Locking
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Suse
Ubuntu