Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 0/2] Bluetooth: fix an ISO skb double free and coredump locking
@ 2026-12-05  6:36 Praneeth Balasubramanian
  2026-12-05  6:36 ` [PATCH 1/2] Bluetooth: btusb: Fix double free of ISO skb when reset races disconnect Praneeth Balasubramanian
  2026-12-05  6:36 ` [PATCH 2/2] Bluetooth: btintel: hold req_lock when triggering coredump Praneeth Balasubramanian
  0 siblings, 2 replies; 3+ messages in thread
From: Praneeth Balasubramanian @ 2026-12-05  6:36 UTC (permalink / raw)
  To: Marcel Holtmann, Luiz Augusto von Dentz
  Cc: Praneeth Balasubramanian, linux-bluetooth, linux-kernel

These 2 patches fix bugs that an LLM-based audit found. The audit checks
code against the rules stated in kernel comments, such as "the caller
must hold this lock" or "drop the reference when done". Each changelog
explains the rule and the path that breaks it.

The patches are independent of each other, and each one can be applied
on its own. They are against next-20261204 and also apply to mainline
(007722b8211f).

None of them was runtime-tested. There is no reproducer, and I do not
have the hardware. Each one builds without new warnings with W=1, and
checkpatch.pl is clean. Details are below the --- of each patch.

Tools: GLM-5.3 drafted the fixes and changelogs. Claude Opus 5.5 checked
each one against the source and rewrote parts where needed. I reviewed
every patch.

Praneeth Balasubramanian (2):
  Bluetooth: btusb: Fix double free of ISO skb when reset races
    disconnect
  Bluetooth: btintel: hold req_lock when triggering coredump

 drivers/bluetooth/btintel.c    | 3 +++
 drivers/bluetooth/btusb_main.c | 4 +---
 2 files changed, 4 insertions(+), 3 deletions(-)


base-commit: 29beb21c21ada7207692b2d69fc58dcd15dab6e9
-- 
2.25.1


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

end of thread, other threads:[~2026-12-05  6:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-05  6:36 [PATCH 0/2] Bluetooth: fix an ISO skb double free and coredump locking Praneeth Balasubramanian
2026-12-05  6:36 ` [PATCH 1/2] Bluetooth: btusb: Fix double free of ISO skb when reset races disconnect Praneeth Balasubramanian
2026-12-05  6:36 ` [PATCH 2/2] Bluetooth: btintel: hold req_lock when triggering coredump Praneeth Balasubramanian

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