Bluetooth: SMP: force responder MITM requirements before building the pairing response
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2b64d153a0cc9d2b60e47be013cde8490f16e0a5 · < fa14e0e19820b1bbdb42185c9c4efa950bcffef9| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: SMP: force responder MITM requirements before building the pairing response
smp_cmd_pairing_req() currently builds the pairing response from the initiator auth_req before enforcing the local BT_SECURITY_HIGH requirement. If the initiator omits SMP_AUTH_MITM, the response can also omit it even though the local side still requires MITM.
tk_request() then sees an auth value without SMP_AUTH_MITM and may select JUST_CFM, making method selection inconsistent with the pairing policy the responder already enforces.
When the local side requires HIGH security, first verify that MITM can be achieved from the IO capabilities and then force SMP_AUTH_MITM in the response in both rsp.auth_req and auth. This keeps the responder auth bits and later method selection aligned.
From the CVE record · Linux
The Linux kernel Bluetooth SMP pairing responder can build a response without the MITM requirement when an initiator omits SMP_AUTH_MITM, even if the local side requires HIGH security. During pairing, this can cause method selection to use JUST_CFM, inconsistent with the responder’s security policy. The input does not specify whether prior authentication or user interaction is required.
Engineers running the Linux kernel should check their Bluetooth SMP exposure; affected versions are not specified.