CVE-2018-1000204
Published: 26 June 2018
** DISPUTED ** Linux Kernel version 3.18 to 4.16 incorrectly handles an SG_IO ioctl on /dev/sg0 with dxfer_direction=SG_DXFER_FROM_DEV and an empty 6-byte cmdp. This may lead to copying up to 1000 kernel heap pages to the userspace. This has been fixed upstream in https://github.com/torvalds/linux/commit/a45b599ad808c3c982fdcdc12b0b8611c2f92824 already. The problem has limited scope, as users don't usually have permissions to access SCSI devices. On the other hand, e.g. the Nero user manual suggests doing `chmod o+r+w /dev/sg*` to make the devices accessible. NOTE: third parties dispute the relevance of this report, noting that the requirement for an attacker to have both the CAP_SYS_ADMIN and CAP_SYS_RAWIO capabilities makes it "virtually impossible to exploit."
From the Ubuntu Security Team
It was discovered that an information leak existed in the generic SCSI driver in the Linux kernel. A local attacker could use this to expose sensitive information (kernel memory).
Priority
Status
Package | Release | Status |
---|---|---|
linux
Launchpad, Ubuntu, Debian |
artful |
Ignored
(end of life)
|
bionic |
Released
(4.15.0-33.36)
|
|
cosmic |
Not vulnerable
(4.17.0-6.7)
|
|
trusty |
Released
(3.13.0-157.207)
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Released
(4.4.0-130.156)
|
|
Patches:
Introduced by
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
|
||
linux-aws
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Released
(4.15.0-1020.20)
|
|
cosmic |
Not vulnerable
(4.15.0-1020.20)
|
|
trusty |
Released
(4.4.0-1024.25)
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Released
(4.4.0-1062.71)
|
|
linux-azure
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Released
(4.15.0-1022.23)
|
|
cosmic |
Not vulnerable
(4.18.0-1003.3)
|
|
trusty |
Not vulnerable
(4.15.0-1023.24~14.04.1)
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Released
(4.15.0-1022.22~16.04.1)
|
|
linux-azure-edge
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Not vulnerable
(4.18.0-1003.3~18.04.1)
|
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Released
(4.15.0-1022.23)
|
|
linux-euclid
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Ignored
(was needed ESM criteria)
|
|
linux-flo
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Ignored
(abandoned)
|
|
linux-gcp
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Released
(4.15.0-1018.19)
|
|
cosmic |
Not vulnerable
(4.15.0-1018.19)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Released
(4.15.0-1018.19~16.04.2)
|
|
linux-gke
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Ignored
(end of standard support, was needs-triage)
|
|
linux-goldfish
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Ignored
(end of life, was needs-triage)
|
|
linux-grouper
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Does not exist
|
|
linux-hwe
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Not vulnerable
|
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Released
(4.15.0-33.36~16.04.1)
|
|
linux-hwe-edge
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Not vulnerable
(4.18.0-11.12~18.04.1)
|
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Released
(4.15.0-33.36~16.04.1)
|
|
linux-kvm
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Released
(4.15.0-1020.20)
|
|
cosmic |
Not vulnerable
(4.15.0-1020.20)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Released
(4.4.0-1029.34)
|
|
linux-lts-trusty
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Does not exist
|
|
linux-lts-utopic
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [end of standard support])
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Does not exist
|
|
linux-lts-vivid
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [end of standard support])
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Does not exist
|
|
linux-lts-wily
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [end of standard support])
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Does not exist
|
|
linux-lts-xenial
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
trusty |
Released
(4.4.0-130.156~14.04.1)
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Does not exist
|
|
linux-maguro
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Does not exist
|
|
linux-mako
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Ignored
(abandoned)
|
|
linux-manta
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Does not exist
|
|
linux-oem
Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Released
(4.15.0-1017.20)
|
|
cosmic |
Not vulnerable
(4.15.0-1017.20)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Ignored
(end of standard support, was needed)
|
|
linux-raspi2
Launchpad, Ubuntu, Debian |
artful |
Ignored
(end of life)
|
bionic |
Released
(4.15.0-1021.23)
|
|
cosmic |
Not vulnerable
(4.15.0-1021.23)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Released
(4.4.0-1092.100)
|
|
linux-snapdragon
Launchpad, Ubuntu, Debian |
artful |
Released
(4.4.0-1095.100)
|
bionic |
Not vulnerable
|
|
cosmic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.17~rc7)
|
|
xenial |
Released
(4.4.0-1095.100)
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 5.3 |
Attack vector | Network |
Attack complexity | High |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | None |
Availability impact | None |
Vector | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
References
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a45b599ad808c3c982fdcdc12b0b8611c2f92824
- https://ubuntu.com/security/notices/USN-3696-1
- https://ubuntu.com/security/notices/USN-3696-2
- https://ubuntu.com/security/notices/USN-3752-1
- https://ubuntu.com/security/notices/USN-3752-2
- https://ubuntu.com/security/notices/USN-3754-1
- https://ubuntu.com/security/notices/USN-3752-3
- https://www.cve.org/CVERecord?id=CVE-2018-1000204
- NVD
- Launchpad
- Debian