Bug 853465 (CVE-2012-3552) - CVE-2012-3552 kernel: net: slab corruption due to improper synchronization around inet->opt
Summary: CVE-2012-3552 kernel: net: slab corruption due to improper synchronization ar...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-3552
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20110421,repor...
Depends On: 829109 844274 855302 872113
Blocks: 853470
TreeView+ depends on / blocked
 
Reported: 2012-08-31 15:57 UTC by Petr Matousek
Modified: 2019-06-08 19:14 UTC (History)
27 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-24 12:50:45 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1304 normal SHIPPED_LIVE Moderate: kernel security and bug fix update 2012-09-25 22:58:04 UTC
Red Hat Product Errata RHSA-2012:1540 normal SHIPPED_LIVE Important: kernel security, bug fix, and enhancement update 2012-12-05 01:51:24 UTC

Description Petr Matousek 2012-08-31 15:57:44 UTC
Description of the problem:
Lack proper synchronization to manipulate inet->opt ip_options can lead to system crash.

Problem is that ip_make_skb() calls ip_setup_cork() and ip_setup_cork() possibly makes a copy of ipc->opt (struct ip_options), without any protection against another thread manipulating inet->opt. Another thread can change inet->opt pointer and free old one under us.

Given right server application (setting socket options and processing traffic over the same socket at the same time), remote attacker could use this flaw to crash the system. More likely though, local unprivileged user could use this 
flaw to crash the system.

Potential privilege escalation impact cannot be ruled out.

Upstream fix:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=f6d8bd051c391c1c0458a30b2a7abcd939329259

Comment 1 Petr Matousek 2012-08-31 16:08:32 UTC
Statement:

This issue did affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 5.

This issue did affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 6.

This issue did not affect the versions of Linux kernel as shipped with Red Hat Enterpise MRG 2.

Comment 5 Murray McAllister 2012-09-24 11:03:23 UTC
Acknowledgements:

Red Hat would like to thank Hafid Lin for reporting this issue.

Comment 6 errata-xmlrpc 2012-09-25 19:02:01 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:1304 https://rhn.redhat.com/errata/RHSA-2012-1304.html

Comment 8 errata-xmlrpc 2012-12-04 20:53:24 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2012:1540 https://rhn.redhat.com/errata/RHSA-2012-1540.html


Note You need to log in before you can comment on or make changes to this bug.