Multiple buffer overflows in the ISO network protocol support in the NetBSD kernel 2.0 through 4.0_BETA2, and NetBSD-current before 20070329, allow local users to execute arbitrary code via long parameters to certain functions, as demonstrated by a long sockaddr structure argument to the clnp_route function.
https://exchange.xforce.ibmcloud.com/vulnerabilities/33381
http://www.vupen.com/english/advisories/2007/1159
http://www.securitytracker.com/id?1017832