Bug 844714 (CVE-2012-3412) - CVE-2012-3412 kernel: sfc: potential remote denial of service through TCP MSS option
Summary: CVE-2012-3412 kernel: sfc: potential remote denial of service through TCP MSS...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-3412
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 845554 845555 845556 845557 845558 852354 852355 852356
Blocks: 844716
TreeView+ depends on / blocked
 
Reported: 2012-07-31 13:27 UTC by Petr Matousek
Modified: 2023-05-11 19:30 UTC (History)
23 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1323 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2012-10-02 21:43:56 UTC
Red Hat Product Errata RHSA-2012:1324 0 normal SHIPPED_LIVE Important: rhev-hypervisor5 security and bug fix update 2012-10-02 21:10:26 UTC
Red Hat Product Errata RHSA-2012:1347 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2012-10-09 14:27:27 UTC
Red Hat Product Errata RHSA-2012:1366 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2012-10-16 18:42:37 UTC
Red Hat Product Errata RHSA-2012:1375 0 normal SHIPPED_LIVE Important: rhev-hypervisor6 security and bug fix update 2012-10-18 20:44:17 UTC
Red Hat Product Errata RHSA-2012:1401 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2012-10-23 22:09:46 UTC
Red Hat Product Errata RHSA-2012:1430 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2012-11-06 23:04:11 UTC

Description Petr Matousek 2012-07-31 13:27:49 UTC
A peer (or local user) may cause TCP to use a nominal MSS of as little
as 88 (actual MSS of 76 with timestamps).  Given that we have a
sufficiently prodigious local sender and the peer ACKs quickly enough,
it is nevertheless possible to grow the window for such a connection
to the point that we will try to send just under 64K at once.  This
results in a single skb that expands to 861 segments.

In some drivers with TSO support, such an skb will require hundreds of
DMA descriptors; a substantial fraction of a TX ring or even more than
a full ring.  The TX queue selected for the skb may stall and trigger
the TX watchdog repeatedly (since the problem skb will be retried
after the TX reset).

Upstream patch:
http://www.spinics.net/lists/netdev/msg206332.html

References:
http://seclists.org/oss-sec/2012/q3/171

Acknowledgements:

Red Hat would like to thank Ben Hutchings of Solarflare (tm) for reporting this issue.

Comment 3 Petr Matousek 2012-08-03 12:35:31 UTC
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 845558]

Comment 6 Petr Matousek 2012-08-03 16:46:54 UTC
Mitigation as recommended by Ben Hutchings
------------------------------------------

If all processes that may send on the sfc interface use Onload, or do
not use TCP, the vulnerability does not exist.

The vulnerability can otherwise be avoided by making a temporary
configuration change.  For an sfc interface named eth0, either:

a. Increase the TX queue size:
       ethtool -G eth0 tx 4096
   This can increase TX latency and memory usage.

or:

b. Disable TSO:
       ethtool -K eth0 tso off
   This can reduce TX throughput and/or increase CPU usage.

Comment 9 errata-xmlrpc 2012-10-02 17:11:36 UTC
This issue has been addressed in following products:

  RHEV-H, V2V and Agents for RHEL-5

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

Comment 10 errata-xmlrpc 2012-10-02 17:45:30 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

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

Comment 11 errata-xmlrpc 2012-10-09 10:28:53 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5.6 EUS - Server Only

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

Comment 12 errata-xmlrpc 2012-10-16 14:46:08 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

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

Comment 13 errata-xmlrpc 2012-10-18 16:46:58 UTC
This issue has been addressed in following products:

  RHEV-H and Agents for RHEL-6

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

Comment 14 errata-xmlrpc 2012-10-23 18:11:32 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6.2 EUS - Server Only

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

Comment 15 errata-xmlrpc 2012-11-06 18:06:34 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6.1 EUS - Server Only

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


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