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 407D31AC458 for ; Wed, 26 Feb 2025 01:58:42 +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=1740535122; cv=none; b=bKfRhf890XqbqNt4RK9U3BAjf9JhG9neSoDeysySFZ7bQTmD5JLe6sR6BU8LGwWpFfYL2KhM8ZJSIZ/ctZJ0SJe2J7pUn9nccV4bnUxztLhklWS8dVJMJPxlI55aHyKJzGDyN2EJ127Bv+TRVC2oyjzo7cXHFf9Okg3K7JwkHa0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535122; c=relaxed/simple; bh=06NX8eszbAMJVN8m/w+1qtAnrthVX971OpgVxMpOW6c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PhUgNG4Z1DUbTUUUlHycxgHDnipfmi5NYBdnE1/6birKLmHIvvRVW/HBV5tGHkIwx1cvVYrExOTQLZYclYPVA03QArbKkB9a4KxWu6ZS8ArWYbKtkBDZb2+SbwmslJ4eG5PwXSsnT6ANghecFK4D3KRpBkllcXrXd3fJs35uCh4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lbZ7NTjZ; 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="lbZ7NTjZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1045AC4CEDD; Wed, 26 Feb 2025 01:58:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535122; bh=06NX8eszbAMJVN8m/w+1qtAnrthVX971OpgVxMpOW6c=; h=From:To:Cc:Subject:Date:Reply-to:From; b=lbZ7NTjZicX0R0FfnK5MO8BIA4yn0ei0YGO9roHFyarFz7xseIVj8ZRp3/A0FRmHX mV2eZ7tCf/nOdbfP3KwIwvXy0b0Y7R2QhTSpsIlC0ZMCGol2MZwNhJDEoulfUoGI3c Sf38uoJDI3KxzkeQULUK9IEwXKgu88Y2cXxNX4kY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49139: Bluetooth: fix null ptr deref on hci_sync_conn_complete_evt Date: Wed, 26 Feb 2025 02:55:44 +0100 Message-ID: <2025022607-CVE-2022-49139-66ce@gregkh> X-Mailer: git-send-email 2.48.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=2348; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=06NX8eszbAMJVN8m/w+1qtAnrthVX971OpgVxMpOW6c=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7SuxXrNoSMeG3YIyS2G6OGTMqGdkm5DteO/Mq3Ov8L 9adzv2lHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRozwM85Mtrn7Ky3ycZ1j8 In51ZdPn7eJqSxkWbI198W+BbkxqmsJ89v/dGXv/bhdpAQA= 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: fix null ptr deref on hci_sync_conn_complete_evt This event is just specified for SCO and eSCO link types. On the reception of a HCI_Synchronous_Connection_Complete for a BDADDR of an existing LE connection, LE link type and a status that triggers the second case of the packet processing a NULL pointer dereference happens, as conn->link is NULL. The Linux kernel CVE team has assigned CVE-2022-49139 to this issue. Affected and fixed versions =========================== Fixed in 5.4.231 with commit 1c1291a84e94f6501644634c97544bb8291e9a1a Fixed in 5.10.167 with commit 0f9db1209f59844839175b5b907d3778cafde93d Fixed in 5.15.92 with commit c1aa0dd52db4ce888be0bd820c3fa918d350ca0b Fixed in 5.17.3 with commit f61c23e73dc653b957781066abfa8105c3fa3f5b Fixed in 5.18 with commit 3afee2118132e93e5f6fa636dfde86201a860ab3 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-49139 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/bluetooth/hci_event.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/1c1291a84e94f6501644634c97544bb8291e9a1a https://git.kernel.org/stable/c/0f9db1209f59844839175b5b907d3778cafde93d https://git.kernel.org/stable/c/c1aa0dd52db4ce888be0bd820c3fa918d350ca0b https://git.kernel.org/stable/c/f61c23e73dc653b957781066abfa8105c3fa3f5b https://git.kernel.org/stable/c/3afee2118132e93e5f6fa636dfde86201a860ab3