From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from r3-17.sinamail.sina.com.cn (r3-17.sinamail.sina.com.cn [202.108.3.17]) (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 9FCF3246348 for ; Fri, 12 Sep 2025 03:41:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.108.3.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757648523; cv=none; b=F4FNk9/PnUUfWX3wJxjPTRxLK3SvCYoFFyIiX44XrYGIAOZD14cVsEMi+dugBJ4i1JV52d+wvoXUQVuFdhORhYMwMpev/YSXPjYS2POjDK5RMZmVb1REnWpKkxkPcguAq1KIKESVTb8c0UDCbYIcY9A0SDhlCxbwrE9CbrMPQSU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757648523; c=relaxed/simple; bh=jzNKu2lXSx5ScqDbHaQ4Zr6soQdmnqh0vwtPLuRv+Eg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=p5DPCwy+h2gD8JJNK06y3F5wKQEUWZhlbVTqI131gJEbqRF5XUIaz6oTnMYtvdntMKfbESEJf2Lwe71KP+7guu02YsTl1olmjF2vWmRMDP/2JcdmmnPTve/Lo0ox9o602lPXrTnUrZ5XH5E1baKm1rVgEJrJ3at5hUevUztB44E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sina.com; spf=pass smtp.mailfrom=sina.com; dkim=pass (1024-bit key) header.d=sina.com header.i=@sina.com header.b=pEArDUuE; arc=none smtp.client-ip=202.108.3.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sina.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=sina.com header.i=@sina.com header.b="pEArDUuE" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sina.com; s=201208; t=1757648516; bh=QAQawdjdxUnCmKK2sv+xDFgHaY34kb5syTH90unbTeo=; h=From:Subject:Date:Message-ID; b=pEArDUuEsEqjtJU/50xUwBYMhA+kgawkDerzYCFprOLxmgKO2e68mabde2wgUq4AV pPhAopCXouXe7AkltoY7qOfCtXgcRNanqy+RrCFEYh8VP+E/RPgOI4KO5tiNsK3gvZ ZYe4lxToJL1tAviUDRydaolW8pugYsw+Xn47A5yo= X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([114.249.58.236]) by sina.com (10.54.253.34) with ESMTP id 68C395EA000003DD; Fri, 12 Sep 2025 11:39:24 +0800 (CST) X-Sender: hdanton@sina.com X-Auth-ID: hdanton@sina.com Authentication-Results: sina.com; spf=none smtp.mailfrom=hdanton@sina.com; dkim=none header.i=none; dmarc=none action=none header.from=hdanton@sina.com X-SMAIL-MID: 235626292007 X-SMAIL-UIID: 5585466F7A504E538F7F1140847D8E5B-20250912-113924-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [rdma?] WARNING in gid_table_release_one (3) Date: Fri, 12 Sep 2025 11:39:10 +0800 Message-ID: <20250912033912.6788-1-hdanton@sina.com> In-Reply-To: <68c2ec01.050a0220.3c6139.003f.GAE@google.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit > Date: Thu, 11 Sep 2025 08:34:25 -0700 [thread overview] > syzbot has found a reproducer for the following issue on: > > HEAD commit: 5f540c4aade9 Add linux-next specific files for 20250910 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=157dab12580000 > kernel config: https://syzkaller.appspot.com/x/.config?x=5ed48faa2cb8510d > dashboard link: https://syzkaller.appspot.com/bug?extid=b0da83a6c0e2e2bddbd4 > compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15b52362580000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16b41642580000 #syz test --- x/drivers/infiniband/core/device.c +++ y/drivers/infiniband/core/device.c @@ -506,6 +506,7 @@ static void ib_device_release(struct dev if (dev->hw_stats_data) ib_device_release_hw_stats(dev->hw_stats_data); if (dev->port_data) { + ib_cache_cleanup_one(dev); ib_cache_release_one(dev); ib_security_release_port_pkey_list(dev); rdma_counter_release(dev); --