cve.bz

CVE-2018-1000204

5.3 mediumEPSS 1.9%Fix available

Medium (5.3). EPSS 1.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

5.3 medium
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
1.9% (unchanged from 1.9% a week ago; 1.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 80th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1000204 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1000204?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1000204?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1000204 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 3.18 through 4.16
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
debian:debian_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8linux3.16.57-1DLA-1422-1
Debian8linux-4.94.9.110-1~deb8u1DLA-1423-1
Debian12, 13, 14linux4.16.12-1DEBIAN-CVE-2018-1000204
Ubuntu14.04:LTSlinux3.13.0-157.207UBUNTU-CVE-2018-1000204 USN-3754-1
Ubuntu14.04:LTSlinux-aws4.4.0-1024.25UBUNTU-CVE-2018-1000204 USN-3696-2
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-130.156~14.04.1UBUNTU-CVE-2018-1000204 USN-3696-2
Ubuntu16.04:LTSlinux4.4.0-130.156UBUNTU-CVE-2018-1000204 USN-3696-1
Ubuntu16.04:LTSlinux-aws4.4.0-1062.71UBUNTU-CVE-2018-1000204 USN-3696-1
Ubuntu16.04:LTSlinux-azure4.15.0-1022.22~16.04.1UBUNTU-CVE-2018-1000204 USN-3752-3
Ubuntu16.04:LTSlinux-gcp4.15.0-1018.19~16.04.2UBUNTU-CVE-2018-1000204 USN-3752-3
Ubuntu16.04:LTSlinux-hwe4.15.0-33.36~16.04.1UBUNTU-CVE-2018-1000204 USN-3752-2
Ubuntu16.04:LTSlinux-kvm4.4.0-1029.34UBUNTU-CVE-2018-1000204 USN-3696-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1092.100UBUNTU-CVE-2018-1000204 USN-3696-1
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1095.100UBUNTU-CVE-2018-1000204 USN-3696-1
Ubuntu18.04:LTSlinux4.15.0-33.36UBUNTU-CVE-2018-1000204 USN-3752-1
10 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::serverperf, kernel, kernel-alt and 17 more0:4.14.0-115.el7aRHSA-2018:2948
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morekernel-syms, kernel-source, kernel-default4.4.121-92.85.1SUSE-SU-2018:1855-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morekgraft-patch-SLE12-SP2_Update_231-3.5.1SUSE-SU-2018:1855-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise High Availability Extension 12 SP3, Linux Enterprise Server 12 SP3 and 2 morekernel-default4.4.178-94.91.2SUSE-SU-2019:1245-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3kernel-syms, kernel-source4.4.178-94.91.1SUSE-SU-2019:1245-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15, Linux Enterprise Module for Legacy 15 and 1 morekernel-default4.12.14-25.3.1SUSE-SU-2018:2092-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_251-4.3.1SUSE-SU-2019:1245-1
SUSELinux Enterprise Live Patching 15kernel-livepatch-SLE15_Update_11-1.3.1SUSE-SU-2018:2092-1
SUSELinux Enterprise Module for Basesystem 15kernel-source, kernel-default, kernel-zfcpdump4.12.14-25.3.1SUSE-SU-2018:2092-1
SUSELinux Enterprise Module for Development Tools 15kernel-docs, kernel-syms, kernel-source and 2 more4.12.14-25.3.1SUSE-SU-2018:2092-1
SUSELinux Enterprise Module for Public Cloud 12kernel-ec23.12.61-52.136.1SUSE-SU-2018:1762-1
SUSELinux Enterprise Module for Public Cloud 12kernel-ec23.12.74-60.64.96.1SUSE-SU-2018:1761-1
SUSELinux Enterprise Point of Sale 11 SP3kernel-ec2, kernel-pae, kernel-xen and 4 more3.0.101-0.47.106.43.1SUSE-SU-2018:2366-1
12 more for SUSE in the JSON and on SUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-alt-0:4.14.0-115.el7aFixed 2018-10-30RHSA-2018:2948
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise MRG 2realtime-kernelNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1000204.

References

Check your stackJSON