A race condition in the Linux kernel before 5.6.2 between the VT_DISALLOCATE ioctl and closing/opening of ttys could lead to a use-after-free.
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.6.2
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ca4463bf8438b403596edd0ec961ca0d4fbe0220
Source: MITRE
Published: 2022-07-21
Updated: 2022-07-27
Type: CWE-362
Base Score: 5.1
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Impact Score: 3.6
Exploitability Score: 1.4
Severity: MEDIUM