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 E5F1F19923E for ; Tue, 16 Jul 2024 12:28:52 +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=1721132933; cv=none; b=Kys1Ct+5anuS6pENveAZOeso/g0EV0ZnA8V5fml87Gq6+P+s2c+jo7VPt1Yiu5POp+ONjVReknvFOru7Lw1YdfLb9ctSmfVdhEdQ3Dq69GsyunuXVaWaQuvK6xPcUbZ3YMIf0m7Rw8Og7/sA5cIFoeBcMIr/rBrwPc/qppslZws= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721132933; c=relaxed/simple; bh=iUmD6wKQhIk/c2dAsW4hpQvFcjjrean7AhFYmQ+C2jY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NgAIKxHnf6KPV9kQwEmyC7fvI/vrRWmhJoOZmgZB25svrpTARhZhhA24oz3Wdqw92sqES6BEjcbNNbp85rkRGzo5C51Ds+qZhE0JGbPEcm2RM7pYOc44YPPprOYGw2PJCWT4bDTb8MqTgjfaqM0ldCnFF4aYTN92bJrKa0J/Gpk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=B4uySDk5; 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="B4uySDk5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2294CC116B1; Tue, 16 Jul 2024 12:28:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1721132932; bh=iUmD6wKQhIk/c2dAsW4hpQvFcjjrean7AhFYmQ+C2jY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=B4uySDk5VFarg/Q9EpwKqyFa8fTcEcXaGzCdvjhJEsa3FeJ0emCU6LGDEYkfvhGlb hxMXyY1GIFS97LKzC1GpwY5UzE6GjgLRrdXVfKQSivr08EjIm5xfU94j+uX8MOIZ0B 4qpfX8aoXqy6f1K0Q6oZzt7w8wYqMOGQJkBniXXA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48863: mISDN: Fix memory leak in dsp_pipeline_build() Date: Tue, 16 Jul 2024 14:27:48 +0200 Message-ID: <2024071629-CVE-2022-48863-3df7@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=2270; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iUmD6wKQhIk/c2dAsW4hpQvFcjjrean7AhFYmQ+C2jY=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnT0g3Z+JYt+DHT91D5GVPWO8/4apQ8pQUnr/mj+e5Rd P2F3PS9HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRrACGBWtFCnuqZIyvup3j nLqZZYfgt5gJIgwLdm7Ij45QnjbxdGfBjIRbK+cL7nvyGgA= 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: mISDN: Fix memory leak in dsp_pipeline_build() dsp_pipeline_build() allocates dup pointer by kstrdup(cfg), but then it updates dup variable by strsep(&dup, "|"). As a result when it calls kfree(dup), the dup variable contains NULL. Found by Linux Driver Verification project (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2022-48863 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.27 with commit 960366cf8dbb and fixed in 5.10.106 with commit a3d5fcc6cf2e Issue introduced in 2.6.27 with commit 960366cf8dbb and fixed in 5.15.29 with commit 7777b1f795af Issue introduced in 2.6.27 with commit 960366cf8dbb and fixed in 5.16.15 with commit 640445d6fc05 Issue introduced in 2.6.27 with commit 960366cf8dbb and fixed in 5.17 with commit c6a502c22999 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-48863 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/isdn/mISDN/dsp_pipeline.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/a3d5fcc6cf2ecbba5a269631092570aa285a24cb https://git.kernel.org/stable/c/7777b1f795af1bb43867375d8a776080111aae1b https://git.kernel.org/stable/c/640445d6fc059d4514ffea79eb4196299e0e2d0f https://git.kernel.org/stable/c/c6a502c2299941c8326d029cfc8a3bc8a4607ad5