Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp68225lqg; Wed, 10 Apr 2024 15:58:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUNVO4/ycmFy7JFkaoq0AmnQ6uFgsBUZidz7tWJte255pI3/j0EqCzqebJv2NOhLMW+YBUCcMZaNrL07ThbC9KNLe8zsIWdVCjiRf+UMg== X-Google-Smtp-Source: AGHT+IE8Rt97CF9sfv41UHcWdDb76dgQA75cd1kyZwW442yWs9xta9F/nJh7iVcD+/Oqh6veqfX0 X-Received: by 2002:a17:903:110c:b0:1e4:c75e:aad8 with SMTP id n12-20020a170903110c00b001e4c75eaad8mr4602153plh.26.1712789934418; Wed, 10 Apr 2024 15:58:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712789934; cv=pass; d=google.com; s=arc-20160816; b=beA/Ju2mda09cJ/7+Sygn8BgrEwp1nog3p6lX1uOPPyhkayxRBNCy4kPOf1Acl8s2N MaAV+NejZPNlchOyWXbb6koOpdNYtx4WNMuPbQHVBclfDwsp+svOvUJ9toI4MbWH6UY4 U1Dy4MgQQmVXOagWWutsnawlt/CP4H7GAY1l30GJJJI2wtNKNg3pwwfqq0FZudthKt21 x3ZSk/SZyuQvx++gDHLhPGJZn+ofH4b3cMBREYIrImbg7puMq33Bl7itQKFBu8cFdUTy gqNz2fQVZ9tyEwdGoA4PRG9elHSPQufaFEHbELC4fgLWIzW6HmgbBwfd0KPpitiOYX7c DkQA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=cy16shjfmPjM6Kwt06GtGBskBbgvhfxss0czLPRv/wk=; fh=cTIzsuaQ1m8ZD1StBiI7lTt0W4bVgQ9wPoHtFkbMHGc=; b=e+k+H8p4VoQIw69ogaK45GwWjs+NC8uhswwySN/Cz6ig+OZrGYodUp817foQl10w6Q pp6gDms0cHCUszfguSZraSqk3une9DNfDibx5Gote/56awbGbq0y7Igg6AqRGJ0zCsvh B0VAZhKKS42BYwenKHR23ikwM9fqw/Q/efypW8qNOSpQ/5CcnmTz3ejvTwBeeefN491v PIf0wU+Qj5/tAx204BobbphCNcr5xnDlaYKuA/iVaBTM3jZuCtPmwr5nDnTmeaKYCPnc BWak2dO4vRb1k6GoSnLEZk/7PN1Fvi/RZPDQsO9YoeSVJnA8E/TTe7QYUNxW+Uahe/yL 7byw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=sina.com); spf=pass (google.com: domain of linux-kernel+bounces-139506-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139506-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id n2-20020a170902d2c200b001d9004b68f2si103907plc.239.2024.04.10.15.58.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 15:58:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139506-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=sina.com); spf=pass (google.com: domain of linux-kernel+bounces-139506-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139506-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1B9DD28D41B for ; Wed, 10 Apr 2024 22:58:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA13A3EA83; Wed, 10 Apr 2024 22:53:21 +0000 (UTC) Received: from mail115-118.sinamail.sina.com.cn (mail115-118.sinamail.sina.com.cn [218.30.115.118]) (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 A1CDB10A1D for ; Wed, 10 Apr 2024 22:53:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=218.30.115.118 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712789601; cv=none; b=j8R+8+da5556utb+tm+hIJ1n1d6qd1WiAp2K0lNvtwK5VTYCgJST/ytBrCm2sTvNfu8wxD8yfGfXyUz691B57I2cSMVgjck5qSFdgxrDiYG7wYhlILVImBIjNRqkzGbUYW5NXaP4X/6kuhY4egGCzNnXT/h3gFDoJ3CsBtqcv/c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712789601; c=relaxed/simple; bh=RDUgMCW7ih6Zd7tHmeamaX5LBVNc3hBRTo2BT+4qARA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=nLPulnKp6QzlpOtRKV37BD5wUj3/1szebFePG7T3u4hhs/nfIIS71rKSYtfhwGAy//YCGJGRAQHLLsZBUbbUeyER6hq65Vhtl/wj/R/WmcZf/WdAKYbz+oOQCn0u1s2mzrSuRhbD/oqdr4ZTTM4u6T3Vyke6ZCdtDZr4QDNMYYY= 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=218.30.115.118 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.88.50.59]) by sina.com (172.16.235.25) with ESMTP id 6617185000000D76; Wed, 11 Apr 2024 06:53:06 +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: 75703134210298 X-SMAIL-UIID: 9EE7AFC8FD6348368857EA04321C0100-20240411-065306-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [net?] possible deadlock in unix_notinflight Date: Thu, 11 Apr 2024 06:52:58 +0800 Message-Id: <20240410225258.631-1-hdanton@sina.com> In-Reply-To: <0000000000005576ad0615c2710b@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 Wed, 10 Apr 2024 11:45:29 -0700 > syzbot found the following issue on: > > HEAD commit: 443574b03387 riscv, bpf: Fix kfunc parameters incompatibil.. > git tree: bpf > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11aee305180000 #syz test https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git 443574b03387 --- x/net/unix/garbage.c +++ y/net/unix/garbage.c @@ -327,7 +327,7 @@ static void __unix_gc(struct work_struct #if IS_ENABLED(CONFIG_AF_UNIX_OOB) if (u->oob_skb) { - kfree_skb(u->oob_skb); + __skb_queue_tail(hitlist, u->oob_skb); u->oob_skb = NULL; } #endif --