Bug 1747353 (CVE-2019-15239)

Summary: CVE-2019-15239 kernel: local attacker can trigger multiple use-after-free conditions results in privilege escalation
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: acaringi, airlied, alexandre.chanu, asavkov, bhu, blc, brdeoliv, bskeggs, dhoward, dvlasenk, esammons, fhrbata, hdegoede, hkrzesin, iboverma, ichavero, itamar, jarodwilson, jeremy, jforbes, jglisse, jlelli, joe.lawrence, john.j5live, jonathan, josef, jpoimboe, jross, jshortt, jstancek, jwboyer, kernel-maint, kernel-mgr, labbott, lgoncalv, linville, masami256, matt, mchehab, mcressma, mjg59, mlangsdo, mleitner, nmurray, plougher, pmatouse, rhandlin, rt-maint, rvrbovsk, steved, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the way the Linux kernel's networking subsystem handled the write queue between TCP disconnection and re-connections. A local attacker could use this flaw to trigger multiple use-after-free conditions potentially escalating their privileges on the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-26 19:04:52 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: 1747354, 1748357, 1748358, 1748359, 1748360, 1753272    
Bug Blocks: 1747356    

Description Dhananjay Arunesh 2019-08-30 07:59:19 UTC
A vulnerability was found in In the Linux kernel, a certain net/ipv4/tcp_output.c change, which was properly incorporated into 4.16.12, was incorrectly backported to the earlier longterm kernels, introducing a new vulnerability that was potentially more severe than the issue that was intended to be fixed by backporting. Specifically, by adding to a write queue between disconnection and re-connection, a local attacker can trigger multiple use-after-free conditions. This can result in a kernel crash, or potentially in privilege escalation.

Reference:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7f582b248d0a86bae5788c548d7bb5bca6f7691a
https://lore.kernel.org/stable/41a61a2f87691d2bc839f26cdfe6f5ff2f51e472.camel@decadent.org.uk/

Comment 1 Dhananjay Arunesh 2019-08-30 07:59:37 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1747354]

Comment 2 Justin M. Forbes 2019-08-30 12:11:20 UTC
Fedora was not vulnerable to this as it never used the long term stable kernels and had the proper fix from 4.16.12

Comment 4 Petr Matousek 2019-09-03 12:43:26 UTC
Statement:

This issue affected Red Hat Enterprise Linux 7 starting with kernel version kernel-3.10.0-1053.el7. The first publicly available affected kernel version is kernel-3.10.0-1062.el7 released via https://access.redhat.com/errata/RHSA-2019:2029,  the Red Hat Enterprise Linux 7.7 GA kernel errata release.

Comment 9 errata-xmlrpc 2019-11-26 12:50:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:3979 https://access.redhat.com/errata/RHSA-2019:3979

Comment 10 errata-xmlrpc 2019-11-26 13:58:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:3978 https://access.redhat.com/errata/RHSA-2019:3978

Comment 11 Product Security DevOps Team 2019-11-26 19:04:52 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-15239

Comment 19 errata-xmlrpc 2020-01-06 14:46:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:0027 https://access.redhat.com/errata/RHSA-2020:0027