Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.8.11-1 | — |
| Debian 13 | linux | 4.8.11-1 | — |
| Debian 12 | linux | 4.8.11-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | linux | 4.4.0-62.83 | — |
| Ubuntu 16.04 LTS | linux-aws | 4.4.0-1003.12 | — |
| Ubuntu 16.04 LTS | linux-hwe | 4.8.0-39.42~16.04.1 | — |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1042.49 | — |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1046.50 | — |
| Ubuntu 14.04 LTS | linux | 3.13.0-132.181 | USN-3422-1 |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-62.83~14.04.1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | kernel-rt +10 | 3.10.0-514.16.1.rt56.437.el7 | RHSA-2017:0931 |
| RHEL 7 | perf +18 | 3.10.0-514.16.1.el7 | RHSA-2017:0933 |
| RHEL 6 | perf +16 | 2.6.32-754.el6 | RHSA-2018:1854 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat MRG 2 | kernel-rt +10 | 1:3.10.0-514.rt56.219.el6rt | RHSA-2017:0932 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | dtrace-modules-3.8.13-118.15.1.el6uek | 0.4.5-3.el6 | ELSA-2016-3651 |
| Oracle Linux 7 | dtrace-modules-3.8.13-118.15.1.el7uek | 0.4.5-3.el7 | ELSA-2016-3651 |
| Oracle Linux 7 | dtrace-modules-4.1.12-61.1.22.el6uek | 0.5.3-2.el6 | ELSA-2016-3648 |
| Oracle Linux 7 | dtrace-modules-4.1.12-61.1.22.el7uek | 0.5.3-2.el7 | ELSA-2016-3648 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-118.15.1.el7uek | ELSA-2016-3651, ELSA-2016-3648 |
| Oracle Linux 7 | perf +11 | 3.10.0-514.16.1.el7 | ELSA-2017-0933 |
Advisories 8
- RHSA-2018:1854 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:0933 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:0931 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:0932 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- USN-3422-1 linux vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- ELSA-2017-0933 Important: kernel security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Apr 12, 2017
- ELSA-2016-3651 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Dec 9, 2016
- ELSA-2016-3648 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Dec 7, 2016
References
- https://github.com/torvalds/linux/commit/f5527fffff3f002b0a6b376163613b82f69de073
- 1037968 vdb-entry
- 20161115 OS-S 2016-21 - Local DoS: Linux Kernel Nullpointer Dereference via keyctl mailing-list
- [oss-security] 20161125 Linux kernel: CVE-2016-8650 : Local denial of service with in key subsystem mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=1395187
- RHSA-2018:1854 vendor-advisory
- RHSA-2017:0932 vendor-advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f5527fffff3f002b0a6b376163613b82f69de073
- RHSA-2017:0933 vendor-advisory
- RHSA-2017:0931 vendor-advisory
- 94532 vdb-entry
- https://source.android.com/security/bulletin/2017-03-01.html