Skip to content
OpenAdvisories

Description

The sg implementation in the Linux kernel through 4.9 does not properly restrict write operations in situations where the KERNEL_DS option is set, 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, related to block/bsg.c and drivers/scsi/sg.c. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-9576.

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.

ReleasePackageFixed inAdvisory
Debian 14 linux 4.8.15-2 —
Debian 13 linux 4.8.15-2 —
Debian 12 linux 4.8.15-2 —
Debian 7 linux 3.2.84-1 DLA-772-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-riscv +6 No fix yet —
Ubuntu 22.04 LTS linux-riscv +2 No fix yet —
Ubuntu 20.04 LTS linux-gke +4 No fix yet —
Ubuntu 18.04 LTS linux-gcp +4 No fix yet —
Ubuntu 16.04 LTS linux 4.4.0-63.84 USN-3208-1
Ubuntu 16.04 LTS linux-aws 4.4.0-1003.12 —
Ubuntu 16.04 LTS linux-raspi2 4.4.0-1044.51 —
Ubuntu 16.04 LTS linux-snapdragon 4.4.0-1047.51 USN-3208-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS linux 3.13.0-125.174 USN-3360-1
Ubuntu 14.04 LTS linux-lts-xenial 4.4.0-63.84~14.04.2 USN-3208-2
Ubuntu Pro 20.04 LTS linux-azure-fde-5.15 No fix yet —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Red Hat MRG 2 kernel-rt +10 1:3.10.0-693.2.1.rt56.585.el6rt RHSA-2017:2669
ReleasePackageFixed inAdvisory
SLES 12 SP1 kernel-docs 3.12.69-60.64.29.3 SUSE-SU-2017:0464-1
SLES 12 SP1 kernel-xen +4 3.12.69-60.64.29.1 SUSE-SU-2017:0464-1
SLES 12 kernel-ec2 +4 3.12.61-52.66.1 SUSE-SU-2017:0471-1, SUSE-SU-2017:0464-1
SLES 12 kgraft-patch-SLE12_Update_19 1-2.1 SUSE-SU-2017:0471-1
SLES 11 SP4 kernel-docs 3.0.101-94.2 SUSE-SU-2017:0437-1
SLES 11 SP4 kernel-ec2 +8 3.0.101-94.1 SUSE-SU-2017:0437-1
SLES 11 SP3 kernel-ec2 +7 3.0.101-0.47.96.1 SUSE-SU-2017:0494-1
SLES 11 SP2 kernel-ec2 +6 3.0.101-0.7.53.1 SUSE-SU-2017:0333-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP1 kernel-xen +3 3.12.69-60.64.29.1 SUSE-SU-2017:0464-1
SLES for SAP 12 kernel-xen +3 3.12.61-52.66.1 SUSE-SU-2017:0471-1
SLES for SAP 12 kgraft-patch-SLE12_Update_19 1-2.1 SUSE-SU-2017:0471-1
SLES for SAP 11 SP4 kernel-ec2 +8 3.0.101-94.1 SUSE-SU-2017:0437-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_12 1-4.1 SUSE-SU-2017:0464-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_1 3-2.1 SUSE-SU-2017:0228-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_2 +2 2-2.1 SUSE-SU-2017:0307-1, SUSE-SU-2017:0293-1, SUSE-SU-2017:0232-1
SUSE OpenStack Cloud 5 kernel-ec2 +6 3.0.101-0.47.96.1 SUSE-SU-2017:0494-1
SUSE Manager Proxy 2.1 kernel-ec2 +6 3.0.101-0.47.96.1 SUSE-SU-2017:0494-1
SUSE Manager 2.1 kernel-ec2 +6 3.0.101-0.47.96.1 SUSE-SU-2017:0494-1
SUSE Linux Enterprise Point of Sale 11 SP3 kernel-ec2 +6 3.0.101-0.47.96.1 SUSE-SU-2017:0494-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 dtrace-modules-3.8.13-118.17.4.el6uek 0.4.5-3.el6 ELSA-2017-3534
Oracle Linux 7 dtrace-modules-3.8.13-118.17.4.el7uek 0.4.5-3.el7 ELSA-2017-3534
Oracle Linux 7 dtrace-modules-4.1.12-61.1.33.el6uek 0.5.3-2.el6 ELSA-2017-3533
Oracle Linux 7 dtrace-modules-4.1.12-61.1.33.el7uek 0.5.3-2.el7 ELSA-2017-3533
Oracle Linux 7 kernel-uek +5 3.8.13-118.17.4.el7uek ELSA-2017-3534, ELSA-2017-3533
Oracle Linux 7 perf +11 3.10.0-693.el7 ELSA-2017-1842

Advisories 23

References