Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: validate LTK enc_size on load Load Long Term Keys stores the user-provided enc_size and later uses it to size fixed-size stack operations when replying to LE LTK requests. An enc_size larger than the 16-byte key buffer can therefore overflow the reply stack buffer. Reject oversized enc_size values while validating the management LTK record so invalid keys never reach the stored key state.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 346af67b8d116f01ef696fd47959a55deb2db8b6 before 0f37d1e65c6d71ad94ccfb5c602163c525db789d; affected 346af67b8d116f01ef696fd47959a55deb2db8b6 before 257cdb960d8ff6d60bb6461b03c814b6cf0c9e64; affected 346af67b8d116f01ef696fd47959a55deb2db8b6 before c34577f517b556fb6ca173d45bf7e766ae2564ce; affected 346af67b8d116f01ef696fd47959a55deb2db8b6 before f71695e81f4cb428f3c7e2138eae88199005b52c; affected 346af67b8d116f01ef696fd47959a55deb2db8b6 before 82f342b3b006ca1d65f4890c05f2ec32fcb808b6; affected 346af67b8d116f01ef696fd47959a55deb2db8b6 before 50fb64defa72a3fecd0af1ca7c6b47b5c5c2b257; affected 346af67b8d116f01ef696fd47959a55deb2db8b6 before 40ba329e8b4cd2fb11b0caf5e6a543ceaebb6009; affected 346af67b8d116f01ef696fd47959a55deb2db8b6 before b8dbe9648d69059cfe3a28917bfbf7e61efd7f15 |
| Linux / Linux | affected 3.4; unaffected 0 before 3.4; unaffected 5.10.253 through 5.10.*; unaffected 5.15.203 through 5.15.*; unaffected 6.1.168 through 6.1.*; unaffected 6.6.134 through 6.6.*; unaffected 6.12.81 through 6.12.*; unaffected 6.18.22 through 6.18.*; unaffected 6.19.12 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/0f37d1e65c6d71ad94ccfb5c602163c525db789d
- https://git.kernel.org/stable/c/257cdb960d8ff6d60bb6461b03c814b6cf0c9e64
- https://git.kernel.org/stable/c/c34577f517b556fb6ca173d45bf7e766ae2564ce
- https://git.kernel.org/stable/c/f71695e81f4cb428f3c7e2138eae88199005b52c
- https://git.kernel.org/stable/c/82f342b3b006ca1d65f4890c05f2ec32fcb808b6
- https://git.kernel.org/stable/c/50fb64defa72a3fecd0af1ca7c6b47b5c5c2b257
- https://git.kernel.org/stable/c/40ba329e8b4cd2fb11b0caf5e6a543ceaebb6009
- https://git.kernel.org/stable/c/b8dbe9648d69059cfe3a28917bfbf7e61efd7f15