DoS with POSIX file locks?

Miklos Szeredi
2006-03-20T11:41:49Z

Unlike open files there doesn't seem to be any limit on the number of
locks being held either globally or by a single process.

Hence an unprivileged process can consume large amounts of unswappable
kernel memory even if there are strict limits on other resources.

Is there a reason why this shouldn't be a problem?

Miklos