Vulnerability in the sg implementation in the Linux kernel
Multiple products
At a glance
The sg implementation in the Linux kernel through 4.9 does not properly restrict write operations in situations where the KERNEL_DS option is set, which allows local users to read or write to arbitrary kernel memory locations or cause a denial of service (use-after-free) by leveraging access to a /dev/sg device, related to block/bsg.c and drivers/scsi/sg.c. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-9576.
Source description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 0.372%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Local
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:linux | linux kernel | Affected versions:< 3.10.107Show full version range for linux kernel≥ 3.11, < 3.12.70≥ 3.13, < 3.16.40≥ 3.17, < 3.18.47≥ 3.19, < 4.1.38≥ 4.2, < 4.4.41≥ 4.5, < 4.8.17≥ 4.9, < 4.9.2 |
| Vendor:Canonical | linux-azure-fde-5.15Environments (1)
| Affected versions:Range not specifiedShow full version range for linux-azure-fde-5.15
|
| Vendor:Canonical | linux-intel-iot-realtimeEnvironments (1)
| Affected versions:Range not specifiedShow full version range for linux-intel-iot-realtime
|
| Vendor:Canonical | linux-realtimeEnvironments (2)
| Affected versions:Range not specifiedShow full version range for linux-realtime
|
| Vendor:Canonical | linux-riscvEnvironments (2)
| Affected versions:Range not specifiedShow full version range for linux-riscv
|
| Vendor:Canonical | linux-azure-6.11Environments (1)
| Affected versions:Range not specifiedShow full version range for linux-azure-6.11
|
| Vendor:Canonical | linux-gcp-6.11Environments (1)
| Affected versions:Range not specifiedShow full version range for linux-gcp-6.11
|
| Vendor:Canonical | linux-hwe-6.11Environments (1)
| Affected versions:Range not specifiedShow full version range for linux-hwe-6.11
|
| Vendor:Canonical | linux-lowlatency-hwe-6.11Environments (1)
| Affected versions:Range not specifiedShow full version range for linux-lowlatency-hwe-6.11
|
| Vendor:Canonical | linux-raspi-realtimeEnvironments (1)
| Affected versions:Range not specifiedShow full version range for linux-raspi-realtime
|
1–10 of 275 · Page 1 of 28
CVSS scores and metrics10
[email protected] · NVD (Primary)Primary7.0 / 10HighCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hnvd · Wazuh CTI (cna)7.0 / 10HighCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hcanonical · Wazuh CTI (adp)7.0 / 10HighCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HSUSE · SUSE VEX (adp)7.0 / 10HighCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat · Wazuh CTI (adp)7.0 / 10HighCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Halas · Wazuh CTI (adp)7.0 / 10HighCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HRed Hat · Red Hat VEX (adp)7.0 / 10HighCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H[email protected] · NVD (Primary)6.9 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:M/Au:N/C:C/I:C/A:Cnvd · Wazuh CTI (cna)6.9 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:M/Au:N/C:C/I:C/A:Coraclelinux · Wazuh CTI (adp)6.9 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:M/Au:N/C:C/I:C/A:CCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories55
- cve.org
- NVD
- Wazuh CTI
- Red Hat VEX
- SUSE VEX
- FIRST EPSS
- securitytracker.com
- securityfocus.com
- openwall.com
- rhn.redhat.com
- github.com
- access.redhat.com
- git.kernel.org
- access.redhat.com
- access.redhat.com
- security.archlinux.org
- SUSE-SU-2017:0232-1
- SUSE-SU-2017:0293-1
- SUSE-SU-2017:0307-1
- SUSE-SU-2017:0333-1
- SUSE-SU-2017:0407-1
- SUSE-SU-2017:0437-1
- SUSE-SU-2017:0464-1
- SUSE-SU-2017:0471-1
- SUSE-SU-2017:0494-1
- SUSE-SU-2017:1102-1
- openSUSE-SU-2017:0458-1
- ubuntu.com
- ubuntu.com
- ubuntu.com
- ubuntu.com
- ubuntu.com
- ubuntu.com
- security-tracker.debian.org
- access.redhat.com
- SUSE CVE-2016-10088
- SUSE-SU-2017:0227-1
- SUSE-SU-2017:0228-1
- SUSE-SU-2017:0232-1
- SUSE-SU-2017:0293-1
- SUSE-SU-2017:0307-1
- SUSE-SU-2017:0333-1
- SUSE-SU-2017:0407-1
- SUSE-SU-2017:0437-1
- SUSE-SU-2017:0464-1
- SUSE-SU-2017:0471-1
- SUSE-SU-2017:0494-1
- SUSE-SU-2017:1102-1
- openSUSE-SU-2017:0458-1
- SUSE-SU-2017:0227-1
- SUSE-SU-2017:0228-1
- cve.mitre.org
- Mitre CVE-2016-10088
- linux.oracle.com
- access.redhat.com
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences