Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 357251ACECE for ; Thu, 1 May 2025 14:11:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746108674; cv=none; b=QYuQ93+newErk9GX7YGrnT5sPZaL/9zWOgmfc2iJ5HQB1FWMYo9O+Ov0rxFPk31xr8HmO+Lya2XL6ODNHs6yb53ry3mHfgCeanZ7zfNzyXXVXxhnhCfmVNSAGW5iJt+3RWjoMLdWa6h6zL0phL0JeF0FzhShQ2B1YlVG/Lgo6sY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746108674; c=relaxed/simple; bh=JE8gS+9iyj9gtqw10TXRuINjuMTWs4hXYtuX7GuEBfU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uNBco4AnxpPR5VUrCkjCRmlH2uRhkzvoGkdqcDgANZ1DiNPXFxvAkN6zsYUz0Jvgtn0UKjHsn6ynwXtcH90Wkg1jdd4+fqUIoj99KRkeK1zsuEWcOSCPDoFw2B8m1gQ4SKuDSYuzBVfX6BsvQs6PzupUCzLu8ry+FiaOKD8Wdd4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=09IsJOGt; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="09IsJOGt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B622C4CEE3; Thu, 1 May 2025 14:11:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746108673; bh=JE8gS+9iyj9gtqw10TXRuINjuMTWs4hXYtuX7GuEBfU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=09IsJOGt4sGprV4fPWAhyfS7OT5qFn4UnCOxVukBG1cyo6V1Ql0AVPIZtkRXRqumz ePxG6HH+rIMEmenZsZP0h3dc6gaMX1GABKA31OaF4GRIS790TQnVpJDOCfogcHqHrl EX7gqiLhSqi+XcY8DeBobtaufBB2uQcJQ8oGsLmc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49768: 9p: trans_fd/p9_conn_cancel: drop client lock earlier Date: Thu, 1 May 2025 16:09:18 +0200 Message-ID: <2025050114-CVE-2022-49768-d9af@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2620; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pmIm0ax68cBVx9VkNBkmJpw9bUKw9tBV3rerKrSJWbM=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCDV1X077f2lGsJLZWUmzaX2cx8Wv7DE9NWzbx0iJZn gKR40+kO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAijt0MCzZUpS49zWLbI++7 lLvg5vPNCmZ5XgxzRSfV1C5YNbexUGNCV5y5xKnWyvXfAQ== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: 9p: trans_fd/p9_conn_cancel: drop client lock earlier syzbot reported a double-lock here and we no longer need this lock after requests have been moved off to local list: just drop the lock earlier. The Linux kernel CVE team has assigned CVE-2022-49768 to this issue. Affected and fixed versions =========================== Fixed in 4.9.334 with commit 82825dbf393f7c7979d462f9609a15bde8092b3f Fixed in 4.14.300 with commit e3031280fe4eaf61a09e60823331f81f321be8e1 Fixed in 4.19.267 with commit fec1406f5e7ab20b71f6d231792b0040e3300aaf Fixed in 5.4.225 with commit 96760723aae1b45f733f702abb4333137143909f Fixed in 5.10.156 with commit f14858bc77c567e089965962877ee726ffad0556 Fixed in 5.15.80 with commit a4f1a01b2e81378fce9ca528d4d8a049e4b58fcd Fixed in 6.0.10 with commit 612c977f5d481f551d03d83d0aef588845c1300c Fixed in 6.1 with commit 52f1c45dde9136f964d63a77d19826c8a74e2c7f Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2022-49768 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/9p/trans_fd.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/82825dbf393f7c7979d462f9609a15bde8092b3f https://git.kernel.org/stable/c/e3031280fe4eaf61a09e60823331f81f321be8e1 https://git.kernel.org/stable/c/fec1406f5e7ab20b71f6d231792b0040e3300aaf https://git.kernel.org/stable/c/96760723aae1b45f733f702abb4333137143909f https://git.kernel.org/stable/c/f14858bc77c567e089965962877ee726ffad0556 https://git.kernel.org/stable/c/a4f1a01b2e81378fce9ca528d4d8a049e4b58fcd https://git.kernel.org/stable/c/612c977f5d481f551d03d83d0aef588845c1300c https://git.kernel.org/stable/c/52f1c45dde9136f964d63a77d19826c8a74e2c7f