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 06B0064CEC for ; Fri, 17 May 2024 14:48:11 +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=1715957292; cv=none; b=pQGVEmQbtAWxRfZ9wWYsbVSnYhwrQg9FwTO32OShf21DuuWW1MLD1a6//In5I16QpDEDCMCCcfzcW2Kkc1M6KtvjaOSaf7aMjhlBrgxhecXA8YlVVIa85cCejEdAkCXKXFi39Oi2reKHxZCc4t+IxEQCLpKfpZNuuqVA1qpIioQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715957292; c=relaxed/simple; bh=fqLWFlXU88Xw9rTPM9w6A7sSKgMYyuApqxJWv7bAHsA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aZuBeYiWOgOOunKpcx8mM72ihpz+SkiDgUVMGXuIgfEWGQKYTSnnL0a5buv+B0p40nkROhwyI1XwGh4oyzs8OTvr5GnZNkbv8TdzltPTLbu2ZVPKowAyMEyOMT+ruGmi/etqHJ5g0C4yVuHDEDuTHRScs+xz/kjTiFVWONtOWis= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xzNZzrmH; 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="xzNZzrmH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 304C7C2BD10; Fri, 17 May 2024 14:48:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715957291; bh=fqLWFlXU88Xw9rTPM9w6A7sSKgMYyuApqxJWv7bAHsA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=xzNZzrmHvwkMA0RWdk3WLX0a4MtxxnZBDPtPZBvelLkvVWf4l6NhS7vcDX6HeR7BD 1g6JHVme+/LM18vnUjq8/7MuFywTIj20mMPtO8Kyhmq5Qb94ikoicpSrFipdAoXscU FNL9k2VugOnZa1yYkrIPQ9Hp5YSGwfyyx0x+rWxA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35850: Bluetooth: qca: fix NULL-deref on non-serdev setup Date: Fri, 17 May 2024 16:47:43 +0200 Message-ID: <2024051739-CVE-2024-35850-2b62@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=2072; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fqLWFlXU88Xw9rTPM9w6A7sSKgMYyuApqxJWv7bAHsA=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnuedyRrvHxv+1bmLu/litN09lwRn6dddu5x0WBLgtSj nNf+afdEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOZ28ywoHmBd+57t3iBR7fu PgxYz8q1POuGO8M84+pjexfsP6+8/v6d72W6seHPlBMfAQA= 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: Bluetooth: qca: fix NULL-deref on non-serdev setup Qualcomm ROME controllers can be registered from the Bluetooth line discipline and in this case the HCI UART serdev pointer is NULL. Add the missing sanity check to prevent a NULL-pointer dereference when setup() is called for a non-serdev controller. The Linux kernel CVE team has assigned CVE-2024-35850 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit e9b3e5b8c657 and fixed in 6.6.30 with commit 67459f1a707a Issue introduced in 6.2 with commit e9b3e5b8c657 and fixed in 6.8.9 with commit bec4d4c6fa5c Issue introduced in 6.2 with commit e9b3e5b8c657 and fixed in 6.9 with commit 7ddb9de6af0f 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-2024-35850 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/bluetooth/hci_qca.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/67459f1a707aae6d590454de07956c2752e21ea4 https://git.kernel.org/stable/c/bec4d4c6fa5c6526409f582e4f31144e20c86c21 https://git.kernel.org/stable/c/7ddb9de6af0f1c71147785b12fd7c8ec3f06cc86