From: patchwork-bot+bluetooth@kernel.org
To: Xiang Mei <xmei5@asu.edu>
Cc: brgl@kernel.org, marcel@holtmann.org, luiz.dentz@gmail.com,
johan+linaro@kernel.org, linux-bluetooth@vger.kernel.org,
linux-kernel@vger.kernel.org, bestswngs@gmail.com
Subject: Re: [PATCH bluetooth] Bluetooth: qca: fix NVM tag length underflow in TLV parser
Date: Tue, 07 Jul 2026 17:30:10 +0000 [thread overview]
Message-ID: <178344541038.2101608.10046636030996083737.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260704231030.996390-1-xmei5@asu.edu>
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Sat, 4 Jul 2026 16:10:30 -0700 you wrote:
> In the TLV_TYPE_NVM branch of qca_tlv_check_data() the tag loop bound is
> "while (idx < length - sizeof(struct tlv_type_nvm))". "length" is a signed
> int from the firmware TLV header and sizeof(struct tlv_type_nvm) is a
> size_t (12), so "length" is converted to size_t and any firmware-supplied
> "length" < 12 makes the subtraction wrap to a huge value. The loop body
> then reads a 12-byte struct tlv_type_nvm past the end of the short
> vmalloc'd firmware buffer (and the EDL_TAG_ID_* handlers can write past it).
>
> [...]
Here is the summary with links:
- Bluetooth: qca: fix NVM tag length underflow in TLV parser
https://git.kernel.org/bluetooth/bluetooth-next/c/198bd312df38
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-07-07 17:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-04 23:10 [PATCH bluetooth] Bluetooth: qca: fix NVM tag length underflow in TLV parser Xiang Mei
2026-07-05 9:41 ` Johan Hovold
2026-07-07 17:55 ` Xiang Mei
2026-07-08 14:21 ` Johan Hovold
2026-07-08 15:15 ` Luiz Augusto von Dentz
2026-07-09 11:06 ` Johan Hovold
2026-07-06 9:39 ` Bartosz Golaszewski
2026-07-07 17:30 ` patchwork-bot+bluetooth [this message]
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=178344541038.2101608.10046636030996083737.git-patchwork-notify@kernel.org \
--to=patchwork-bot+bluetooth@kernel.org \
--cc=bestswngs@gmail.com \
--cc=brgl@kernel.org \
--cc=johan+linaro@kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.org \
--cc=xmei5@asu.edu \
/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