Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1400904 - (CVE-2016-9755) CVE-2016-9755 kernel: netfilter: Out-of-bounds write due to a signedness issue when defragmenting IPv6 packets
CVE-2016-9755 kernel: netfilter: Out-of-bounds write due to a signedness issu...
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20161126,repor...
: Security
Depends On: 1400905 1405266
Blocks: 1400906
  Show dependency treegraph
 
Reported: 2016-12-02 04:29 EST by Andrej Nemec
Modified: 2017-09-05 02:44 EDT (History)
39 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An attacker on a network could abuse a flaw in the IPv6 stack fragment reassembly code to induce kernel memory corruption on the system, possibly leading to a system crash.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-09-05 02:44:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andrej Nemec 2016-12-02 04:29:46 EST
A flaw was found in the Linux kernel networking stack in which an attacker can create crafted fragmented IPV6 packets that require reassembly. The network header offset in the reassembly process is assumed to be located in an offset prior to the fragment in memory.  

In some situations during fragment reassembly the header may be reconstructed in the assumed location and overwrite kernel memory with another header.

The flaw involves an issue that all network headers before fragment header are pulled. Normal ipv6 reassembly will drop the skb when errors occur further down the line.

The netfilter reassembly code neglects to do this correctly and instead passed the original fragment along.  That was also fine back when netfilter ipv6 defrag worked with cloned fragments, as the original, pristine fragment was passed on.

An attacker on the network could use this flaw to induce kernel memory corruption on the system, leading to a crash. Due to the nature of the flaw, privilege escalation cannot be fully ruled out, although we believe it is unlikely.

References:

http://seclists.org/oss-sec/2016/q4/556
https://groups.google.com/forum/#!topic/syzkaller/GFbGpX7nTEo

Patch:

https://www.spinics.net/lists/netdev/msg407525.html
Comment 1 Andrej Nemec 2016-12-02 04:30:18 EST
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1400905]

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