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 C95A81AAE04 for ; Thu, 20 Jun 2024 11:17:46 +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=1718882266; cv=none; b=eghQugy93Xj6AUSIm3TTYjgE555B6g5/Q6rqbz/7EWYQ0WJ9ex3GBwSS4DgPgNHnHx1nL/Q5JSaA6Dn82eZ+yLVcVCdcT6l2hGrg8CBWVxwSjeXu7IFNSfZhpdY3BxE7kcaaJStAqxONVuViJ9ryfvKqcO5/+aQWBTRS5KHCwr0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718882266; c=relaxed/simple; bh=me/huLw6c08jUfvGD+bWNJXS7QdEfBF9CqiUpsdlehI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=O+c41WgFHwSjU+9ltkYDYuL3qMlQaZUj4QhpoSQkBNOaWutMuUGpaR0PvsuB0NGQd94vpsQAaMLZL+ymp5aN41rXjuIuyaytRE+/VY3wMP2GAV5T100JEluQVQJQOBAR8pdlLcNLTxVhdur3jH4nUs2h3TRmtzvShosut0C3k6U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NeMX4Rfu; 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="NeMX4Rfu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4FD80C2BD10; Thu, 20 Jun 2024 11:17:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718882266; bh=me/huLw6c08jUfvGD+bWNJXS7QdEfBF9CqiUpsdlehI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=NeMX4RfuPRGuViT5dkvipQEtf14+yROvNpSFuHgtp9GuO9bi4S/Qf15CteEY+O3eM PheVVcjbV778SViMS1Z2jzDS9XvUArM20PG2ENGPVU6yI3s4qvEiDuE1IZ4e1aAcCh KXZMudVyMWiT7OFDHN9/aAlA1dYyGqRxDr0JuHn0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48722: net: ieee802154: ca8210: Stop leaking skb's Date: Thu, 20 Jun 2024 13:16:02 +0200 Message-ID: <2024062057-CVE-2022-48722-dc20@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=2714; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=me/huLw6c08jUfvGD+bWNJXS7QdEfBF9CqiUpsdlehI=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkl/LlzXN9Uyz+qM7mVWLhY8pdunQp3RO3BK+dm98kxO y96fWdWRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkvSjDfMernCHsSU4J882b 5jJ1Xtb/651zmGFB93HxUz9+5LRXWWi0swUEsty137kCAA== 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: ieee802154: ca8210: Stop leaking skb's Upon error the ieee802154_xmit_complete() helper is not called. Only ieee802154_wake_queue() is called manually. We then leak the skb structure. Free the skb structure upon error before returning. The Linux kernel CVE team has assigned CVE-2022-48722 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit ded845a781a5 and fixed in 4.14.265 with commit a1c277b0ed2a Issue introduced in 4.12 with commit ded845a781a5 and fixed in 4.19.228 with commit d6a44feb2f28 Issue introduced in 4.12 with commit ded845a781a5 and fixed in 5.4.178 with commit 6f38d3a6ec11 Issue introduced in 4.12 with commit ded845a781a5 and fixed in 5.10.99 with commit 78b3f20c17cb Issue introduced in 4.12 with commit ded845a781a5 and fixed in 5.15.22 with commit 94cd597e20ed Issue introduced in 4.12 with commit ded845a781a5 and fixed in 5.16.8 with commit 21feb6df3967 Issue introduced in 4.12 with commit ded845a781a5 and fixed in 5.17 with commit 621b24b09eb6 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-48722 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/net/ieee802154/ca8210.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/a1c277b0ed2a13e7de923b5f03bc23586eceb851 https://git.kernel.org/stable/c/d6a44feb2f28d71a7e725f72d09c97c81561cd9a https://git.kernel.org/stable/c/6f38d3a6ec11c2733b1c641a46a2a2ecec57be08 https://git.kernel.org/stable/c/78b3f20c17cbcb7645bfa63f2ca0e11b53c09d56 https://git.kernel.org/stable/c/94cd597e20ed4acedb8f15f029d92998b011cb1a https://git.kernel.org/stable/c/21feb6df3967541931242c427fe0958276af81cc https://git.kernel.org/stable/c/621b24b09eb61c63f262da0c9c5f0e93348897e5