Keenan Dong
b8dbe9648d
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.
Fixes: 346af67b8d ("Bluetooth: Add MGMT handlers for dealing with SMP LTK's")
Reported-by: Keenan Dong <keenanat2000@gmail.com >
Signed-off-by: Keenan Dong <keenanat2000@gmail.com >
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com >
2026-04-01 16:46:09 -04:00
..
2025-07-10 15:27:32 -07:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-03-14 08:05:47 -07:00
2026-02-21 17:09:51 -08:00
2026-03-18 17:41:00 -07:00
2026-04-01 16:46:09 -04:00
2026-02-21 17:09:51 -08:00
2026-03-31 16:11:24 +02:00
2026-02-21 17:09:51 -08:00
2026-03-19 17:16:02 +01:00
2026-03-11 10:18:56 +01:00
2026-03-30 17:35:21 -07:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2025-11-04 12:36:51 +01:00
2026-02-21 17:09:51 -08:00
2026-03-16 19:29:45 -07:00
2026-02-21 20:03:00 -08:00
2026-02-21 01:02:28 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-03-24 15:16:28 +01:00
2026-03-31 15:44:29 -07:00
2026-02-21 17:09:51 -08:00
2026-02-23 17:26:55 -08:00
2026-03-24 15:16:28 +01:00
2026-02-21 17:09:51 -08:00
2025-04-15 17:54:56 -07:00
2026-02-21 01:02:28 -08:00
2026-02-21 01:02:28 -08:00
2026-03-18 09:09:58 +01:00
2026-03-16 19:29:45 -07:00
2026-03-10 11:38:36 +01:00
2026-03-26 18:32:14 -07:00
2026-03-31 18:58:37 -07:00
2026-03-06 17:34:48 -08:00
2026-03-26 13:28:17 +01:00
2026-02-21 17:09:51 -08:00
2026-02-21 20:03:00 -08:00
2026-02-21 17:09:51 -08:00
2026-03-19 16:56:18 -07:00
2026-03-20 18:37:31 -07:00
2026-03-23 17:07:19 -07:00
2026-03-16 19:29:45 -07:00
2026-02-21 01:02:28 -08:00
2026-02-26 08:00:13 -08:00
2026-03-26 20:22:38 -07:00
2026-03-03 12:57:06 +01:00
2026-02-21 17:09:51 -08:00
2026-03-12 19:23:59 -07:00
2026-03-06 17:49:52 -08:00
2026-03-30 17:56:40 -07:00
2026-02-21 17:09:51 -08:00
2026-03-19 13:47:15 +01:00
2026-03-20 18:59:30 -07:00
2025-11-13 12:35:38 -08:00
2026-03-18 14:27:11 -07:00
2026-02-21 01:02:28 -08:00
2026-03-11 18:56:28 -07:00
2026-03-26 09:55:53 +01:00
2026-03-12 13:37:18 -07:00
2026-02-26 08:00:13 -08:00
2026-03-06 12:41:59 +01:00
2026-02-21 01:02:28 -08:00
2026-02-28 08:55:11 -08:00
2026-03-24 15:16:28 +01:00
2025-11-26 13:45:23 -07:00
2025-10-17 16:29:26 -07:00
2024-10-08 15:16:59 +02:00
2025-09-18 12:32:06 +02:00
2026-02-24 11:27:29 +01:00