The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Praneeth Balasubramanian <praneethb2002@gmail.com>
To: Marcel Holtmann <marcel@holtmann.org>,
	Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: Praneeth Balasubramanian <praneethb2002@gmail.com>,
	linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] Bluetooth: fix an ISO skb double free and coredump locking
Date: Fri,  4 Dec 2026 22:36:08 -0800	[thread overview]
Message-ID: <20261205063610.2523018-1-praneethb2002@gmail.com> (raw)

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


             reply	other threads:[~2026-12-05  6:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-05  6:36 Praneeth Balasubramanian [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261205063610.2523018-1-praneethb2002@gmail.com \
    --to=praneethb2002@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    --cc=marcel@holtmann.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox