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.
Product status
fff3490f47810e2d34b91fb9e31103e923b11c2f (git) before 9a38659a3d06080715691bd3139f9c4b61f688e3
fff3490f47810e2d34b91fb9e31103e923b11c2f (git) before 667f44f1392df6482483756458c48670e579e9ff
fff3490f47810e2d34b91fb9e31103e923b11c2f (git) before 929db734d12db41ca5f95424db4612397f1bd4a7
fff3490f47810e2d34b91fb9e31103e923b11c2f (git) before b1c6a8e554a39b222c0879a288ea98e338fc4d77
fff3490f47810e2d34b91fb9e31103e923b11c2f (git) before 0afc846bd80073ffcd2b8040f2b2fafaea3d9f72
fff3490f47810e2d34b91fb9e31103e923b11c2f (git) before 061ee71ac6b03c9f8432fe49538c3682bfcf4cf3
fff3490f47810e2d34b91fb9e31103e923b11c2f (git) before 9a6d0db176f082685e0b6149700c0baf3ce2aa8b
fff3490f47810e2d34b91fb9e31103e923b11c2f (git) before 20756fec2f0108cb88e815941f1ffff88dc286fe
14ec593d6bb050cf40a4ade2f9ac9ca050e0412c (git)
3.16
Any version before 3.16
5.10.253 (semver)
5.15.203 (semver)
6.1.168 (semver)
6.6.134 (semver)
6.12.81 (semver)
6.18.22 (semver)
6.19.12 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/9a38659a3d06080715691bd3139f9c4b61f688e3
git.kernel.org/...c/667f44f1392df6482483756458c48670e579e9ff
git.kernel.org/...c/929db734d12db41ca5f95424db4612397f1bd4a7
git.kernel.org/...c/b1c6a8e554a39b222c0879a288ea98e338fc4d77
git.kernel.org/...c/0afc846bd80073ffcd2b8040f2b2fafaea3d9f72
git.kernel.org/...c/061ee71ac6b03c9f8432fe49538c3682bfcf4cf3
git.kernel.org/...c/9a6d0db176f082685e0b6149700c0baf3ce2aa8b
git.kernel.org/...c/20756fec2f0108cb88e815941f1ffff88dc286fe