From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=198.175.65.19 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796248115; b=5YrfIbt6vQRoXb315FHhbkowHEfpdKrxQ0S9kEtcbPF9HnkEQUXDQ2M+B34xY0JJbAvv h9uECPrILB1G0PuO4q31FrTl51Uj4PqbFrhdbRp/OX3lG2n5rfwxgRvg6K5nNLQj6Faek RFwzhGXSGYVbeVbZyODDYqdRzX1+BbVaDGCUn45UQw1fmqYMEmHrN2nNQEASO7PMavHQu GgmFMzLz6wQ/WuOX9WSHy4Ywewj0+mM6s0/weTS/OMAbjjmMUzacrK/NpvW0u2rY+3mJX AR4c2VozEGhxP2dgPqCch5agD3ZEMv16xXvdu7jMXwU3UFi64H0qE9/rW0kRB2FqkUA== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796248115; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Received: Received:Received:Received:Message-ID:Date:User-Agent:Subject:To:CC: References:Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-ClientProxiedBy:MIME-Version: X-MS-PublicTrafficType:X-MS-TrafficTypeDiagnostic: X-MS-Office365-Filtering-Correlation-Id:X-MS-Exchange-SenderADCheck: X-MS-Exchange-AntiSpam-Relay:X-Microsoft-Antispam: X-Microsoft-Antispam-Message-Info:X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-Exchange-RoutingPolicyChecked: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-CrossTenant-Id:X-MS-Exchange-CrossTenant-MailboxType: X-MS-Exchange-CrossTenant-UserPrincipalName: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; bh=wK3cTxFvZuFeH3lCQsMbKjh5lItqKdv7jtmkEsXM2tU=; b=aH4ujJe9H653skJNunGQSYX6hkc7UmUWkvafqF3yuzR1H5e/i1yNUSrxYVKWbITS6WTG 0cI3V/8CN5awmnvhqzBwfuTmm4msiNzjmfTnd98+r/gU6/k+uknlqmNNRVP6gahG4yqaI ZpiS1LytbmY51JRZBOPM6E5azzJG6PYt8WTqwBYPLoz3owI/tEhJ/nNhmtvWr2d42dsqK cj2n0utQSpzEN96/TdFiaCj8w3NffULC0rDoeSdXdtTmKsmsM+KvziyZSSQhgZsanJgUD VwNNTvxSrOFo3I9DB+MY4eR6frj2yguuFW/ZiWdrj+sr61UVlgeVwEnHI+n5WTILzeg== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=W53JBYL5; arc=pass header.oldest-pass=0 smtp.remote-ip=198.175.65.19 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9E291606A322; Wed, 2 Dec 2026 21:48:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9E291606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=W53JBYL5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796248113; x=1827784113; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=wK3cTxFvZuFeH3lCQsMbKjh5lItqKdv7jtmkEsXM2tU=; b=W53JBYL5meTao2BSzBc7bSv2Ac2I8SA+b5Rj5vD91g3U7jdSKnAZJUzb 9CU+sFkLan+Co/zCbyZFUvs++xH0TTH0T7yvLiR1501Zzh5Ugd85qYIJ5 hrBfrYAtzuiM1LJEXWyHsspfpjBVZAh0DcYdB31cxMIoB9ADddjhWPNjU EZqFZM+64ARBNqshRUoND6wvbdnyca391lKMbvClfeQpIrdb0feoweCxP sAiGzX2TtsXCD2lswEq9RV0Gq6Kd8X9XfmTCMaXE/eXm3s1zMGHMJf4nO Zrp500mlbD8O3HOLwtZtCwpsnLQ3z+9BsgSlodm/mjDiWyL5mLHLzbG4M Q==; X-CSE-ConnectionGUID: yYyUAvMvR2ij9FlIzEIseA== X-CSE-MsgGUID: QGIwOLWATT6XFBHkFrV7pQ== X-IronPort-AV: E=McAfee;i="6800,10657,11984"; a="5262942" X-IronPort-AV: E=Sophos;i="6.27,247,1787036400"; d="scan'208";a="5262942" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2026 13:48:33 -0800 X-CSE-ConnectionGUID: 1yn8/I/qToCaPiQLNiamog== X-CSE-MsgGUID: 2DKmd1wnQw+zbUEY+SLAOQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,247,1787036400"; d="scan'208";a="14151040" Received: from orsmsx901.amr.corp.intel.com ([10.22.229.23]) by fmviesa001.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2026 13:48:32 -0800 Received: from ORSMSX901.amr.corp.intel.com (10.22.229.23) by ORSMSX901.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Wed, 2 Dec 2026 13:48:31 -0800 Received: from ORSEDG903.ED.cps.intel.com (10.7.248.13) by ORSMSX901.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57 via Frontend Transport; Wed, 2 Dec 2026 13:48:31 -0800 Received: from CO1PR03CU002.outbound.protection.outlook.com (52.101.46.33) by edgegateway.intel.com (134.134.137.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Wed, 2 Dec 2026 13:48:31 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gp0W8zbhY881Z/J1XWJYJaZ2pvey76f0MtcxfQpis7zlTqWjF3GPDLom3iwTXM3T/Lkh1AW5jYTN7FTw6cUuZHeWP0WdaZmy/Aa/kZ+vJvt276PLcMjA5JxZvxp1jiVXbZ06zsjQTlYcsbGej/ZximmhTh77qiC76lr9I3gysV2qCUb3xbJ8oELa4iHWOwzO6MrhYUlLCJ8kRWXlL76D63nohF88qUE3zlIbolxvv5jE1BULdkkr7j5v4U+xxZIUUo6wqaMIJw8s3hSdgLC8RtnWNSUPOgu9Oy48qH878tFlg35XYWoHgShUpiZl29NgBNE9Owu4AGvx3TIjcMcK/A== 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=wK3cTxFvZuFeH3lCQsMbKjh5lItqKdv7jtmkEsXM2tU=; b=LF1OiERRWKA84TsQtnUfL9ibtGmwzosUqRrOz1jw9jSQuPbUt4f8BwS0aKBxdbKB6ztaWGqTP6w8F7ckbXHgh6f7A8dZ7j6UJoYKPd1nMufXNt7klfMaliHLKPACHmh+aY0BxC21yECU0OLAhdwFXMhfgPfydnPPn38BC3jomu5cSiGt19vIy1CvUuCvZBWBZ6AZcmwnAhQ1md2InE4zchKc8Xxjzs0y1mvria1c+2r0pIXk4Td6vbe/SsrSfHhNVv13LyR+UN//tMPb7HceSVOQWu5pi0ffpJHPMrfgN8zqtEbV1ZSpVSI5mM/2QRvSC9NDJzhFlG0e6VL4y/DegQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB7710.namprd11.prod.outlook.com (2603:10b6:510:298::9) by AT6PR11MB072844.namprd11.prod.outlook.com (2603:10b6:170:10a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.11; Wed, 2 Dec 2026 21:48:23 +0000 Received: from PH0PR11MB7710.namprd11.prod.outlook.com ([fe80::dc6:ac78:d884:137b]) by PH0PR11MB7710.namprd11.prod.outlook.com ([fe80::dc6:ac78:d884:137b%3]) with mapi id 15.21.0688.010; Wed, 2 Dec 2026 21:48:23 +0000 Message-ID: <8a0c9365-87d0-4491-8219-a4a916615921@intel.com> Date: Wed, 2 Dec 2026 13:48:19 -0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net v4] ice: fix Tx hang dump using stale tx_buf[0].skb To: Matt Fleming , CC: Przemek Kitszel , , Aleksandr Loktionov , Michal Kubiak , Wojciech Drewek , Mateusz Polchlopek , Paul Menzel , "Andrew Lunn" , "David S. Miller" , "Eric Dumazet" , Jakub Kicinski , Paolo Abeni , , , , , Simon Horman References: <20261112-ice-tx-hang-dump-v4-1-9125f687669b@hydroquebec.com> Content-Language: en-US From: Tony Nguyen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MW4PR04CA0339.namprd04.prod.outlook.com (2603:10b6:303:8a::14) To PH0PR11MB7710.namprd11.prod.outlook.com (2603:10b6:510:298::9) X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR11MB7710:EE_|AT6PR11MB072844:EE_ X-MS-Office365-Filtering-Correlation-Id: a8cef9d7-615e-4a48-7704-08df50bdfcc6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|1800799024|366016|23010399003|5023799004|11063799006|4143699003|6133799003|261009223027099003|18002099003|22082099003|260925021311599003|260925021911599003|260925022911599003|56012099006|10067099003|261102123227099003|261022105027099003|261021123027099003|261026121527099003|261028144727099003|261021121427099003|261022075727099003|261026140227099003; X-Microsoft-Antispam-Message-Info: lqndBoD2N6FGbpItZdV7owtNCB3jC9dJfC2HTrTFBHpF65/3jfjKWCdZupLyZQV3qFS7V6T+h86MfgXjIu9YkWIdtT5xtRjGiqTEOw0Tbq7B3mgv0gflNhHasnNpYIninXkonPnSEHpCTTWGrJZMBI4mMC2XZN0bsaiU0QHFlpRtmpqd4OVMM44MRn7fXZlkr9QSw158LklkdktUWHnR2KVt8BJozpBfsbvtd580NMq/RhekFcz7BpIt0Eq/G5UiE7Nf4PPU3J5Forbtwv4tX3N9pIyAsBLmpWvcsYlhiLvnO+O7t6s3KG1jL4e0E83K1XAvVjmDTB41jMaw5euVvOU6FwKJQGdp2NoYqLgjQYG/woiggrs+6Z6bupnmpg1eLFxbA+IUQ6TwazY8wAy60JJsS6fo2d3hg3qZIuEBYq7rfEHZYVB9QG6cRVWVSopKkGVLDxH+yvW8ZnHkgqjwP6YrT82iZGQdhyKWcv7TEM+aE7vHs0WYVn09pNzI1iy1J1OiyeT9jnk8ed19KiCc5wGGFo7wiK8tTZW0rYJfdqRUqT7VwaGhl63df3PasbzVu//P+3IiDg7aMRxXLX41No0uJEjfWpWCAQPHh4OS6tQLRRpxaozic8zWNV7rL6W+ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB7710.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(7416014)(1800799024)(366016)(23010399003)(5023799004)(11063799006)(4143699003)(6133799003)(261009223027099003)(18002099003)(22082099003)(260925021311599003)(260925021911599003)(260925022911599003)(56012099006)(10067099003)(261102123227099003)(261022105027099003)(261021123027099003)(261026121527099003)(261028144727099003)(261021121427099003)(261022075727099003)(261026140227099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aGRqMGZTaEhBWWd0RVZSMWE0MXMwcHNucENtd1pIWnVzQzFPbzVNMlFJMkxu?= =?utf-8?B?THdyZTNsYjZjanJJM1NFajVSb2hQdCtGRzBHeXZ3cjJHa2JicnVkd1AxMGJS?= =?utf-8?B?MGlzK3ZoV3dhcGtlWi9KaGR6cUJiSjJaSVBzOGpHcldIb2kwcGlQU01tdzlQ?= =?utf-8?B?MFZadW1kOXJhN3AxY21DbEt5ejBySnlROEVYUlFlV2RYMkNYemdWM1R3WGov?= =?utf-8?B?eU1rU2JTemJvSkl4SjBTcllmUHZsdW04Q2J2RWY4eDRBeUdxOFNxUk0zT3RS?= =?utf-8?B?TTBTaG9YbFUzVXlUYlRyS3RRSTNCVTh6OE81RHpxb1F3bTc0RUxHbUg2VnVG?= =?utf-8?B?dm9CWT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jRxeEFqQ1JUODlqaW9SYzE2YXBFNFlG?= =?utf-8?B?Zkp6VnRlU3E0VW9hbUhnNG56b0x5QzY1TG9GQmtTN2VKTFROTk5iYWRPY0g0?= =?utf-8?B?VUxESjlRTHY5VU1Nd0xwUFpSQzRvZ2pHcDhMM09DYXZQWklRbTd4bDB0WUxC?= =?utf-8?B?ZWxxSTNwT3BKVjZ4QmE1aHRSNHdYK0g0MGJONHJ6c0F0VDRCNmswTVhzODd0?= =?utf-8?Q?8Xq/cGSQ1trsDduk=3D?= X-Exchange-RoutingPolicyChecked: fhkaNcDyTonKcY6yk/QSSZQSjsL5UfFL4DJFvSbUiUVpZCPvv3gn3a6oCTv2LM6pDf7IMBTQQpllWYyFGJrClDe3qrRypv0wXLPr4dWFKzBQrq3rFVHvMmUQFHh3cCU9PrYvaAneec0EktVrPl3uAhmSIU7dg+J/h/U/FU82jyEQMRYwpaj9135af4/vUUKjoJc240p+mAGDS2cbeTS6floOT1q4Nqhhq/orqX3XS2q9yuYYS5x0bHVtldPGsMMcX4tEBwOug/A6OF9GuWA4/srS6Ogj8bIvlcWwaBXw+JjChSV3ZsF6+LK9PHf/AkkXWCrlZMwE+mFAfbUMdkLZLw== X-MS-Exchange-CrossTenant-Network-Message-Id: a8cef9d7-615e-4a48-7704-08df50bdfcc6 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB7710.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2026 21:48:23.3139 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: frJ2oQ0QNi+LwaJW/nsGZdNM+ZyYNabznpuNV11GrweQrUPn2iZjDp6b3jJfqKJxuihBalgeOdYpM1uxQvJniJG3wD0sbHtLMteyM9t33so= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AT6PR11MB072844 X-OriginatorOrg: intel.com On 12/2/2026 5:36 AM, Matt Fleming wrote: > On Thu, Nov 12, 2026 at 01:45:56PM -0500, Vincent Choiniere via B4 Relay wrote: >> From: Vincent Choiniere >> >> ice_tx_hang_reporter_dump() always reads tx_ring->tx_buf[0].skb, >> regardless of next_to_clean. The Tx cleanup path frees the skb and >> marks the buffer empty without clearing the skb pointer, so slot 0 can >> hold a stale pointer. A NULL check alone does not cover this, and >> devlink_fmsg_dump_skb() can fault on the freed skb. >> >> Using tx_buf[next_to_clean] alone does not fix the lifetime issues. >> The dump runs from the service task without synchronization with Tx >> cleanup or ring replacement: >> >> - ice_clean_tx_irq() can free the skb at next_to_clean while the >> report is being prepared. It calls napi_consume_skb() before >> marking the buffer empty. >> - The ring saved by ice_tx_timeout() can be replaced or freed before >> the service task runs. ethtool -G replaces the ring contents and >> frees tx_buf and desc, while ethtool -L can free whole rings. >> >> Record the queue index, next_to_clean and next_to_use at timeout time. >> Before reporting, take RTNL and check that the timeout was on the PF >> VSI, that the VSI is up and that the timed-out queue still maps to the >> saved ring. A freed ring can be reused for another queue, so a pointer >> match alone is not enough. Copy the descriptors and IRQ name while the >> ring storage is protected against replacement. If the check fails or >> the copy cannot be made, report only the values recorded at timeout >> time. >> >> As before this patch, a successful snapshot shows the ring when the >> report is generated. A reset of the same queue after the timeout, for >> example by ethtool -G or an MTU change, is not detected. >> >> Tx cleanup can still run while the ring state is copied, so do not >> dereference the skb. Retain only its pointer value in the dump and >> remove the skb contents. >> >> Release RTNL before calling devlink_health_report(), which takes the >> devlink instance lock. Build the dump from the copied data and free >> the descriptor copy after reporting. >> >> This leaves devlink_fmsg_dump_skb() without users; its removal is left >> to a net-next follow-up. >> >> Observed on an E810 PF passed through to a KVM guest with Ubuntu >> kernel 7.0.0-14 (PREEMPT_RT and a local scheduler patch): a delayed >> queue IRQ led to a Tx timeout and a page fault in >> devlink_fmsg_dump_skb(): >> >> BUG: unable to handle page fault for address: 0000000004cd0c11 >> Workqueue: ice ice_service_task [ice] >> RIP: devlink_fmsg_dump_skb+0x2d8/0x5d0 >> Call Trace: >> ice_tx_hang_reporter_dump+0x1ce/0x210 [ice] >> devlink_health_do_dump+0xcc/0x190 >> devlink_health_report+0x1d7/0x260 >> ice_report_tx_hang+0x7d/0xa0 [ice] >> >> Fixes: 2a82874a3b7b ("ice: add Tx hang devlink health reporter") >> Link: https://lore.kernel.org/all/20260327072332.130320-1-aleksandr.loktionov@intel.com/ >> Cc: stable@vger.kernel.org >> Reviewed-by: Przemek Kitszel >> Signed-off-by: Vincent Choiniere > > FYI we've been running this patch at Cloudflare for nearly 3 weeks and > it seems to resolve the crashes we've been seeing during tx timeout. It looks like this landed before we worked out the direct applying with netdev; it'll probably be the faster path. It looks like Przemek already reviewed it so if can Vincent re-send it to the list (I'm assuming this is the netdev preference), netdev can apply it. It looks like Simon had some comments [1], but nothing blocking; maybe something to consider for a re-send. The patch looks ok to me. Feel free to add Acked-by: Tony Nguyen Thanks, Tony [1] https://lore.kernel.org/netdev/20261119112409.GU860048@horms.kernel.org/ > Tested-by: Matt Fleming