{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "DATE_ASSIGNED": "2018-06-08",
        "ID": "CVE-2018-1000204",
        "REQUESTER": "glider@google.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "** 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.\""
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "USN-3752-2",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3752-2/"
            },
            {
                "name": "[debian-lts-announce] 20180714 [SECURITY] [DLA 1422-1] linux security update",
                "refsource": "MLIST",
                "url": "https://lists.debian.org/debian-lts-announce/2018/07/msg00015.html"
            },
            {
                "name": "USN-3696-1",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3696-1/"
            },
            {
                "name": "USN-3752-3",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3752-3/"
            },
            {
                "name": "[debian-lts-announce] 20180715 [SECURITY] [DLA 1422-2] linux security update",
                "refsource": "MLIST",
                "url": "https://lists.debian.org/debian-lts-announce/2018/07/msg00016.html"
            },
            {
                "name": "http://www.openwall.com/lists/oss-security/2018/06/26/3",
                "refsource": "MISC",
                "url": "http://www.openwall.com/lists/oss-security/2018/06/26/3"
            },
            {
                "name": "USN-3754-1",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3754-1/"
            },
            {
                "name": "[debian-lts-announce] 20180718 [SECURITY] [DLA 1423-1] linux-4.9 new package",
                "refsource": "MLIST",
                "url": "https://lists.debian.org/debian-lts-announce/2018/07/msg00020.html"
            },
            {
                "name": "RHSA-2018:2948",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:2948"
            },
            {
                "name": "https://github.com/torvalds/linux/commit/a45b599ad808c3c982fdcdc12b0b8611c2f92824",
                "refsource": "CONFIRM",
                "url": "https://github.com/torvalds/linux/commit/a45b599ad808c3c982fdcdc12b0b8611c2f92824"
            },
            {
                "name": "USN-3696-2",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3696-2/"
            },
            {
                "name": "USN-3752-1",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3752-1/"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2019:1407",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00043.html"
            }
        ]
    }
}