Re: [PATCH] net/ncsi: fix heap OOB read in NCSI_CMD_SEND_CMD payload length

[email protected]
Newsgroups org.kernel.vger.netdev
Message-ID <178597620539.577272.4729655307092478580.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

On Mon,  3 Aug 2026 12:36:18 +0800 you wrote:
> ncsi_send_cmd_nl() takes the number of bytes to copy from the
> attacker-controlled ncsi_pkt_hdr.length field of the in-band packet
> header, while the source buffer is the NCSI_ATTR_DATA netlink
> attribute whose readable size is nla_len() - sizeof(ncsi_pkt_hdr).
> The two length sources are never cross-checked: only
> nla_len() >= sizeof(struct ncsi_pkt_hdr) is enforced.
> 
> [...]

Here is the summary with links:
  - net/ncsi: fix heap OOB read in NCSI_CMD_SEND_CMD payload length
    https://git.kernel.org/netdev/net/c/afa58b738491

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.