[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180420191505.27633-1-aring@mojatatu.com>
Date: Fri, 20 Apr 2018 15:15:02 -0400
From: Alexander Aring <aring@...atatu.com>
To: yotam.gi@...il.com
Cc: jhs@...atatu.com, davem@...emloft.net, xiyou.wangcong@...il.com,
jiri@...nulli.us, yuvalm@...lanox.com, netdev@...r.kernel.org,
kernel@...atatu.com, Alexander Aring <aring@...atatu.com>
Subject: [PATCHv4 net 0/3] net: sched: ife: malformed ife packet fixes
As promised at netdev 2.2 tc workshop I am working on adding scapy support for
tdc testing. It is still work in progress. I will submit the patches to tdc
later (they are not in good shape yet). The good news is I have been able to
find bugs which normal packet testing would not be able to find.
With fuzzy testing I was able to craft certain malformed packets that IFE
action was not able to deal with. This patch set fixes those bugs.
changes since v4:
- use pskb_may_pull before pointer assign
changes since v3:
- use pskb_may_pull
changes since v2:
- remove inline from __ife_tlv_meta_valid
- add const to cast to meta_tlvhdr
- add acked and reviewed tags
Alexander Aring (3):
net: sched: ife: signal not finding metaid
net: sched: ife: handle malformed tlv length
net: sched: ife: check on metadata length
include/net/ife.h | 3 ++-
net/ife/ife.c | 38 ++++++++++++++++++++++++++++++++++++--
net/sched/act_ife.c | 9 +++++++--
3 files changed, 45 insertions(+), 5 deletions(-)
--
2.11.0
Powered by blists - more mailing lists