Your submission was sent successfully! Close

You have successfully unsubscribed! Close

CVE-2017-0794

Published: 8 September 2017

A elevation of privilege vulnerability in the Upstream kernel scsi driver. Product: Android. Versions: Android kernel. Android ID: A-35644812.

From the Ubuntu Security Team

Pengfei Ding (丁鹏飞), Chenfu Bao (包沉浮), and Lenx Wei (韦韬) discovered a race condition in the generic SCSI driver (sg) of the Linux kernel. A local attacker could use this to cause a denial of service (system crash) or possibly execute arbitrary code.

Notes

AuthorNote
sbeattie
may be partially addressed by 1bc0eb0446158cc76562176b80623aa119afee5b
tyhicks
The Android test case for this issue, linked to in the References
section, confirms that 1bc0eb0446158cc76562176b80623aa119afee5b is the fix
for this issue
Followup commits 8d26f491116f and e791ce27c3f6 added after
testing commit 1bc0eb044615 exposed SG_SET_RESERVED_SIZE ioctl
regressions

Priority

Medium

Cvss 3 Severity Score

7.8

Score breakdown

Status

Package Release Status
linux
Launchpad, Ubuntu, Debian
artful Ignored
(end of life)
cosmic Not vulnerable
(4.15.0-20.21)
trusty
Released (3.13.0-161.211)
xenial
Released (4.4.0-98.121)
zesty Ignored
(end of life)
upstream
Released (4.14~rc1)
bionic Not vulnerable
(4.13.0-16.19)
Patches:
Introduced by

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2

Fixed by 1bc0eb0446158cc76562176b80623aa119afee5b
Introduced by

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2

Fixed by e791ce27c3f6a1d3c746fd6a8f8e36c9540ec6f9
Introduced by

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2

Fixed by 8d26f491116feaa0b16de370b6a7ba40a40fa0b4
linux-armadaxp
Launchpad, Ubuntu, Debian
cosmic Does not exist

trusty Does not exist

xenial Does not exist

zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

artful Does not exist

This package is not directly supported by the Ubuntu Security Team
linux-aws
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Not vulnerable
(4.15.0-1007.7)
trusty Not vulnerable
(4.4.0-1002.2)
xenial
Released (4.4.0-1039.48)
zesty Does not exist

upstream
Released (4.14~rc1)
bionic Not vulnerable
(4.15.0-1001.1)
linux-azure
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Not vulnerable
(4.15.0-1009.9)
trusty Not vulnerable
(4.15.0-1023.24~14.04.1)
xenial
Released (4.13.0-1005.7)
zesty Does not exist

upstream
Released (4.14~rc1)
bionic Not vulnerable
(4.15.0-1002.2)
linux-azure-edge
Launchpad, Ubuntu, Debian
cosmic Does not exist

trusty Does not exist

xenial Not vulnerable
(4.15.0-1002.2)
upstream
Released (4.14~rc1)
bionic Not vulnerable
(4.18.0-1003.3~18.04.1)
linux-euclid
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist

xenial Ignored
(was needs-triage ESM criteria)
zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

linux-flo
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist
(trusty was ignored [abandoned])
xenial Ignored
(abandoned)
zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

linux-gcp
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Not vulnerable
(4.15.0-1006.6)
trusty Does not exist

xenial
Released (4.13.0-1002.5)
zesty Does not exist

upstream
Released (4.14~rc1)
bionic Not vulnerable
(4.15.0-1001.1)
linux-gke
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist

xenial Ignored
(end of standard support, was needs-triage)
zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

linux-goldfish
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist
(trusty was ignored [abandoned])
xenial Ignored
(end of life, was needs-triage)
zesty Ignored
(end of life)
upstream
Released (4.14~rc1)
bionic Does not exist

linux-grouper
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist
(trusty was ignored [abandoned])
xenial Does not exist

zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

linux-hwe
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist

xenial
Released (4.13.0-26.29~16.04.2)
zesty Does not exist

upstream
Released (4.14~rc1)
bionic Not vulnerable

linux-hwe-edge
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist

xenial
Released (4.13.0-26.29~16.04.2)
zesty Does not exist

upstream
Released (4.14~rc1)
bionic Not vulnerable
(4.18.0-8.9~18.04.1)
linux-kvm
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Not vulnerable
(4.15.0-1008.8)
trusty Does not exist

xenial
Released (4.4.0-1009.14)
zesty Does not exist

upstream
Released (4.14~rc1)
bionic Not vulnerable
(4.15.0-1002.2)
linux-linaro-omap
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist

xenial Does not exist

zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

linux-linaro-shared
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist

xenial Does not exist

zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

linux-linaro-vexpress
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist

xenial Does not exist

zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

linux-lts-quantal
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist

xenial Does not exist

zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

This package is not directly supported by the Ubuntu Security Team
linux-lts-raring
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist

xenial Does not exist

zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

linux-lts-saucy
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist

xenial Does not exist

zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

This package is not directly supported by the Ubuntu Security Team
linux-lts-trusty
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist

xenial Does not exist

zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

linux-lts-utopic
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist
(trusty was ignored [end of standard support])
xenial Does not exist

zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

linux-lts-vivid
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Ignored
(end of life, was needs-triage)
xenial Does not exist

zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

linux-lts-wily
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist
(trusty was ignored [end of standard support])
xenial Does not exist

zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

linux-lts-xenial
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty
Released (4.4.0-98.121~14.04.1)
xenial Does not exist

zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

linux-maguro
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist
(trusty was ignored [abandoned])
xenial Does not exist

zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

linux-mako
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist
(trusty was ignored [abandoned])
xenial Ignored
(abandoned)
zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

linux-manta
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist
(trusty was ignored [abandoned])
xenial Does not exist

zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

linux-oem
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Not vulnerable
(4.15.0-1004.5)
trusty Does not exist

xenial Not vulnerable
(4.13.0-1008.9)
zesty Does not exist

upstream
Released (4.14~rc1)
bionic Not vulnerable
(4.15.0-1002.3)
linux-qcm-msm
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist

xenial Does not exist

zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

linux-raspi2
Launchpad, Ubuntu, Debian
artful Ignored
(end of life)
cosmic Not vulnerable
(4.15.0-1010.11)
trusty Does not exist

xenial
Released (4.4.0-1076.84)
zesty Ignored
(end of life)
upstream
Released (4.14~rc1)
bionic Not vulnerable
(4.13.0-1005.5)
linux-snapdragon
Launchpad, Ubuntu, Debian
artful Ignored
(end of life)
cosmic Does not exist

trusty Does not exist

xenial
Released (4.4.0-1078.83)
zesty Ignored
(end of life)
upstream
Released (4.14~rc1)
bionic Not vulnerable

linux-ti-omap4
Launchpad, Ubuntu, Debian
artful Does not exist

cosmic Does not exist

trusty Does not exist

xenial Does not exist

zesty Does not exist

upstream
Released (4.14~rc1)
bionic Does not exist

Severity score breakdown

Parameter Value
Base score 7.8
Attack vector Local
Attack complexity Low
Privileges required None
User interaction Required
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H