Rapid7 Vulnerability & Exploit Database

Ubuntu: (Multiple Advisories) (CVE-2018-1000204): Linux kernel (Azure, GCP, OEM) vulnerabilities

Back to Search

Ubuntu: (Multiple Advisories) (CVE-2018-1000204): Linux kernel (Azure, GCP, OEM) vulnerabilities

Severity
6
CVSS
(AV:N/AC:M/Au:S/C:C/I:N/A:N)
Published
06/21/2018
Created
07/25/2018
Added
07/05/2018
Modified
08/25/2021

Description

** 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."

Solution(s)

  • ubuntu-upgrade-linux-image-3-13-0-157-generic
  • ubuntu-upgrade-linux-image-3-13-0-157-generic-lpae
  • ubuntu-upgrade-linux-image-3-13-0-157-lowlatency
  • ubuntu-upgrade-linux-image-3-13-0-157-powerpc-e500
  • ubuntu-upgrade-linux-image-3-13-0-157-powerpc-e500mc
  • ubuntu-upgrade-linux-image-3-13-0-157-powerpc-smp
  • ubuntu-upgrade-linux-image-3-13-0-157-powerpc64-emb
  • ubuntu-upgrade-linux-image-3-13-0-157-powerpc64-smp
  • ubuntu-upgrade-linux-image-4-15-0-1017-oem
  • ubuntu-upgrade-linux-image-4-15-0-1018-gcp
  • ubuntu-upgrade-linux-image-4-15-0-1020-aws
  • ubuntu-upgrade-linux-image-4-15-0-1020-kvm
  • ubuntu-upgrade-linux-image-4-15-0-1021-raspi2
  • ubuntu-upgrade-linux-image-4-15-0-1022-azure
  • ubuntu-upgrade-linux-image-4-15-0-33-generic
  • ubuntu-upgrade-linux-image-4-15-0-33-generic-lpae
  • ubuntu-upgrade-linux-image-4-15-0-33-lowlatency
  • ubuntu-upgrade-linux-image-4-15-0-33-snapdragon
  • ubuntu-upgrade-linux-image-4-4-0-1024-aws
  • ubuntu-upgrade-linux-image-4-4-0-1029-kvm
  • ubuntu-upgrade-linux-image-4-4-0-1062-aws
  • ubuntu-upgrade-linux-image-4-4-0-1092-raspi2
  • ubuntu-upgrade-linux-image-4-4-0-1095-snapdragon
  • ubuntu-upgrade-linux-image-4-4-0-130-generic
  • ubuntu-upgrade-linux-image-4-4-0-130-generic-lpae
  • ubuntu-upgrade-linux-image-4-4-0-130-lowlatency
  • ubuntu-upgrade-linux-image-4-4-0-130-powerpc-e500mc
  • ubuntu-upgrade-linux-image-4-4-0-130-powerpc-smp
  • ubuntu-upgrade-linux-image-4-4-0-130-powerpc64-emb
  • ubuntu-upgrade-linux-image-4-4-0-130-powerpc64-smp
  • ubuntu-upgrade-linux-image-aws
  • ubuntu-upgrade-linux-image-azure
  • ubuntu-upgrade-linux-image-azure-edge
  • ubuntu-upgrade-linux-image-gcp
  • ubuntu-upgrade-linux-image-generic
  • ubuntu-upgrade-linux-image-generic-hwe-16-04
  • ubuntu-upgrade-linux-image-generic-lpae
  • ubuntu-upgrade-linux-image-generic-lpae-hwe-16-04
  • ubuntu-upgrade-linux-image-generic-lpae-lts-xenial
  • ubuntu-upgrade-linux-image-generic-lts-xenial
  • ubuntu-upgrade-linux-image-gke
  • ubuntu-upgrade-linux-image-kvm
  • ubuntu-upgrade-linux-image-lowlatency
  • ubuntu-upgrade-linux-image-lowlatency-hwe-16-04
  • ubuntu-upgrade-linux-image-lowlatency-lts-xenial
  • ubuntu-upgrade-linux-image-oem
  • ubuntu-upgrade-linux-image-powerpc-e500
  • ubuntu-upgrade-linux-image-powerpc-e500mc
  • ubuntu-upgrade-linux-image-powerpc-e500mc-lts-xenial
  • ubuntu-upgrade-linux-image-powerpc-smp
  • ubuntu-upgrade-linux-image-powerpc-smp-lts-xenial
  • ubuntu-upgrade-linux-image-powerpc64-emb
  • ubuntu-upgrade-linux-image-powerpc64-emb-lts-xenial
  • ubuntu-upgrade-linux-image-powerpc64-smp
  • ubuntu-upgrade-linux-image-powerpc64-smp-lts-xenial
  • ubuntu-upgrade-linux-image-raspi2
  • ubuntu-upgrade-linux-image-snapdragon

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;