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://euvd.enisa.europa.eu/vulnerability/EUVD-2020-24033
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.6.2