On Thu, Apr 22, 2021 at 01:44:59PM +0200, Michal Hocko wrote: > On Thu 22-04-21 13:23:21, Greg KH wrote: > > On Thu, Apr 22, 2021 at 01:37:53PM +0300, Vasily Averin wrote: > > > At each login the user forces the kernel to create a new terminal and > > > allocate up to ~1Kb memory for the tty-related structures. > > > > Does this tiny amount of memory actually matter? > > The primary question is whether an untrusted user can trigger an > unbounded amount of these allocations. Can they? They are not bounded by some other resource limit? greg k-h