Bug 1500366 (CVE-2017-14991)

Summary: CVE-2017-14991 kernel: Information leak in the scsi driver
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: agordeev, airlied, ajax, aquini, bhu, blc, bskeggs, dhoward, dominik.mierzejewski, eparis, esammons, esandeen, fhrbata, hdegoede, hkrzesin, hwkernel-mgr, iboverma, ichavero, itamar, jarodwilson, jforbes, jglisse, jkacur, jonathan, josef, jross, jwboyer, kernel-maint, kernel-mgr, labbott, lgoncalv, linville, lwang, matt, mchehab, mcressma, mguzik, mjg59, mlangsdo, nhorman, nmurray, plougher, quintela, rt-maint, rvrbovsk, steved, vdronov, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The sg_ioctl() function in 'drivers/scsi/sg.c' in the Linux kernel, from version 4.12-rc1 to 4.14-rc2, allows local users to obtain sensitive information from uninitialized kernel heap-memory locations via an SG_GET_REQUEST_TABLE ioctl call for '/dev/sg0'.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-24 15:08:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1505914    
Bug Blocks: 1500367    

Description Andrej Nemec 2017-10-10 13:02:06 UTC
The sg_ioctl() function in 'drivers/scsi/sg.c' in the Linux kernel from v4.12-rc1 to v4.14-rc2 allows local users to obtain sensitive information from an uninitialized kernel heap-memory locations via an SG_GET_REQUEST_TABLE ioctl call for '/dev/sg0'.

Upstream patch:

https://github.com/torvalds/linux/commit/3e0097499839e0fe3af380410eababe5a47c4cf9

References:

http://seclists.org/oss-sec/2017/q4/43

Comment 1 Vladis Dronov 2017-10-24 14:38:11 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1505914]

Comment 4 Vladis Dronov 2017-10-24 15:08:30 UTC
Statement:

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5, 6, 7 and MRG-2 as a code with the flaw is not present in the products listed.

Comment 5 Justin M. Forbes 2017-10-24 17:11:42 UTC
This was fixed with the 4.13.4 stable kernel for Fedora.