CVE-2018-1000204
- State
- Published
- Severity
- Not scored
- Published
- Jun 26, 2018
- Updated
- Aug 5, 2024
- Reserved
- Jun 8, 2018
Description
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- USN-3752-2vendor-advisory
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1422-1] linux security updatemailing-list
- USN-3696-1vendor-advisory
- USN-3752-3vendor-advisory
- [debian-lts-announce] 20180715 [SECURITY] [DLA 1422-2] linux security updatemailing-list
- http://www.openwall.com/lists/oss-security/2018/06/26/3
- USN-3754-1vendor-advisory
- [debian-lts-announce] 20180718 [SECURITY] [DLA 1423-1] linux-4.9 new packagemailing-list
- RHSA-2018:2948vendor-advisory
- https://github.com/torvalds/linux/commit/a45b599ad808c3c982fdcdc12b0b8611c2f92824
- USN-3696-2vendor-advisory
- USN-3752-1vendor-advisory
- openSUSE-SU-2019:1407vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.