CVE-2018-1000204
mediumpriority · track · 22EPSS 0.019 · 80 %ileDEEUUSEPSS · scored 2026-10-26
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (20)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-2868Linux Kernel: Mehrere SchwachstellenDeutsch2025-12-16csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen im Linux Kernel ausnutzen, um nicht näher spezifizierte Angriffe durchzuführen, die möglicherweise zu einer Denial-of-Service- Bedingung führen oder eine Speicherbeschädigung verursachen können.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (40)
External citations — patches, advisories, analysis.
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00043.htmlcnnvd
- http://www.openwall.com/lists/oss-security/2018/06/26/3cnnvd
- https://access.redhat.com/errata/RHSA-2018:2948cnnvd
- https://github.com/torvalds/linux/commit/a45b599ad808c3c982fdcdc12b0b8611c2f92824cnnvd
- https://lists.debian.org/debian-lts-announce/2018/07/msg00015.htmlcnnvd
- https://lists.debian.org/debian-lts-announce/2018/07/msg00016.htmlcnnvd
- https://lists.debian.org/debian-lts-announce/2018/07/msg00020.htmlcnnvd
- https://usn.ubuntu.com/3696-1/cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan