Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489892 (CVE-2013-4483) - Linux kernel: ipc: ipc_rcu_putref refcount races (CVE-2013-4483)
Summary: Linux kernel: ipc: ipc_rcu_putref refcount races (CVE-2013-4483)
Status: RESOLVED FIXED
Alias: CVE-2013-4483
Product: Gentoo Security
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Security
URL: http://seclists.org/oss-sec/2013/q4/194
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-30 18:04 UTC by Mikle Kolyada (RETIRED)
Modified: 2017-08-26 12:18 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 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2013-10-30 18:04:40 UTC
from ${URL}:

A flaw was found in the way ipc_rcu_putref() function handled reference
counter decrementing. Without external synchronization reference counter
might not be adjusted properly, as presented with the freeque() vs
do_msgsnd() race, leading to memory leaks.

An unprivileged local user could use this flaw to cause OOM conditions,
potentially crashing the system.

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1024854
https://wiki.openvz.org/Download/kernel/rhel6-testing/042stab084.3

Upstream patch:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6062a8
(making the refcounter atomic hunks)

Acknowledgements:

Red Hat would like to thank Vladimir Davydov (Parallels) for reporting
this issue.
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2013-12-12 15:28:15 UTC
CVE-2013-4483 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4483):
  The ipc_rcu_putref function in ipc/util.c in the Linux kernel before 3.10
  does not properly manage a reference count, which allows local users to
  cause a denial of service (memory consumption or system crash) via a crafted
  application.
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2017-08-26 12:18:17 UTC
we have 3.10 stabilized anyway, no older versions