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 4C13128489E for ; Tue, 16 Sep 2025 16:15:00 +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=1758039300; cv=none; b=Q5KYhILkvi2VkFu8Wl40/FHYhFWR+YEXIT5FhXJgO60HQg7hpsj1n/meMoiGROW2TWE9OS0vfgFd1QaREBwmFb160tFnyRDbCBGOhnGIYknCNHfMqh7FA95AoLugkzNq8uD9PQhDhdO/2/AeM2Pjtl4cJyZLaDQH2WpnIn0n9fA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758039300; c=relaxed/simple; bh=mMlp+N+ZLdnxUB9gQt50eiIdM1zj1W4enJfCCG9AUVw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OL3iZ+HDaTvvyC0J2SPr4d00KJ4hvcBhlkBzV9PLo6M4WVaSOOpW/S5JyMa5b4SWEBkRxE1YB/uC454k8XRpk1CvevC49DSi9B4xNeemBGZJHNsXFv16VaIJXE0k149v/J6oDZ3WBEiBmEhsQekV1rJJpoMNEBMkAJDzIg4qvZY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0xUOMfsD; 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="0xUOMfsD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2F0BC4CEEB; Tue, 16 Sep 2025 16:14:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758039300; bh=mMlp+N+ZLdnxUB9gQt50eiIdM1zj1W4enJfCCG9AUVw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=0xUOMfsD45fqZLMCU3hEJYS0Lj0EMSsQ9gZEJuTDiWzW4trSFDRmdPDNhoEdCip4W 5/Hd+FMawvirGlZxKkkUgTeSe+cd4OURhLRv55FgVIkd0S4EPE49qV1PiEETiMq2qQ sN4zwkTpGhU2d5ufNUN4dhuKO3tqB0pUtKFGB7Cc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53330: caif: fix memory leak in cfctrl_linkup_request() Date: Tue, 16 Sep 2025 18:12:15 +0200 Message-ID: <2025091645-CVE-2023-53330-8d89@gregkh> X-Mailer: git-send-email 2.51.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=3266; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xkF4JhN4Eqv6rVgn7hLaafblMgfut5y7EXWPEe4LS9w=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknexxXW07PyTuzUdvC9dAP+ZI9asadPVOvyf7i7pu04 Fvfh7wJHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRlHkMCxYLPF75rZxT9v7C jiOC8bNW/L+wN5dhfuR3nkqNNwJapsfmizLmLQh9mr/nIAA= 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: caif: fix memory leak in cfctrl_linkup_request() When linktype is unknown or kzalloc failed in cfctrl_linkup_request(), pkt is not released. Add release process to error path. The Linux kernel CVE team has assigned CVE-2023-53330 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.35 with commit b482cd2053e3b90a7b33a78c63cdb6badf2ec383 and fixed in 4.14.303 with commit badea57569db04b010e922e29a7aaf40a979a70b Issue introduced in 2.6.35 with commit b482cd2053e3b90a7b33a78c63cdb6badf2ec383 and fixed in 4.19.270 with commit 3acf3783a84cbdf0c9f8cf2f32ee9c49af93a2da Issue introduced in 2.6.35 with commit b482cd2053e3b90a7b33a78c63cdb6badf2ec383 and fixed in 5.4.229 with commit 33df9c5d5e2a18c70f5f5f3c2757d654c1b6ffa3 Issue introduced in 2.6.35 with commit b482cd2053e3b90a7b33a78c63cdb6badf2ec383 and fixed in 5.10.163 with commit 84b2cc7b36b7f6957d307fb3d01603f93cb2d655 Issue introduced in 2.6.35 with commit b482cd2053e3b90a7b33a78c63cdb6badf2ec383 and fixed in 5.15.87 with commit dc1bc903970bdf63ca40ab923d3ccb765da9a8d9 Issue introduced in 2.6.35 with commit b482cd2053e3b90a7b33a78c63cdb6badf2ec383 and fixed in 6.0.19 with commit 1dddeceb26002cfea4c375e92ac6498768dc7349 Issue introduced in 2.6.35 with commit b482cd2053e3b90a7b33a78c63cdb6badf2ec383 and fixed in 6.1.5 with commit 3ad47c8aa5648226184415e4a0cb1bf67ffbfd48 Issue introduced in 2.6.35 with commit b482cd2053e3b90a7b33a78c63cdb6badf2ec383 and fixed in 6.2 with commit fe69230f05897b3de758427b574fc98025dfc907 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-2023-53330 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/caif/cfctrl.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/badea57569db04b010e922e29a7aaf40a979a70b https://git.kernel.org/stable/c/3acf3783a84cbdf0c9f8cf2f32ee9c49af93a2da https://git.kernel.org/stable/c/33df9c5d5e2a18c70f5f5f3c2757d654c1b6ffa3 https://git.kernel.org/stable/c/84b2cc7b36b7f6957d307fb3d01603f93cb2d655 https://git.kernel.org/stable/c/dc1bc903970bdf63ca40ab923d3ccb765da9a8d9 https://git.kernel.org/stable/c/1dddeceb26002cfea4c375e92ac6498768dc7349 https://git.kernel.org/stable/c/3ad47c8aa5648226184415e4a0cb1bf67ffbfd48 https://git.kernel.org/stable/c/fe69230f05897b3de758427b574fc98025dfc907