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 B2A363C2790 for ; Fri, 1 May 2026 14:19: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=1777645140; cv=none; b=r54y8Jg2lK5wA1v6McdNSL6xc/B/owl9I8KUmsp/cwqOoC81zlPhSeX8aGImFZ+qVliQ9fvnbUCoWHCNX/HpCjIKzNo6b9KGKk7vijaxxRqRbWlhzLxyFKLmq+g3ucRK5uIbfjwKcD13gqMl6VTh7VonJiJT2W2IjV/GOkI4BdU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645140; c=relaxed/simple; bh=oCmyU/pqNdORIeJOXWnuCldtKv/w9wgsDnKd/m+In5g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VcJP4XPOg+ALWNWD1GT0BeJn9wBR8R1EOpfcVrSxgfWDpU+gY/HJNprZnaEv6pl9gVTduZAvfIxthRge1syuVvSnN0a3iCkbeyll7RWS3xv/3okXxPMRLGaUDMffMgd9JuKc79vGnBWT2iwmUSMYsdBIAL/QbqO8c0KPLQxxjw0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=M5BfjJZq; 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="M5BfjJZq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4832BC2BCB4; Fri, 1 May 2026 14:19:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777645140; bh=oCmyU/pqNdORIeJOXWnuCldtKv/w9wgsDnKd/m+In5g=; h=From:To:Cc:Subject:Date:Reply-To:From; b=M5BfjJZqR2dcevqDssY3IChF5NEdcFOqkW7bREaHWY01yi1OccqlY4+BSK96hLcbU KcZwQ0Yrxqp8mhSAZ4nY4nUHdqeGylS20mmy7zxycCsQ83RzMqhwQ19Z1rGQj+883S Umfzl9V4myDfRwa09DiiMzKoJiF0Ltj6Gzm4fKjc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31773: Bluetooth: SMP: derive legacy responder STK authentication from MITM state Date: Fri, 1 May 2026 16:15:24 +0200 Message-ID: <2026050149-CVE-2026-31773-e287@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3894; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EbHzngruCVcPpBh+yqcO27xJRcMRJqTNoVgBGewzmIU=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlftkZ23FO4erZaLvm8aNSJdRXCc57ZnJfOiPfm23cv/ GiP29rbHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRddMY5mdPvF8TfunQ9fP/ rvY/SU3+MZPH5iTDgtn6td+2C4XYK1jJvTk+c/MuttB/RwE= 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: Bluetooth: SMP: derive legacy responder STK authentication from MITM state The legacy responder path in smp_random() currently labels the stored STK as authenticated whenever pending_sec_level is BT_SECURITY_HIGH. That reflects what the local service requested, not what the pairing flow actually achieved. For Just Works/Confirm legacy pairing, SMP_FLAG_MITM_AUTH stays clear and the resulting STK should remain unauthenticated even if the local side requested HIGH security. Use the established MITM state when storing the responder STK so the key metadata matches the pairing result. This also keeps the legacy path aligned with the Secure Connections code, which already treats JUST_WORKS/JUST_CFM as unauthenticated. The Linux kernel CVE team has assigned CVE-2026-31773 to this issue. Affected and fixed versions =========================== Issue introduced in 3.16 with commit fff3490f47810e2d34b91fb9e31103e923b11c2f and fixed in 5.10.253 with commit 9a38659a3d06080715691bd3139f9c4b61f688e3 Issue introduced in 3.16 with commit fff3490f47810e2d34b91fb9e31103e923b11c2f and fixed in 5.15.203 with commit 667f44f1392df6482483756458c48670e579e9ff Issue introduced in 3.16 with commit fff3490f47810e2d34b91fb9e31103e923b11c2f and fixed in 6.1.168 with commit 929db734d12db41ca5f95424db4612397f1bd4a7 Issue introduced in 3.16 with commit fff3490f47810e2d34b91fb9e31103e923b11c2f and fixed in 6.6.134 with commit b1c6a8e554a39b222c0879a288ea98e338fc4d77 Issue introduced in 3.16 with commit fff3490f47810e2d34b91fb9e31103e923b11c2f and fixed in 6.12.81 with commit 0afc846bd80073ffcd2b8040f2b2fafaea3d9f72 Issue introduced in 3.16 with commit fff3490f47810e2d34b91fb9e31103e923b11c2f and fixed in 6.18.22 with commit 061ee71ac6b03c9f8432fe49538c3682bfcf4cf3 Issue introduced in 3.16 with commit fff3490f47810e2d34b91fb9e31103e923b11c2f and fixed in 6.19.12 with commit 9a6d0db176f082685e0b6149700c0baf3ce2aa8b Issue introduced in 3.16 with commit fff3490f47810e2d34b91fb9e31103e923b11c2f and fixed in 7.0 with commit 20756fec2f0108cb88e815941f1ffff88dc286fe Issue introduced in 3.15.5 with commit 14ec593d6bb050cf40a4ade2f9ac9ca050e0412c 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-2026-31773 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/smp.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/9a38659a3d06080715691bd3139f9c4b61f688e3 https://git.kernel.org/stable/c/667f44f1392df6482483756458c48670e579e9ff https://git.kernel.org/stable/c/929db734d12db41ca5f95424db4612397f1bd4a7 https://git.kernel.org/stable/c/b1c6a8e554a39b222c0879a288ea98e338fc4d77 https://git.kernel.org/stable/c/0afc846bd80073ffcd2b8040f2b2fafaea3d9f72 https://git.kernel.org/stable/c/061ee71ac6b03c9f8432fe49538c3682bfcf4cf3 https://git.kernel.org/stable/c/9a6d0db176f082685e0b6149700c0baf3ce2aa8b https://git.kernel.org/stable/c/20756fec2f0108cb88e815941f1ffff88dc286fe