Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] monitor: validate Return Link Keys length before parsing (CVE-2026-105460)
@ 2026-10-27  1:31 contact
  2026-10-27  1:31 ` [PATCH 1/1] monitor: validate Return Link Keys length before parsing contact
  0 siblings, 1 reply; 3+ messages in thread
From: contact @ 2026-10-27  1:31 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Capsize Security

From: Capsize Security <contact@capsize.online>

Fixes public issue bluez/bluez#2687 (also filed as GitHub PR #2715 for
reference). return_link_keys_evt() loops over evt->num_keys entries of
22 bytes while the dispatcher only enforces plen >= 1; a crafted
btsnoop capture overflows the on-stack packet buffer (ASan-confirmed).
The patch rejects short payloads with the file's too-short-packet idiom.

Verified: pristine btmon + crafted capture -> ASan stack-buffer-overflow;
patched btmon -> clean reject, exit 0; boundary matrix + unit checks pass.

Assisted-by: Muse-Code:muse-spark
---

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-27  3:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-27  1:31 [PATCH] monitor: validate Return Link Keys length before parsing (CVE-2026-105460) contact
2026-10-27  1:31 ` [PATCH 1/1] monitor: validate Return Link Keys length before parsing contact
2026-10-27  3:19   ` [1/1] " bluez.test.bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox