Message ID | 20241001154400.22787-1-aroulin@nvidia.com (mailing list archive) |
---|---|
Headers | show
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2048.outbound.protection.outlook.com [40.107.93.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C5EC1C9EC9 for <netdev@vger.kernel.org>; Tue, 1 Oct 2024 15:45:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.93.48 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727797536; cv=fail; b=Y29FKtVjapP+2C2Gco8MOQClteTpSnyxN9YrFvZFWIXah6UkoMMZGXUzxX31rkqTQCHqn9bOs+Fg4md/xenF3SXaEuFVui3ackvtxIHoVxb+Qmmnq0QxKizXyNBh1ekdBGsYc6GdDkZhrwUbFWafKwBKYZlmR4jNMORQ6YejRsI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727797536; c=relaxed/simple; bh=fF4vd546r8gh0YVAZGHcnDZlgR5uzggDnavEtIuYmK4=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=TxnE9y4Br7l/3RH447TDDz0XzW1a+TfwwebiPUUQZhfmlvEztKPp4aO3bmAUuA6AVaS0GsFk56fyVd33Zufokw/A+vELbmy6Legq+D/cNCSvrr72OYSKIPjDGQrUXgo/dV/j1eT7DZVGirf0rU3VA7pUR7CZ00Qc8+9n0Rk2ds8= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=kF6hTxRT; arc=fail smtp.client-ip=40.107.93.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="kF6hTxRT" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JH4mmyclhVepNdn8K4WuxylzWTUPYCONqddShePFQ15VVDMlgES018W548S6i4Hztu1/m1A3VwAdHrAoCZf5mcp+44vPXScw69Sjx1YNy/D0lAHe0t4Zw0OQD/JEF9jnJZNdwjSLMw169iDW+8QHu5ZzD5qpxg+6zBr3mRI4Ozgem2VEZnNevNMitID7e6vtUypRR0MrM3Z5ZAEMMCcoztby8FDLca8eNxbsSN3L8aJoGGOR3DEYjFHAM4u7zNrdyNIuqQ5+kVMqt62TH91LbQm2aQ8P7kf5dR2yJ/v4JALcDra3qXhXHLHlKp/H1myT90vmI+VF8ekQOyvhXwleJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1au5Rqy5YWx1zQ8XLSYsc8RQ6Fvf9fdON6FhKpT6a8k=; b=leTsBL/NN+a7hca6+LKkz9VGLfM5KhvXEMlsW+pmuubdg7Db+qKrR89fwU4AOrk1RFbm1tw0FYLxW4VzvSJ7zH78rZyGK7SOrLP7n+ghuzcGgj9OSOb61h0Vi0vcxZN1W5bqQnxEa4XPIjJ/cCOGsy6TjnpM17SpgwZJR7xg6Z4HKkfOwh4JUwakKjvx87rGJ8Bi1J3vC4fsrufXSWAC0DjiTgvp5+V4Vzdfm6ptO3pyXoKFiSA09WkaTUxe+UBnYUl5JknO7tTgyyRSzasNX9jFMfEQ8EZt4gAzNU6gGKo6ojGZ/mPmgJ0iGTPtp2GrpgraZZsyNYd/hOq7blNO7Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1au5Rqy5YWx1zQ8XLSYsc8RQ6Fvf9fdON6FhKpT6a8k=; b=kF6hTxRTgep34yPM+cqDWz5cf7sRe0Cp9q4TGYWZeEaOQYJyrwRHqoG2jJ2xh1D3v0aaEvuqOP8WynF962T56GFLkzSg7amJ/ko2iEI6PWx5q7owqJRpTAAH4nGyRLW0NBbt1HvHEliFY0mBt/nY3E1cHpnwUqkS8kji6sLTcSue9NMENckTSDP3yxYg01CS0nBwTs7M9Ed95QNhfvBeTBFBHu0G7hSO6DNw4LXOvCjWiEBO5Ebd3+Tx06/MlxXGOGTOrR1CtU6jqMEfWVzIXWVxIeCWJa1JttXCEgvwVQcPMwPgY+2/505w4zMkXNZqrV4d36KhX1m9xQAoPGKWag== Received: from SN4PR0501CA0019.namprd05.prod.outlook.com (2603:10b6:803:40::32) by DM4PR12MB5795.namprd12.prod.outlook.com (2603:10b6:8:62::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.27; Tue, 1 Oct 2024 15:45:31 +0000 Received: from SN1PEPF0002BA52.namprd03.prod.outlook.com (2603:10b6:803:40:cafe::c) by SN4PR0501CA0019.outlook.office365.com (2603:10b6:803:40::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.14 via Frontend Transport; Tue, 1 Oct 2024 15:45:31 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SN1PEPF0002BA52.mail.protection.outlook.com (10.167.242.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.11 via Frontend Transport; Tue, 1 Oct 2024 15:45:31 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 1 Oct 2024 08:45:13 -0700 Received: from tetra-01.mvlab.labs.mlnx (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 1 Oct 2024 08:45:12 -0700 From: Andy Roulin <aroulin@nvidia.com> To: <netdev@vger.kernel.org> CC: <pablo@netfilter.org>, <kadlec@netfilter.org>, <roopa@nvidia.com>, <razor@blackwall.org>, <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>, <pabeni@redhat.com>, <shuah@kernel.org>, <idosch@nvidia.com>, <petrm@nvidia.com>, Andy Roulin <aroulin@nvidia.com> Subject: [PATCH net 0/2] netfilter: br_netfilter: fix panic with metadata_dst skb Date: Tue, 1 Oct 2024 08:43:58 -0700 Message-ID: <20241001154400.22787-1-aroulin@nvidia.com> X-Mailer: git-send-email 2.20.1 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: <netdev.vger.kernel.org> List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF0002BA52:EE_|DM4PR12MB5795:EE_ X-MS-Office365-Filtering-Correlation-Id: 02de1b77-221c-43d5-017c-08dce23014cf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|82310400026|1800799024|376014; X-Microsoft-Antispam-Message-Info: FCcwCPfwI/SMkMx5NJ7JW0J86nB5K2hSx8VNkU28Lv7npeziHtvehR7PIQZ1LsDas0BnXW5gEViOKs5gHIrj0QM11+ED221oB5IB2kqN8lUXLszSHL3OHsvniRauBeH5/7yTadCyVg4dMQ6QiuD2psI1N1zIwyobODs/hRjBpybj0lpFA4bB9yvWThmKH99bq3oQvJfES5ywBNf8FBgScqSkLICCWkFLvJKbmMV+3MwZOpKm5LCo12peALdveBIG6IZ266+jyQLfVKF9kBfui4gDZ56xOkITbt9XYVj86nd5/o9gU2yukc9q3LG3H/8WPcFWkfFQOijiGAZd/nhUC0txi0mf33Yof/ff7MJLZGwOOyFzS58/N/1k1fO62/JAHCSABSK+60KHyf9FDgDDOfBzOnaz56l7DOgP91SVlT0Up/TU3FQP96Kyw7HcFYKETC7on/3vu0aO6lB/NY15EFYdqnL21G/Yl0qPjU3YnYzQWKO6Dto56yP4L6q1E+HeMixOp3OBDnyIB1vXFze+I6cotfG/frgMZ8ZFaNYKyDdSSRuAVc7pKcSkovtS5dNfDmVDa99gm0Sa9GP2P3QvFelIyfm1ilGr/nWbmaFgPeOTMh86xeirf/khIB4FlKEam9o4lMV4KISg1Xmi17SmLkV8Hf45645ZLpzurww6kKMdyb6vS8zt4rgv/OZEzos9fZtl+Kk98mFVp70pffvFbf/gXmxd5zc+7UZWV+NyWX9q6d68UltUo14GqdQ3X9hymTIEqdxpbgyh57ppfEKEpooVpxvFTWQTo6seD4bbP0CLpbJ6Dl27eQFVg3jQF7b2Pf7PjSh4kTbFxlJVPByYwrD2xiCrUEum67hSR3UXm1pkplNXFDac1lctFjaVzKW+Al0Zwbb5NlqFqqbpS8yfM2BGkA8g/1ANUDsl95h5Xufx/boKzGD+kQZPMglC2K5J0NCjDceHufdqcToc/zCMo8XNr7EwZFxFxH5Sb7CNKJ48egcH22j0TIF8Xnb97y2XvSpoNtvcu6mrUC/S2/LQGrihJVSlBip69AiMHQc3QGNgZ5LwwOdB7zfQzUGO+tKKQxkEKclb5DKMe00qr3FNGj1APJEy7eQp7I0UbtQksJb7TlBG5GntBXsufmPoADrFEulzjiu7tEH4yj5ElMehqMhV8UY1EqThc3YQPhxzFb1GcSltLIbS8Tvmtu3ATtiHXhTboTzQb4Zv+hNfIVP24pDkidp7ivc2rarZjE+Zufj23JtHgxxEKrubIvBpBtFyDvBMIjqmLhmTsOw7lQu1HZjBDYkDJh5N3SDcSKgtS0jU7dXRF7pzDYSvRlKxN+AMAEDx9INd3yEfdna9+AKFH9bNr/6TrRqz7MBYVc0JiSfGndBS83u+z5t3DleuYe3J X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230040)(36860700013)(82310400026)(1800799024)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2024 15:45:31.3936 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 02de1b77-221c-43d5-017c-08dce23014cf X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF0002BA52.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5795 X-Patchwork-Delegate: kuba@kernel.org |
Series |
netfilter: br_netfilter: fix panic with metadata_dst skb
|
expand
|
Hello: This series was applied to netdev/net.git (main) by Jakub Kicinski <kuba@kernel.org>: On Tue, 1 Oct 2024 08:43:58 -0700 you wrote: > There's a kernel panic possible in the br_netfilter module when sending > untagged traffic via a VxLAN device. Traceback is included below. > This happens during the check for fragmentation in br_nf_dev_queue_xmit > if the MTU on the VxLAN device is not big enough. > > It is dependent on: > 1) the br_netfilter module being loaded; > 2) net.bridge.bridge-nf-call-iptables set to 1; > 3) a bridge with a VxLAN (single-vxlan-device) netdevice as a bridge port; > 4) untagged frames with size higher than the VxLAN MTU forwarded/flooded > > [...] Here is the summary with links: - [net,1/2] netfilter: br_netfilter: fix panic with metadata_dst skb https://git.kernel.org/netdev/net/c/f9ff7665cd12 - [net,2/2] selftests: add regression test for br_netfilter panic https://git.kernel.org/netdev/net/c/bc4d22b72a2d You are awesome, thank you!