{"id":"CVE-2016-10088","state":"PUBLISHED","title":"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 ","description":"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.","publishedAt":"2016-12-30T18:00:00.000Z","updatedAt":"2024-08-06T03:07:32.095Z","severity":null,"assigner":"debian","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.securitytracker.com/id/1037538","https://access.redhat.com/errata/RHSA-2017:2669","http://www.securityfocus.com/bid/95169","http://rhn.redhat.com/errata/RHSA-2017-0817.html","http://www.openwall.com/lists/oss-security/2016/12/30/1","https://access.redhat.com/errata/RHSA-2017:2077","http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=128394eff343fc6d2f32172f03e24829539c5835","https://access.redhat.com/errata/RHSA-2017:1842","https://github.com/torvalds/linux/commit/128394eff343fc6d2f32172f03e24829539c5835"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:26.791Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/10xxx/CVE-2016-10088.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-10088","state":"PUBLISHED","datePublished":"2016-12-30T18:00:00.000Z","dateUpdated":"2024-08-06T03:07:32.095Z","assignerShortName":"debian","assignerOrgId":"79363d38-fa19-49d1-9214-5f28da3f3ac5","dateReserved":"2016-12-30T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.securitytracker.com/id/1037538","name":"1037538","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2669","name":"RHSA-2017:2669","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/95169","name":"95169","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0817.html","name":"RHSA-2017:0817","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.openwall.com/lists/oss-security/2016/12/30/1","name":"[oss-security] 20161230 Re: Linux Kernel use-after-free in SCSI generic device interface","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2077","name":"RHSA-2017:2077","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=128394eff343fc6d2f32172f03e24829539c5835","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1842","name":"RHSA-2017:1842","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/torvalds/linux/commit/128394eff343fc6d2f32172f03e24829539c5835","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"debian","dateUpdated":"2018-01-04T19:57:01.000Z","orgId":"79363d38-fa19-49d1-9214-5f28da3f3ac5"},"datePublic":"2016-12-30T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@debian.org","ID":"CVE-2016-10088","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":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"1037538","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1037538"},{"name":"RHSA-2017:2669","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2017:2669"},{"name":"95169","refsource":"BID","url":"http://www.securityfocus.com/bid/95169"},{"name":"RHSA-2017:0817","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2017-0817.html"},{"name":"[oss-security] 20161230 Re: Linux Kernel use-after-free in SCSI generic device interface","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/12/30/1"},{"name":"RHSA-2017:2077","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2017:2077"},{"name":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=128394eff343fc6d2f32172f03e24829539c5835","refsource":"CONFIRM","url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=128394eff343fc6d2f32172f03e24829539c5835"},{"name":"RHSA-2017:1842","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2017:1842"},{"name":"https://github.com/torvalds/linux/commit/128394eff343fc6d2f32172f03e24829539c5835","refsource":"CONFIRM","url":"https://github.com/torvalds/linux/commit/128394eff343fc6d2f32172f03e24829539c5835"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.securitytracker.com/id/1037538","name":"1037538","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2669","name":"RHSA-2017:2669","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.securityfocus.com/bid/95169","name":"95169","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0817.html","name":"RHSA-2017:0817","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2016/12/30/1","name":"[oss-security] 20161230 Re: Linux Kernel use-after-free in SCSI generic device interface","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2077","name":"RHSA-2017:2077","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=128394eff343fc6d2f32172f03e24829539c5835","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1842","name":"RHSA-2017:1842","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://github.com/torvalds/linux/commit/128394eff343fc6d2f32172f03e24829539c5835","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T03:07:32.095Z"}}]}}}