Bug 1757358 (CVE-2017-18552)

Summary: CVE-2017-18552 kernel: OOB read and write in net/rds/af_rds.c
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, airlied, bdettelb, bhu, blc, brdeoliv, bskeggs, dhoward, dominik.mierzejewski, dvlasenk, esammons, fhrbata, hdegoede, hkrzesin, iboverma, ichavero, itamar, jarodwilson, jeremy, jforbes, jglisse, jlelli, john.j5live, jonathan, josef, jross, jschorr, jshortt, jstancek, jwboyer, kernel-maint, kernel-mgr, labbott, lgoncalv, linville, masami256, matt, mchehab, mcressma, mjg59, mlangsdo, nmurray, plougher, rt-maint, rvrbovsk, steved, williams, wmealing
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-06 10:56:16 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: 1757359    
Bug Blocks: 1757360    

Description Dhananjay Arunesh 2019-10-01 10:27:19 UTC
An issue was discovered in RDS protocol in the Linux kernel. There is an out of bounds write and read in the function rds_recv_track_latency which may allow an attacker with a local account to corrupt memory or escalate privileges.  

No Red Hat Enterprise Linux versions ship the affected code at this time.

Reference:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=780e982905bef61d13496d9af5310bf4af3a64d3

Comment 1 Dhananjay Arunesh 2019-10-01 10:27:52 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1757359]

Comment 2 Justin M. Forbes 2019-10-01 13:43:21 UTC
This was fixed in the 4.11 kernel and has never impacted any release of Fedora which is currently supported.

Comment 5 Wade Mealing 2020-02-17 04:40:16 UTC
Mitigation:


As the RDS module will be auto-loaded when required, its use can be disabled  by preventing the module from loading with the following instructions:

# echo "install rds /bin/true" >> /etc/modprobe.d/disable-rds.conf 
 
The system will need to be restarted if the RDS modules are loaded. In most circumstances, the RDS kernel modules will be unable to be unloaded while any network interfaces are active and the protocol is in use.

If the system requires this module to work correctly, this mitigation may not be suitable.

If you need further assistance, see KCS article https://access.redhat.com/solutions/41278 or contact Red Hat Global Support Services.