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 1705F219EB8 for ; Wed, 26 Feb 2025 02:24:27 +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=1740536667; cv=none; b=qYhAB3kkPJ20vU4xTj97RYSOaTkkLKg4Vwc7PgzHGccHcj1EJmkVU4+Ez2oF8Ow2Q3dOSyUnxP7g1C044WVjExqQfN8L3lk2owI3THIDlboLicLrVnVViVOq2gj7wFvQdLA46YtNFo89WL33o25YEdBfF/TN+SMZWY2QeDxiwSE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536667; c=relaxed/simple; bh=MUSYBpvWOInUtbQxJRO354CjdIAAE3E37WvYuDmKExo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SStHQYT9HdL60AgMuSorTUoqZcCS00sl0r8loYwopdifyDqUoQj8m2/BzSI993Qjrsru/nUzlmdhiLdH32Vmc6ax9Hb3hc0IDzh/wQCxdgLBLvS3JvOv+sERpRUTKJdL6oPlhOPamIt8U6esBOMovIy4esdi+eLwfiek14PjVAA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SJfKr2GR; 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="SJfKr2GR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD79FC4CEDD; Wed, 26 Feb 2025 02:24:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536667; bh=MUSYBpvWOInUtbQxJRO354CjdIAAE3E37WvYuDmKExo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=SJfKr2GR088H/ruXADND9+oz56ShwujxrXDlfLZvRtl2R2nF/68TxopAUtXMYFYMr +qtOwLZruZWxM3AQLuefWjs6wcFTPws8a8KlB+gLq/hMfhYqX94Ik+phDCNRxOVPe9 SDLX5cxKxFHPBUxnajFIbspWVqjflpRX+wHRGaj4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49620: net: tipc: fix possible refcount leak in tipc_sk_create() Date: Wed, 26 Feb 2025 03:23:03 +0100 Message-ID: <2025022615-CVE-2022-49620-dca0@gregkh> X-Mailer: git-send-email 2.48.1 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=2519; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MUSYBpvWOInUtbQxJRO354CjdIAAE3E37WvYuDmKExo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qq7nbU/8ZNUnWXxS1P7v7ALDulmnH3Cdbu0/XLlt6 sQrrSssOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiLOIMC/ZIf/g14avZmx8+ XjKidquLIo6HBTEsmMctdm2RhLdHy6Sf8co/5yi1PDsUBQA= 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: net: tipc: fix possible refcount leak in tipc_sk_create() Free sk in case tipc_sk_insert() fails. The Linux kernel CVE team has assigned CVE-2022-49620 to this issue. Affected and fixed versions =========================== Fixed in 4.9.324 with commit 638fa20b618b2bbcf86da71231624cc82121a036 Fixed in 4.14.289 with commit 7bc9e7f70bc57d8f02ffea2a42094281effb15ef Fixed in 4.19.253 with commit ef488669b2652bde5b6ee5a409a5b048a2a50db4 Fixed in 5.4.207 with commit 4919d82f7041157a421ca9bf39a78551d5ad8a1b Fixed in 5.10.132 with commit efa78f2ae363428525fb4981bb63c555ee79f3c7 Fixed in 5.15.56 with commit 833ecd0eae76eadf81d6d747bb5bc992d1151867 Fixed in 5.18.13 with commit 3b2957fc09fe1ac7f07f40dd50dd5f93e3f3a7a2 Fixed in 5.19 with commit 00aff3590fc0a73bddd3b743863c14e76fd35c0c 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-49620 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/tipc/socket.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/638fa20b618b2bbcf86da71231624cc82121a036 https://git.kernel.org/stable/c/7bc9e7f70bc57d8f02ffea2a42094281effb15ef https://git.kernel.org/stable/c/ef488669b2652bde5b6ee5a409a5b048a2a50db4 https://git.kernel.org/stable/c/4919d82f7041157a421ca9bf39a78551d5ad8a1b https://git.kernel.org/stable/c/efa78f2ae363428525fb4981bb63c555ee79f3c7 https://git.kernel.org/stable/c/833ecd0eae76eadf81d6d747bb5bc992d1151867 https://git.kernel.org/stable/c/3b2957fc09fe1ac7f07f40dd50dd5f93e3f3a7a2 https://git.kernel.org/stable/c/00aff3590fc0a73bddd3b743863c14e76fd35c0c