From mboxrd@z Thu Jan 1 00:00:00 1970 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 6DBC71AB519 for ; Thu, 20 Jun 2024 11:18:07 +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=1718882287; cv=none; b=alvJJNxqgdnntyuKfF/uvi9nHYPYda4ORxyIUgyR5ioVlPWM9KNB4imND21CJFFvYdspLNlIGDUhjtNR6C2h1RS+rPDBU5u+8HIRThKChXiGR9i1FBNaVxgYbfNelb6yOI0xBNliOWSh9VZN6dyPxqbo6Z3xFO4xS0rclzIouBU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718882287; c=relaxed/simple; bh=lEjifh7vQcK51dcSAZS5qacEp5wWSju2nwZZkPWteaE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=a2HQNcCKw9z5vtDDerso3YUeYowDQATV0r/sdYGnLl1u4nxZvCiBPrAkGBlLK/AObJo1hx8/sWI28R1KCXQODNU9LAld1m5be4YzcIcn2Nmg9+feqUHW/Yt5kmwTGOhOQ//xCuanoMFwQSiIuFJNlwIppAxecjsNRe8McLn1Pf0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mRqx6zgf; 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="mRqx6zgf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E81EDC2BD10; Thu, 20 Jun 2024 11:18:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718882287; bh=lEjifh7vQcK51dcSAZS5qacEp5wWSju2nwZZkPWteaE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=mRqx6zgfjPs7AV44+44WL/amnKpWpqdRWao1AiDywc5ocLbZ1x7VDY84i80SP7InB J+ygPQBb2VvvRdSgIQ/nJWhXaOkQPoEc/3LXGiENOlXFssSV3D6iWTvy0u6Bkgcxy4 5V4Aab88tTYBEEsRfupgXASmdVicx49AeMs1mzEU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48725: RDMA/siw: Fix refcounting leak in siw_create_qp() Date: Thu, 20 Jun 2024 13:16:05 +0200 Message-ID: <2024062058-CVE-2022-48725-aba3@gregkh> X-Mailer: git-send-email 2.45.2 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=1907; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lEjifh7vQcK51dcSAZS5qacEp5wWSju2nwZZkPWteaE=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkl/HkTyyMZi2eEbDDO+77owbJ9khyr7nuZPDs7r7KSa 0EzM/fEjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjII3aGeZbGfz2F+Ezi3Way /Nq+NIzD+vHbXQzznWfMnJ4RcH6R/iLtP1pB6l4m/1v/AwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: RDMA/siw: Fix refcounting leak in siw_create_qp() The atomic_inc() needs to be paired with an atomic_dec() on the error path. The Linux kernel CVE team has assigned CVE-2022-48725 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 514aee660df4 and fixed in 5.15.22 with commit 2989ba9532ba Issue introduced in 5.15 with commit 514aee660df4 and fixed in 5.16.8 with commit fa3b844a5084 Issue introduced in 5.15 with commit 514aee660df4 and fixed in 5.17 with commit a75badebfdc0 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-48725 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: drivers/infiniband/sw/siw/siw_verbs.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/2989ba9532babac66e79997ccff73c015b69700c https://git.kernel.org/stable/c/fa3b844a50845c817660146c27c0fc29b08d3116 https://git.kernel.org/stable/c/a75badebfdc0b3823054bedf112edb54d6357c75