Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484838 (CVE-2013-4343) - Kernel : net: use-after-free TUNSETIFF (CVE-2013-4343)
Summary: Kernel : net: use-after-free TUNSETIFF (CVE-2013-4343)
Status: RESOLVED FIXED
Alias: CVE-2013-4343
Product: Gentoo Security
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Security
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-14 06:55 UTC by Agostino Sarubbo
Modified: 2022-03-25 15:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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