All of lore.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] c53a16: emulator: bthost: don't crash on ecred_conn_req wi...
@ 2026-08-31 20:45 Pauli Virtanen
  0 siblings, 0 replies; only message in thread
From: Pauli Virtanen @ 2026-08-31 20:45 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: c53a16afa33dc1afc0b1c5540191a563c4b4a8ec
      https://github.com/bluez/bluez/commit/c53a16afa33dc1afc0b1c5540191a563c4b4a8ec
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2026-08-31 (Mon, 31 Aug 2026)

  Changed paths:
    M emulator/bthost.c

  Log Message:
  -----------
  emulator: bthost: don't crash on ecred_conn_req with too many scid

l2cap_ecred_conn_req() crashes if the request contains more SCID than
specification allows (5).

Respond 0x000C - All connections refused – invalid parameters to such
invalid requests.


  Commit: 0b66bd5335d068e4ec11333a36768fc7f4e9f871
      https://github.com/bluez/bluez/commit/0b66bd5335d068e4ec11333a36768fc7f4e9f871
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2026-08-31 (Mon, 31 Aug 2026)

  Changed paths:
    M tools/l2cap-tester.c

  Log Message:
  -----------
  tools/l2cap-tester: add test for too many ECRED deferred sockets

Add test tries to trigger connection with 5+1 ECRED channels, and
require the last connect() shall fail with -EPROTO.  On some kernels
this causes invalid ECRED REQ be sent with 6 SCID, and stack overwrite.

L2CAP Ext-Flowctl Client - Defer limit


  Commit: d52d9a173a5fd0bec9e38bbfba29da622792a1b9
      https://github.com/bluez/bluez/commit/d52d9a173a5fd0bec9e38bbfba29da622792a1b9
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2026-08-31 (Mon, 31 Aug 2026)

  Changed paths:
    M emulator/bthost.c
    M emulator/bthost.h

  Log Message:
  -----------
  emulator: bthost: add function for sending raw L2CAP sig commands

Add bthost_l2cap_sig_raw() that tests can use to send raw L2CAP
signaling commands.


  Commit: 3a2d543c4c21d9c1dab246d46d76a11996a69bf2
      https://github.com/bluez/bluez/commit/3a2d543c4c21d9c1dab246d46d76a11996a69bf2
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2026-08-31 (Mon, 31 Aug 2026)

  Changed paths:
    M tools/l2cap-tester.c

  Log Message:
  -----------
  tools/l2cap-server: add test for invalid Conn Req on Ext-Flowctl server

Add test that checks Ext-Flowctl server handles invalid connection
requests with ident collisions. This triggers null-deref crash / hang on
some kernel versions.

L2CAP Ext-Flowctl Server - Nval Conn Req


Compare: https://github.com/bluez/bluez/compare/e8141342284b...3a2d543c4c21

To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-31 20:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-31 20:45 [bluez/bluez] c53a16: emulator: bthost: don't crash on ecred_conn_req wi Pauli Virtanen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.