From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Aring Subject: [PATCHv2 net 0/3] net: sched: ife: malformed ife packet fixes Date: Thu, 19 Apr 2018 17:44:35 -0400 Message-ID: <20180419214438.6801-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-io0-f193.google.com ([209.85.223.193]:38034 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753460AbeDSVpO (ORCPT ); Thu, 19 Apr 2018 17:45:14 -0400 Received: by mail-io0-f193.google.com with SMTP id h9-v6so8335707iob.5 for ; Thu, 19 Apr 2018 14:45:13 -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. 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