Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_core: Initialize IRK before publication hci_add_irk() initializes the identity address and address type of a newly allocated IRK, publishes it on hdev->identity_resolving_keys, and only then initializes its value and RPA. RCU readers such as hci_find_irk_by_rpa() and the debugfs identity_resolving_keys_show() can traverse the new entry during that window and see a zero or partially initialized IRK. The race is reachable by racing an IRK addition with another CPU resolving or dumping IRKs. In particular, userspace can issue MGMT_OP_LOAD_IRKS while another process reads the corresponding debugfs file or triggers RPA resolution. Initialize the IRK value and RPA before publishing a newly allocated IRK. Existing IRKs remain published and continue to be updated in place. Found during a static-analysis-assisted audit: candidate sites were surfaced by a Coccinelle rule, and the reader/writer paths were confirmed by LLM-assisted (GLM-5.3) code inspection. The issue was not observed at runtime; it is identified by code inspection only.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
adae20cb2d20e5151b866945f802b0c2312f0f82 to < ce24c8493ed5c1a314c00c45d1d8c0468d655505affectedadae20cb2d20e5151b866945f802b0c2312f0f82 to < 40c07f3c35702cded08842c1c5bf341a5e0c138faffectedadae20cb2d20e5151b866945f802b0c2312f0f82 to < af00aff64601baa15f40474b827487d547623a20affectedadae20cb2d20e5151b866945f802b0c2312f0f82 to < 04ecec80d34454fedbb6c0e53a2611523c6f0b76affectedadae20cb2d20e5151b866945f802b0c2312f0f82 to < 2c1eff1ee9d3f6ff3f063952429993edbf2bc97eaffectedadae20cb2d20e5151b866945f802b0c2312f0f82 to < f0cf5a24cefeb629876bd15d668ff062c8655e28affected
Linux Linux
Default version status: affected
3.19affected0 to < 3.19unaffected5.10.276 to ≤ 5.10.*unaffected5.15.227 to ≤ 5.15.*unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/ce24c8493ed5c1a314c00c45d1d8c0468d655505 ↗
- https://git.kernel.org/stable/c/40c07f3c35702cded08842c1c5bf341a5e0c138f ↗
- https://git.kernel.org/stable/c/af00aff64601baa15f40474b827487d547623a20 ↗
- https://git.kernel.org/stable/c/04ecec80d34454fedbb6c0e53a2611523c6f0b76 ↗
- https://git.kernel.org/stable/c/2c1eff1ee9d3f6ff3f063952429993edbf2bc97e ↗
- https://git.kernel.org/stable/c/f0cf5a24cefeb629876bd15d668ff062c8655e28 ↗