From: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
To: jiale yao <19888972804@163.com>,
Jeff Johnson <jjohnson@kernel.org>,
John Crispin <john@phrozen.org>,
linux-wireless@vger.kernel.org, ath11k@lists.infradead.org,
linux-kernel@vger.kernel.org, ath12k@lists.infradead.org
Cc: Jiale Yao <jiale.yao@example.com>
Subject: Re: [PATCH 0/4] wifi: ath11k/ath12k: validate firmware array lengths
Date: Tue, 20 Oct 2026 06:53:44 -0700 [thread overview]
Message-ID: <520e2454-a0bb-45f7-b604-62492eb15a1d@oss.qualcomm.com> (raw)
In-Reply-To: <b573b6f.2196.1a1571bc45e.Coremail.19888972804@163.com>
On 10/19/2026 7:19 PM, jiale yao wrote:
> This patch series is superseded — please ignore it due to the incorrect sender name.
> New one is https://lore.kernel.org/lkml/20261019100506.1915181-1-yaojiale02@163.com
Please do not top post and don't send HTML e-mail since it is rejected by the
mailing lists. Please make sure you understand Linux Kernel e-mail etiquette.
You are close to going on my ignore list...
/jeff
> At 2026-10-19 18:00:25, "Jiale Yao" <yaojiale02@163.com> wrote:
>> From: Jiale Yao <jiale.yao@example.com>
>>
>> ath11k and ath12k consume two firmware-provided arrays without fully
>> validating their lengths. The service-ready-ext parser accepts fewer
>> extended regulatory capability entries than the separately reported PHY
>> count, while the ready-event parser trusts the reported extra MAC address
>> count without checking the fixed-structure array length.
>>
>> Malformed firmware data can therefore make both drivers read beyond the
>> corresponding TLV arrays. Add matching validation to each driver before
>> the arrays are indexed.
>>
>> The four patches are independent and each addresses one parsing path in
>> one driver.
>>
>> Jiale Yao (4):
>> wifi: ath11k: validate extended regulatory capability count
>> wifi: ath12k: validate extended regulatory capability count
>> wifi: ath11k: validate ready event MAC address array length
>> wifi: ath12k: validate ready event MAC address array length
>>
>> drivers/net/wireless/ath/ath11k/wmi.c | 10 ++++++++++
>> drivers/net/wireless/ath/ath12k/wmi.c | 10 ++++++++++
>> 2 files changed, 20 insertions(+)
>>
>> --
>> 2.34.1
next prev parent reply other threads:[~2026-10-20 13:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-19 10:00 Jiale Yao
2026-10-19 10:00 ` [PATCH 1/4] wifi: ath11k: validate extended regulatory capability count Jiale Yao
2026-10-19 10:00 ` [PATCH 2/4] wifi: ath12k: " Jiale Yao
2026-10-19 10:00 ` [PATCH 3/4] wifi: ath11k: validate ready event MAC address array length Jiale Yao
2026-10-19 10:00 ` [PATCH 4/4] wifi: ath12k: " Jiale Yao
2026-10-20 2:19 ` Re:[PATCH 0/4] wifi: ath11k/ath12k: validate firmware array lengths jiale yao
2026-10-20 13:53 ` Jeff Johnson [this message]
2026-10-19 10:05 [PATCH " Jiale Yao
2026-10-19 16:46 ` Jeff Johnson
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=520e2454-a0bb-45f7-b604-62492eb15a1d@oss.qualcomm.com \
--to=jeff.johnson@oss.qualcomm.com \
--cc=19888972804@163.com \
--cc=ath11k@lists.infradead.org \
--cc=ath12k@lists.infradead.org \
--cc=jiale.yao@example.com \
--cc=jjohnson@kernel.org \
--cc=john@phrozen.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.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
all inboxes | Powered by JetHome®