Bug 1007733 (CVE-2013-4343)

Summary: CVE-2013-4343 Kernel: net: use-after-free TUNSETIFF
Product: [Other] Security Response Reporter: Prasad Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: agordeev, aquini, bhu, dhoward, esammons, fhrbata, gansalmon, iboverma, itamar, jasowang, jbenc, jforbes, jkacur, jkastner, jkurik, jonathan, jross, jrusnack, jwboyer, kernel-maint, kernel-mgr, lgoncalv, lwang, madhu.chinakonda, marcelo.barbosa, matt, mcressma, mst, nobody, ohadlevy, plougher, pmatouse, rt-maint, rvrbovsk, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-27 12:57:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1007739, 1007741, 1007951, 1007952    
Bug Blocks: 1007721    

Description Prasad Pandit 2013-09-13 08:53:05 UTC
Linux kernel built with the Universal TUN/TAP device driver(CONFIG_TUN) support
is vulnerable to a potential privilege escalation via an use-after-free flaw.
It could occur while doing an ioctl(TUNSETIFF) call.

A privileged(CAP_NET_ADMIN) user/program could use this flaw to crash the
kernel resulting DoS or potentially escalate privileges to gain root access
to a system.

Upstream fix:
 -> https://lkml.org/lkml/2013/9/11/335

 -> http://www.openwall.com/lists/oss-security/2013/09/12/3

Comment 1 Prasad Pandit 2013-09-13 08:55:31 UTC

This issue does not affect the versions of the kernel package as shipped with Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG 2.

Comment 3 Prasad Pandit 2013-09-13 08:58:34 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1007741]

Comment 7 Fedora Update System 2013-09-19 02:04:45 UTC
kernel-3.11.1-200.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2013-09-23 00:00:30 UTC
kernel-3.10.12-100.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2013-09-23 00:36:26 UTC
kernel-3.11.1-300.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 errata-xmlrpc 2013-10-31 16:29:40 UTC
This issue has been addressed in following products:

  MRG for RHEL-6 v.2

Via RHSA-2013:1490 https://rhn.redhat.com/errata/RHSA-2013-1490.html

Comment 13 John Kacur 2014-02-06 17:17:29 UTC
Upstream commit 662ca437e714caaab855b12415d6ffd815985bc0