From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp134-32.sina.com.cn (smtp134-32.sina.com.cn [180.149.134.32]) (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 0FAE74A28 for ; Sat, 18 Jan 2025 10:55:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=180.149.134.32 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737197723; cv=none; b=GYy+/sZEo5+K1szvEHqx8/Rhc96wXXJom+8CYXvKxfbuP7zBGao7OqN3cOc6hEpSQU89u9pgQcsvDYnI8TTWRJwuQMOM0GRn/mak9DtCXKy6CHBJOm9OoUL63tysgkNT4jAJcrxpASK7KHq/bjeC7C/0TAqJoQjJ/Y6PvbfdVy0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737197723; c=relaxed/simple; bh=SIDB7jhbqZUD3pjVWMrFoqY1vUL0Bh6Nv83UgRSlG6Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sakwvC3DK/dav5fuc8TqUEQg0vr5GuxA83vNJzEEPoKGvBiJ/2y3Iv+jUJLiwQLfvuRKM7jTBUKAFR8Hx9OIaNzfp7FoKTVifQWMm10koRijNkYj1Q7Xe6EJ3V9VSxE66F8sDU4IPhMS+AkUwpbvNp6yURb7/+cf0+qX4jyG2Yc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com; spf=pass smtp.mailfrom=sina.com; arc=none smtp.client-ip=180.149.134.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sina.com X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([113.118.67.155]) by sina.com (10.185.250.21) with ESMTP id 678B888600005747; Sat, 18 Jan 2025 18:55:05 +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: 7589333408362 X-SMAIL-UIID: F9EFCC8CEB1E429B97184613F86BF2BC-20250118-185505-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [bluetooth?] [wireless?] WARNING in free_netdev (2) Date: Sat, 18 Jan 2025 18:54:53 +0800 Message-ID: <20250118105454.1957-1-hdanton@sina.com> In-Reply-To: <678add43.050a0220.303755.0016.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 On Fri, 17 Jan 2025 14:44:19 -0800 > syzbot found the following issue on: > > HEAD commit: 8d20dcda404d selftests: drv-net-hw: inject pp_alloc_fail e.. > git tree: net-next > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=13ffc2b0580000 #syz test --- x/net/core/dev.c +++ y/net/core/dev.c @@ -11606,8 +11606,6 @@ void free_netdev(struct net_device *dev) return; } - mutex_destroy(&dev->lock); - kfree(dev->ethtool); netif_free_tx_queues(dev); netif_free_rx_queues(dev); --