Red Hat Bugzilla – Bug 457014
pppoe: Check packet length on all receive paths [mrg-1]
Last modified: 2008-10-07 15:21:26 EDT
+++ This bug was initially created as a clone of Bug #457013 +++
Description of problem:
The length field in the PPPOE header wasn't checked completely. It lacks of a
lower-bound check. Also, call skb_copy_datagram_iovec instead of memcpy_toiovec
so that paged packets (rare for PPPOE) are handled properly.
Proposed upstream patch:
Patch enqueued for -76, applied as is.
Verified that upstream patch 392fdb0e35055b96faa9c1cd6ab537805337cdce is included in mrt-rt-18.104.22.168-81.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.