VDB

CVE-2018-1000204

CVE-2018-1000204 PUBLISHED

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.

EPSS 0.13% · 32.4th percentile

Risk Scores

EPSS Score
0.13%
32.4th percentile

Affected Products

VendorProductVersions
Ubuntu:16.04:LTSlinux-aws4.4.0-1009.18, 4.4.0-1007.16, 4.4.0-1026.35
Ubuntu:24.04:LTSlinux-azure-6.11*, *, 0
Ubuntu:18.04:LTSlinux-oem4.15.0-1002.3, 4.15.0-1013.16, 4.15.0-1015.18
Ubuntu:24.04:LTSlinux-raspi-realtime0, 6.8.0-2019.20
Ubuntu:24.04:LTSlinux-gcp-6.116.11.0-1015.15~24.04.1, 6.11.0-1016.16~24.04.1, 6.11.0-1017.17~24.04.1
Ubuntu:22.04:LTSlinux-realtime5.15.0-1032.35, 0
Ubuntu:20.04:LTSlinux-azure-fde5.4.0-1098.104+cvm1.1, 5.4.0-1083.87+cvm1.1, 5.4.0-1085.90+cvm1.1
Ubuntu:18.04:LTSlinux4.13.0-25.29, 4.15.0-12.13, 4.15.0-13.14
Ubuntu:18.04:LTSlinux-aws4.15.0-1006.6, 0, 4.15.0-1001.1
Ubuntu:Pro:FIPS:16.04:LTSlinux-fips4.4.0-1005.5, 4.4.0-1006.6, 0
Ubuntu:Pro:20.04:LTSlinux-azure-fde-5.155.15.0-1029.36~20.04.1.1, 5.15.0-1021.26~20.04.1.1, 0
Ubuntu:20.04:LTSlinux-riscv5.4.0-33.37, 5.4.0-31.35, 5.4.0-30.34
Ubuntu:16.04:LTSlinux-hwe4.15.0-29.31~16.04.1, 4.15.0-24.26~16.04.1, 4.13.0-45.50~16.04.1
Ubuntu:16.04:LTSlinux-raspi24.4.0-1051.58, 4.2.0-1013.19, 4.2.0-1014.21
Ubuntu:24.04:LTSlinux-hwe-6.110, 6.11.0-17.17~24.04.2, 6.11.0-19.19~24.04.1
Ubuntu:16.04:LTSlinux-snapdragon4.4.0-1013.14, 0, 4.4.0-1039.43
Ubuntu:24.04:LTSlinux-lowlatency-hwe-6.11*, 6.11.0-1015.16~24.04.2, *
Ubuntu:20.04:LTSlinux-raspi25.4.0-1006.6, 5.4.0-1004.4, 5.3.0-1017.19
Ubuntu:16.04:LTSlinux4.4.0-116.140, 4.4.0-34.53, 4.4.0-36.55
Ubuntu:18.04:LTSlinux-azure4.15.0-1004.4, 4.15.0-1008.8, 4.15.0-1013.13

…and 12 more

Timeline

  • Jun 26, 2018 CVE Published
  • Apr 14, 2021 EPSS Score
  • Jun 23, 2021 EPSS Score
  • Aug 24, 2021 EPSS Score
  • Oct 26, 2021 EPSS Score
  • Dec 27, 2021 EPSS Score
  • Feb 4, 2022 EPSS Score
  • Feb 28, 2022 EPSS Score
  • May 2, 2022 EPSS Score
  • Sep 5, 2022 EPSS Score
  • Nov 6, 2022 EPSS Score
  • Jan 8, 2023 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›