The mpi_powm function in lib/mpi/mpi-pow.c in the Linux kernel through 4.8.11 does not ensure that memory is allocated for limb data, which allows local users to cause a denial of service (stack memory corruption and panic) via an add_key system call for an RSA key with a zero exponent.
https://source.android.com/security/bulletin/2017-03-01.html
https://github.com/torvalds/linux/commit/f5527fffff3f002b0a6b376163613b82f69de073
https://bugzilla.redhat.com/show_bug.cgi?id=1395187
https://access.redhat.com/errata/RHSA-2018:1854
https://access.redhat.com/errata/RHSA-2017:0933
https://access.redhat.com/errata/RHSA-2017:0932
https://access.redhat.com/errata/RHSA-2017:0931
http://www.securitytracker.com/id/1037968
http://www.securityfocus.com/bid/94532
http://www.openwall.com/lists/oss-security/2016/11/24/8