From: patchwork-bot+netdevbpf@kernel.org
To: Wei Jie Law <law.wei.jie@gt.tech.gov.sg>
Cc: Thangaraj.S@microchip.com, UNGLinuxDriver@microchip.com,
andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
kuba@kernel.org, pabeni@redhat.com, woojung.huh@microchip.com,
netdev@vger.kernel.org, linux-usb@vger.kernel.org,
linux-kernel@vger.kernel.org, 98lawweijie@gmail.com
Subject: Re: [PATCH net-next v5 0/2] net: usb: lan78xx: do not use uninitialized data after short reads
Date: Sat, 14 Nov 2026 00:40:08 +0000 [thread overview]
Message-ID: <179461680827.1918448.12775877038726661990.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261111013454.34542-1-law.wei.jie@gt.tech.gov.sg>
Hello:
This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 11 Nov 2026 09:34:52 +0800 you wrote:
> lan78xx_read_reg() and lan78xx_read_stats() accept a control transfer
> that returns fewer bytes than requested and then use the uninitialized
> rest of their kmalloc()ed buffers. A device that sends short replies can
> get stale heap contents used as the MAC address of the interface, and makes
> ethtool -S report them to unprivileged users, including kernel text and
> direct map pointers.
>
> [...]
Here is the summary with links:
- [net-next,v5,1/2] net: usb: lan78xx: do not update statistics after a failed read
https://git.kernel.org/netdev/net-next/c/faf25c2bc6af
- [net-next,v5,2/2] net: usb: lan78xx: reject short register and statistics transfers
https://git.kernel.org/netdev/net-next/c/ecb8113b5b32
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-11-14 0:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-11 1:34 [PATCH net-next v5 0/2] net: usb: lan78xx: do not use uninitialized data after short reads Wei Jie Law
2026-11-11 1:34 ` [PATCH net-next v5 1/2] net: usb: lan78xx: do not update statistics after a failed read Wei Jie Law
2026-11-11 1:34 ` [PATCH net-next v5 2/2] net: usb: lan78xx: reject short register and statistics transfers Wei Jie Law
2026-11-14 0:32 ` [PATCH net-next v5 0/2] net: usb: lan78xx: do not use uninitialized data after short reads Jakub Kicinski
2026-11-14 0:40 ` patchwork-bot+netdevbpf [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=179461680827.1918448.12775877038726661990.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=98lawweijie@gmail.com \
--cc=Thangaraj.S@microchip.com \
--cc=UNGLinuxDriver@microchip.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=kuba@kernel.org \
--cc=law.wei.jie@gt.tech.gov.sg \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=woojung.huh@microchip.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