CVE-2017-18174
kernel: Double free vulnerability in drivers/pinctrl/pinctrl-amd.c:amd_gpio_remove() function can lead to kernel panic
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Oracle (high), Red Hat (medium), Ubuntu (medium).
Description
In the Linux kernel before 4.7, the amd_gpio_remove function in drivers/pinctrl/pinctrl-amd.c calls the pinctrl_unregister function, leading to a double free.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Oracle Linux 6 | kernel-uek, kernel-uek-debug, kernel-uek-debug-devel and 3 more | 4.1.12-124.24.1.el6uek |
| Oracle Linux 7 | kernel-uek, kernel-uek-debug, kernel-uek-debug-devel and 3 more | 4.1.12-124.24.1.el7uek |
| ubuntu 14.04 | linux-aws, linux-lts-xenial | 4.4.0-1037.40 and 1 more |
| ubuntu 14.04-ESM | linux-aws, linux-lts-xenial | 4.4.0-1037.40 and 1 more |
| ubuntu 16.04 | linux, linux-aws, linux-kvm and 2 more | 4.4.0-141.167 and 4 more |
| ubuntu 16.04-ESM | linux, linux-aws, linux-kvm | 4.4.0-141.167 and 2 more |
Show all 24 entries from 6 sources
| Source | Package | Fixed in |
|---|---|---|
| Oracle Linux 6 | kernel-uek | 4.1.12-124.24.1.el6uek |
| Oracle Linux 6 | kernel-uek-debug | 4.1.12-124.24.1.el6uek |
| Oracle Linux 6 | kernel-uek-debug-devel | 4.1.12-124.24.1.el6uek |
| Oracle Linux 6 | kernel-uek-devel | 4.1.12-124.24.1.el6uek |
| Oracle Linux 6 | kernel-uek-doc | 4.1.12-124.24.1.el6uek |
| Oracle Linux 6 | kernel-uek-firmware | 4.1.12-124.24.1.el6uek |
| Oracle Linux 7 | kernel-uek | 4.1.12-124.24.1.el7uek |
| Oracle Linux 7 | kernel-uek-debug | 4.1.12-124.24.1.el7uek |
| Oracle Linux 7 | kernel-uek-debug-devel | 4.1.12-124.24.1.el7uek |
| Oracle Linux 7 | kernel-uek-devel | 4.1.12-124.24.1.el7uek |
| Oracle Linux 7 | kernel-uek-doc | 4.1.12-124.24.1.el7uek |
| Oracle Linux 7 | kernel-uek-firmware | 4.1.12-124.24.1.el7uek |
| ubuntu 14.04 | linux-aws | 4.4.0-1037.40 |
| ubuntu 14.04 | linux-lts-xenial | 4.4.0-141.167~14.04.1 |
| ubuntu 14.04-ESM | linux-aws | 4.4.0-1037.40 |
| ubuntu 14.04-ESM | linux-lts-xenial | 4.4.0-141.167~14.04.1 |
| ubuntu 16.04 | linux | 4.4.0-141.167 |
| ubuntu 16.04 | linux-aws | 4.4.0-1074.84 |
| ubuntu 16.04 | linux-kvm | 4.4.0-1039.45 |
| ubuntu 16.04 | linux-raspi2 | 4.4.0-1102.110 |
| ubuntu 16.04 | linux-snapdragon | 4.4.0-1106.111 |
| ubuntu 16.04-ESM | linux | 4.4.0-141.167 |
| ubuntu 16.04-ESM | linux-aws | 4.4.0-1074.84 |
| ubuntu 16.04-ESM | linux-kvm | 4.4.0-1039.45 |
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=251e22abde21833b3d29577e4d8c7aaccd650eee
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8dca4a41f1ad65043a78c2338d9725f859c8d2c3
- https://access.redhat.com/security/cve/CVE-2017-18174
- https://github.com/torvalds/linux/commit/251e22abde21833b3d29577e4d8c7aaccd650eee
- https://github.com/torvalds/linux/commit/8dca4a41f1ad65043a78c2338d9725f859c8d2c3
- https://linux.oracle.com/cve/CVE-2017-18174.html
- https://linux.oracle.com/errata/ELSA-2019-4315.html
- https://nvd.nist.gov/vuln/detail/CVE-2017-18174