NetBSD 1.6, 2.0, 2.1 and 3.0 allows local users to cause a denial of service (memory exhaustion) by using the sysctl system call to lock a large buffer into physical memory.
https://exchange.xforce.ibmcloud.com/vulnerabilities/25764
http://www.securityfocus.com/bid/17498