public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] 36962e: gatt-client: fix use-after-free
@ 2026-01-08 10:27 dalegaard
  0 siblings, 0 replies; only message in thread
From: dalegaard @ 2026-01-08 10:27 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/1039830
  Home:   https://github.com/bluez/bluez
  Commit: 36962eb519785db34582aeaca7b86de06c7151c1
      https://github.com/bluez/bluez/commit/36962eb519785db34582aeaca7b86de06c7151c1
  Author: Lasse Dalegaard <dalegaard@gmail.com>
  Date:   2026-01-08 (Thu, 08 Jan 2026)

  Changed paths:
    M src/gatt-client.c

  Log Message:
  -----------
  gatt-client: fix use-after-free

Clients with an acquired characteristic subscription would free the
client during disconnect. When notify_io_destroy then tries to remove
the client, it'll use-after-free.

Add another reference when allocating the notify_io and unref it again
in notify_io_destroy.


  Commit: a1661374ddb955ea63ac5da6f0fa5c33d3ef6cf0
      https://github.com/bluez/bluez/commit/a1661374ddb955ea63ac5da6f0fa5c33d3ef6cf0
  Author: Lasse Dalegaard <dalegaard@gmail.com>
  Date:   2026-01-08 (Thu, 08 Jan 2026)

  Changed paths:
    M src/device.c

  Log Message:
  -----------
  device: fix memory leak

device_add_eir_uuids creates a list of added UUIDs, but it was never
freed.


Compare: https://github.com/bluez/bluez/compare/36962eb51978%5E...a1661374ddb9

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-01-08 10:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-08 10:27 [bluez/bluez] 36962e: gatt-client: fix use-after-free dalegaard

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