From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Aring Subject: [PATCH net 0/3] net: sched: ife: malformed ife packet fixes Date: Wed, 18 Apr 2018 17:35:31 -0400 Message-ID: <20180418213534.6215-1-aring@mojatatu.com> Cc: jhs@mojatatu.com, davem@davemloft.net, xiyou.wangcong@gmail.com, jiri@resnulli.us, yuvalm@mellanox.com, netdev@vger.kernel.org, kernel@mojatatu.com, Alexander Aring To: yotam.gi@gmail.com Return-path: Received: from mail-it0-f68.google.com ([209.85.214.68]:51120 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750981AbeDRVgF (ORCPT ); Wed, 18 Apr 2018 17:36:05 -0400 Received: by mail-it0-f68.google.com with SMTP id r19-v6so4519941itc.0 for ; Wed, 18 Apr 2018 14:36:05 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: 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. 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