REDHAT-BUG-1317383: High severity netfilter iptables vulnerability
In the marksourcechains function (net/ipv4/netfilter/iptables.c) it is possible for a user-supplied iptentry structure to have a large nextoffset field. This field is not bounds checked prior to writing a counter value at the supplied offset.
Proposed fix:
patch v1 message: http://marc.info/?l=netfilter-devel&m=145757134822741&w=2 patch v2 thread: http://marc.info/?t=145757149500006&r=1&w=2
patch v2 message: http://marc.info/?l=netfilter-devel&m=145762719008418&w=2 patch v2 thread: (none yet) http://marc.info/?l=netfilter-devel&r=4&b=201603&w=2
CVE request and assignment:
http://seclists.org/oss-sec/2016/q1/581 http://seclists.org/oss-sec/2016/q1/619
Audit done by netfilter team found several related bugs, patches to better validate rulesets are currently queued in pablos nf-next tree upstream (use "parent" link to cycle to next one - there are 17 additional patches):
https://git.kernel.org/cgit/linux/kernel/git/pablo/nf-next.git/commit/?id=d7591f0c41ce3e67600a982bab6989ef0f07b3ce
Affected Software
Event History
Frequently Asked Questions
Should remediation account for related netfilter ruleset-validation flaws as well as this issue?
Yes. The netfilter team audit found several related bugs, and 17 additional patches to improve ruleset validation were queued in Pablo Neira Ayuso's nf-next tree.
Does the available information identify affected or fixed product versions?
No. The provided data identifies netfilter iptables and the affected source file and function, but does not list affected releases, fixed releases, or distribution package versions.