From: Dan Carpenter <error27@gmail.com>
To: Anthony Liu <anthony.liu@mediatek.com>
Cc: nbd@nbd.name, lorenzo@kernel.org, Sean.Wang@mediatek.com,
Leon.Yen@mediatek.com, Quan.Zhou@mediatek.com,
Ryder.lee@mediatek.com, litien.chang@mediatek.com,
kun.wu@mediatek.com, jb.tsai@mediatek.com,
emery.hsin@mediatek.com, linux-arm-kernel@lists.infradead.org,
ingyujang25@korea.ac.kr, shayne.chen@mediatek.com,
angelogioacchino.delregno@collabora.com,
lucid_duck@justthetip.ca, matthias.bgg@gmail.com,
eason.lai@mediatek.com, linux-wireless@vger.kernel.org,
linux-mediatek@lists.infradead.org,
kernel test robot <lkp@intel.com>
Subject: Re: [PATCH v2] mt76: fix buffer overrun in pkt buffer
Date: Fri, 30 Oct 2026 13:18:52 +0300 [thread overview]
Message-ID: <auRvDN1KPy_qhb_B@stanley.mountain> (raw)
In-Reply-To: <bb9c40516e7379bf763b1ba7cec228c354494223.1793351111.git.anthony.liu@mediatek.com>
On Fri, Oct 30, 2026 at 05:05:54PM +0800, Anthony Liu wrote:
> The last patch (d4e5ca3483a0) addresses mt7928 F/W 4 byte-aligment
> requirement by reducing pkt buffer by 2 bytes, causing the chance
> of buffer overrun.
>
> This patch reduces incoming skb length limit accordingly.
>
> Fixes: d4e5ca3483a0 ("wifi: mt76: mt7928: makes struct beacon_tlv 4-byte aligned.")
> Signed-off-by: Anthony Liu <anthony.liu@mediatek.com>
> Reported-by: kernel test robot <lkp@intel.com>
> Reported-by: Dan Carpenter <error27@gmail.com>
> Reviewed-by: Dan Carpenter <error27@gmail.com>
> Closes: https://lore.kernel.org/r/202610172141.mmRmGqow-lkp@intel.com/
> ---
Thanks!
regards,
dan carpenter
prev parent reply other threads:[~2026-10-30 10:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <auQjsDPP1PeJg5sV@stanley.mountain>
2026-10-30 9:05 ` [PATCH v2] mt76: fix buffer overrun in pkt buffer Anthony Liu
2026-10-30 10:18 ` Dan Carpenter [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=auRvDN1KPy_qhb_B@stanley.mountain \
--to=error27@gmail.com \
--cc=Leon.Yen@mediatek.com \
--cc=Quan.Zhou@mediatek.com \
--cc=Ryder.lee@mediatek.com \
--cc=Sean.Wang@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=anthony.liu@mediatek.com \
--cc=eason.lai@mediatek.com \
--cc=emery.hsin@mediatek.com \
--cc=ingyujang25@korea.ac.kr \
--cc=jb.tsai@mediatek.com \
--cc=kun.wu@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=litien.chang@mediatek.com \
--cc=lkp@intel.com \
--cc=lorenzo@kernel.org \
--cc=lucid_duck@justthetip.ca \
--cc=matthias.bgg@gmail.com \
--cc=nbd@nbd.name \
--cc=shayne.chen@mediatek.com \
/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