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 EECC360269 for ; Fri, 17 May 2024 14:27:21 +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=1715956042; cv=none; b=brGPIN6gaa+7FntvYWCo6Zodw1SCiORYQggdoziY+uL+69i6jq1NuuYm+0W/OntNEbpvAyRSrfJz+Z8kTnXw2qQ2FD5CFkrMAa+UhpPbUuXDuOFxSWTl+qgP19V0LGm87sc7ewvqbsBUmzk8VjhFEYKERJFdUncJyu3GoxjcDX0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715956042; c=relaxed/simple; bh=IDKX79BqTfQezMnAoxFhXz9HyboXVojY86scf1IHlzI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mj/ofrKUZNUtXPEJP+3KW/jYEUXH/a7huoesAdhZYBzqcUrzgEwZhhkso3TBSdS17BaoytNDWvFy9FW7KkYJfm6BkObUjtxTuX0gwspszakK8tPSZz9IGufp72IMxAZuoNKoJMyIXkuxsTlPTPBfHwgfzbDPmWa0zkcbVT4P1XE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sK1v2POB; 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="sK1v2POB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20412C32789; Fri, 17 May 2024 14:27:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715956041; bh=IDKX79BqTfQezMnAoxFhXz9HyboXVojY86scf1IHlzI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=sK1v2POBo3wznX2Lj/F4CidZElO6OQ/qF1Pi+l4zkvihcHUhM7iiY3o5rKzzdOJU4 3U3Hr2I7udDglgu9mw7MXEm+fGfkWAxA943OVDJ2NFQq2z9CBYAZDJBW7BMqBiBrmR 3Nv0RK3bd5xosMpJddUUIkIn1oT39lM8OIFu3Yng= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52688: wifi: ath12k: fix the error handler of rfkill config Date: Fri, 17 May 2024 16:27:01 +0200 Message-ID: <2024051753-CVE-2023-52688-4932@gregkh> X-Mailer: git-send-email 2.45.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=1966; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=IDKX79BqTfQezMnAoxFhXz9HyboXVojY86scf1IHlzI=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnumbpO9zgZJ1m87vmnttT8T33SJ/OAjqfzhGWWPavWN ra3DjvfEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABO5p88wP/bXB4kFj3fvN1ix P2QZD/9B18+HYhgWHI37qlnMuFqndevcqlMOV4tDXZ6+BwA= 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: wifi: ath12k: fix the error handler of rfkill config When the core rfkill config throws error, it should free the allocated resources. Currently it is not freeing the core pdev create resources. Avoid this issue by calling the core pdev destroy in the error handler of core rfkill config. Found this issue in the code review and it is compile tested only. The Linux kernel CVE team has assigned CVE-2023-52688 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit 004ccbc0dd49 and fixed in 6.7.2 with commit b4e593a7a22f Issue introduced in 6.7 with commit 004ccbc0dd49 and fixed in 6.8 with commit 898d8b3e1414 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-52688 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/wireless/ath/ath12k/core.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/b4e593a7a22fa3c7d0550ef51c90b5c21f790aa8 https://git.kernel.org/stable/c/898d8b3e1414cd900492ee6a0b582f8095ba4a1a