Your submission was sent successfully! Close

CVE-2017-7187

Published: 20 March 2017

The sg_ioctl function in drivers/scsi/sg.c in the Linux kernel through 4.10.4 allows local users to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a large command size in an SG_NEXT_CMD_LEN ioctl call, leading to out-of-bounds write access in the sg_write function.

From the Ubuntu security team

Dmitry Vyukov discovered that the generic SCSI (sg) subsystem in the Linux kernel contained a stack-based buffer overflow. A local attacker with access to an sg device could use this to cause a denial of service (system crash) or possibly execute arbitrary code.

Priority

Medium

CVSS 3 base score: 7.8

Status

Package Release Status
linux
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
Patches:
Introduced by 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed by bf33f87dd04c371ea33feb821b60d63d754e3124
linux-armadaxp
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
This package is not directly supported by the Ubuntu Security Team
linux-aws
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-azure
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-euclid
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-flo
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-gcp
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-gke
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-goldfish
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-grouper
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-hwe
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-hwe-edge
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-kvm
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-linaro-omap
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-linaro-shared
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-linaro-vexpress
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-lts-quantal
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
This package is not directly supported by the Ubuntu Security Team
linux-lts-raring
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-lts-saucy
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
This package is not directly supported by the Ubuntu Security Team
linux-lts-trusty
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-lts-utopic
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-lts-vivid
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-lts-wily
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-lts-xenial
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-maguro
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-mako
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-manta
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-oem
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-qcm-msm
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-raspi2
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-snapdragon
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)
linux-ti-omap4
Launchpad, Ubuntu, Debian
Upstream
Released (4.11~rc5)