Description
The blk_rq_map_user_iov function in block/blk-map.c in the Linux kernel before 4.8.14 does not properly restrict the type of iterator, which allows local users to read or write to arbitrary kernel memory locations or cause a denial of service (use-after-free) by leveraging access to a /dev/sg device.
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.15-1 | — |
| Debian 13 | linux | 4.8.15-1 | — |
| Debian 12 | linux | 4.8.15-1 | — |
| Debian 7 | linux | 3.2.84-1 | DLA-772-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-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-693.rt56.617.el7 | RHSA-2017:2077 |
| RHEL 7 | perf +17 | 3.10.0-693.el7 | RHSA-2017:1842 |
| RHEL 6 | perf +16 | 2.6.32-696.el6 | RHSA-2017:0817 |
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-693.2.1.rt56.585.el6rt | RHSA-2017:2669 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | kernel-docs | 4.4.21-90.3 | SUSE-SU-2016:3146-1 |
| SLES 12 SP2 | kernel-syms +3 | 4.4.21-90.1 | SUSE-SU-2016:3146-1 |
| SLES 12 SP1 | kernel-docs | 3.12.67-60.64.24.3 | SUSE-SU-2016:3188-1 |
| SLES 12 SP1 | kernel-xen +4 | 3.12.67-60.64.24.1 | SUSE-SU-2016:3188-1 |
| SLES 12 | kernel-ec2 +4 | 3.12.60-52.63.1 | SUSE-SU-2016:3217-1, SUSE-SU-2016:3188-1 |
| SLES 12 | kgraft-patch-SLE12_Update_10 | 8-2.1 | SUSE-SU-2017:0247-1 |
| SLES 12 | kgraft-patch-SLE12_Update_11 | 7-2.1 | SUSE-SU-2017:0268-1 |
| SLES 12 | kgraft-patch-SLE12_Update_12 +3 | 5-2.1 | SUSE-SU-2017:0249-1, SUSE-SU-2017:0248-1, SUSE-SU-2017:0246-1 |
| SLES 12 | kgraft-patch-SLE12_Update_16 | 3-2.1 | SUSE-SU-2017:0245-1 |
| SLES 12 | kgraft-patch-SLE12_Update_17 | 2-2.1 | SUSE-SU-2017:0267-1 |
| SLES 12 | kgraft-patch-SLE12_Update_18 | 1-2.1 | SUSE-SU-2016:3217-1 |
| SLES 11 SP4 | kernel-docs | 3.0.101-91.2 | SUSE-SU-2016:3203-1 |
| SLES 11 SP4 | kernel-ec2 +8 | 3.0.101-91.1 | SUSE-SU-2016:3203-1 |
| SLES 11 SP3 | kernel-ec2 +7 | 3.0.101-0.47.93.1 | SUSE-SU-2016:3248-1 |
Show 12 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP2 | kernel-ec2 +6 | 3.0.101-0.7.47.1 | SUSE-SU-2016:3252-1 |
| SLES for SAP 12 SP2 | kernel-syms +2 | 4.4.21-90.1 | SUSE-SU-2016:3146-1 |
| SLES for SAP 12 SP1 | kernel-xen +3 | 3.12.67-60.64.24.1 | SUSE-SU-2016:3188-1 |
| SLES for SAP 12 | kernel-xen +3 | 3.12.60-52.63.1 | SUSE-SU-2016:3217-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_10 | 8-2.1 | SUSE-SU-2017:0247-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_11 | 7-2.1 | SUSE-SU-2017:0268-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_12 +3 | 5-2.1 | SUSE-SU-2017:0249-1, SUSE-SU-2017:0248-1, SUSE-SU-2017:0246-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_16 | 3-2.1 | SUSE-SU-2017:0245-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_17 | 2-2.1 | SUSE-SU-2017:0267-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_18 | 1-2.1 | SUSE-SU-2016:3217-1 |
| SLES for SAP 11 SP4 | kernel-ec2 +8 | 3.0.101-91.1 | SUSE-SU-2016:3203-1 |
| SLE Real Time 12 SP1 | kernel-rt +5 | 3.12.69-60.30.1 | SUSE-SU-2017:0407-1 |
| SLE Real Time 11 SP4 | kernel-rt +3 | 3.0.101.rt130-68.1 | SUSE-SU-2017:1102-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_11 | 1-2.1 | SUSE-SU-2016:3188-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_2 | 8-2.1 | SUSE-SU-2017:0231-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_3 | 7-2.1 | SUSE-SU-2017:0233-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_4 +2 | 6-2.1 | SUSE-SU-2017:0235-1, SUSE-SU-2017:0234-1, SUSE-SU-2017:0230-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_7 | 5-2.1 | SUSE-SU-2017:0226-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_8 | 4-2.1 | SUSE-SU-2017:0278-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_9 +1 | 3-2.1 | SUSE-SU-2017:0229-1, SUSE-SU-2017:0228-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_0 | 3-8.2 | SUSE-SU-2017:0227-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_2 +1 | 2-2.1 | SUSE-SU-2017:0294-1, SUSE-SU-2017:0293-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_3 | 1-2.3 | SUSE-SU-2016:3146-1 |
| SUSE OpenStack Cloud 5 | kernel-ec2 +6 | 3.0.101-0.47.93.1 | SUSE-SU-2016:3248-1 |
| SUSE Manager Proxy 2.1 | kernel-ec2 +6 | 3.0.101-0.47.93.1 | SUSE-SU-2016:3248-1 |
| SUSE Manager 2.1 | kernel-ec2 +6 | 3.0.101-0.47.93.1 | SUSE-SU-2016:3248-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | kernel-ec2 +6 | 3.0.101-0.47.93.1 | SUSE-SU-2016:3248-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | kernel-source | 4.8.13-1.1 | openSUSE-SU-2024:10128-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | dtrace-modules-4.1.12-61.1.27.el6uek | 0.5.3-2.el6 | ELSA-2017-3514 |
| Oracle Linux 7 | dtrace-modules-4.1.12-61.1.27.el7uek | 0.5.3-2.el7 | ELSA-2017-3514 |
| Oracle Linux 7 | kernel-uek +5 | 4.1.12-61.1.27.el7uek | ELSA-2017-3514 |
| Oracle Linux 7 | perf +11 | 3.10.0-693.el7 | ELSA-2017-1842 |
Advisories 36
- RHSA-2017:2669 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:2077 Red Hat Security Advisory: kernel-rt security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:1842 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:0817 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- DLA-772-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2017:0234-1 Security update for Linux Kernel Live Patch 4 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0233-1 Security update for Linux Kernel Live Patch 3 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1102-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0228-1 Security update for Linux Kernel Live Patch 1 for SLE 12 SP2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:3146-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10128-1 kernel-debug-4.8.13-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0267-1 Security update for Linux Kernel Live Patch 17 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0229-1 Security update for Linux Kernel Live Patch 9 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0268-1 Security update for Linux Kernel Live Patch 11 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0244-1 Security update for Linux Kernel Live Patch 12 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:3203-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0227-1 Security update for Linux Kernel Live Patch 0 for SLE 12 SP2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:3248-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0248-1 Security update for Linux Kernel Live Patch 14 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0231-1 Security update for Linux Kernel Live Patch 2 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:3188-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0294-1 Security update for Linux Kernel Live Patch 10 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0407-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:3217-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0235-1 Security update for Linux Kernel Live Patch 5 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0226-1 Security update for Linux Kernel Live Patch 7 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0247-1 Security update for Linux Kernel Live Patch 10 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0245-1 Security update for Linux Kernel Live Patch 16 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0278-1 Security update for Linux Kernel Live Patch 8 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0293-1 Security update for Linux Kernel Live Patch 2 for SLE 12 SP2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:3252-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2017:0249-1 Security update for Linux Kernel Live Patch 13 for SLE 12 SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2017:0246-1 Security update for Linux Kernel Live Patch 15 for SLE 12 SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2017:0230-1 Security update for Linux Kernel Live Patch 6 for SLE 12 SP1 SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2017-1842 Important: kernel security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 7, 2017
- ELSA-2017-3514 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Feb 6, 2017
References
- openSUSE-SU-2016:3118 vendor-advisory
- SUSE-SU-2016:3248 vendor-advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a0ac402cfcdc904f9772e1762b3fda112dcc56a0
- openSUSE-SU-2016:3085 vendor-advisory
- https://github.com/torvalds/linux/commit/a0ac402cfcdc904f9772e1762b3fda112dcc56a0
- RHSA-2017:2669 vendor-advisory
- SUSE-SU-2016:3188 vendor-advisory
- openSUSE-SU-2016:3086 vendor-advisory
- SUSE-SU-2016:3146 vendor-advisory
- SUSE-SU-2016:3203 vendor-advisory
- RHSA-2017:0817 vendor-advisory
- SUSE-SU-2016:3217 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1403145
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.14
- [oss-security] 20161209 Linux Kernel use-after-free in SCSI generic device interface mailing-list
- RHSA-2017:2077 vendor-advisory
- RHSA-2017:1842 vendor-advisory
- 94821 vdb-entry
- SUSE-SU-2016:3252 vendor-advisory