Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 484838 (CVE-2013-4343)

Summary: Kernel : net: use-after-free TUNSETIFF (CVE-2013-4343)
Product: Gentoo Security Reporter: Agostino Sarubbo <ago>
Component: KernelAssignee: Gentoo Kernel Security <security-kernel>
Status: RESOLVED FIXED    
Severity: normal CC: kernel
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1007733
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2013-09-14 06:55:46 UTC
From ${URL} :

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

Reference:
----------
 -> http://www.openwall.com/lists/oss-security/2013/09/12/3
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2013-09-30 16:26:26 UTC
CVE-2013-4343 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4343):
  Use-after-free vulnerability in drivers/net/tun.c in the Linux kernel
  through 3.11.1 allows local users to gain privileges by leveraging the
  CAP_NET_ADMIN capability and providing an invalid tuntap interface name in a
  TUNSETIFF ioctl call.
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-03-25 15:37:54 UTC
In 3.11.5 onwards