From: I Viswanath <viswanathiyyappan@gmail.com>
To: Ilya Krutskih <devsec@tpz.ru>, sdl@secdev.space
Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, tglx@linutronix.de,
mingo@kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org,
lvc-project@linuxtesting.org
Subject: Re: [PATCH] net: fealnx: fixed possible out of band acces to an array
Date: Tue, 11 Nov 2025 21:52:50 +0530 [thread overview]
Message-ID: <fc82ba95-2c9c-454b-9d32-8f5639671822@gmail.com> (raw)
In-Reply-To: <20251110134423.432612-1-devsec@tpz.ru>
On 10/11/25 19:14, Ilya Krutskih wrote:
> fixed possible out of band access to an array
> If the fealnx_init_one() function is called more than MAX_UNITS times
> or card_idx is less than zero
The code already validates against the >= MAX_UNITS case and card_idx
can never be less than zero at those points under normal circumstances, making
this patch unnecessary.
However, card_idx will overflow with enough calls and that is something
that should probably be fixed
prev parent reply other threads:[~2025-11-11 16:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-10 13:44 [PATCH] net: fealnx: fixed possible out of band acces to an array Ilya Krutskih
2025-11-11 16:22 ` I Viswanath [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=fc82ba95-2c9c-454b-9d32-8f5639671822@gmail.com \
--to=viswanathiyyappan@gmail.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=devsec@tpz.ru \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lvc-project@linuxtesting.org \
--cc=mingo@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sdl@secdev.space \
--cc=stable@vger.kernel.org \
--cc=tglx@linutronix.de \
/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