From: Vinod Koul <vkoul@kernel.org>
To: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Swapnil Jakhade <sjakhade@cadence.com>,
linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [PATCH] phy: ti: Fix "BUG: KASAN: global-out-of-bounds in _get_maxdiv" issue
Date: Sun, 23 Jan 2022 17:17:53 +0530 [thread overview]
Message-ID: <Ye1AaZnnjWFZXvWK@matsya> (raw)
In-Reply-To: <20220117110108.4117-1-kishon@ti.com>
On 17-01-22, 16:31, Kishon Vijay Abraham I wrote:
> _get_table_maxdiv() tries to access "clk_div_table" array out of bound
> defined in phy-j721e-wiz.c. Add a sentinel entry to prevent
> the following global-out-of-bounds error reported by enabling KASAN.
Applied, thanks
--
~Vinod
WARNING: multiple messages have this Message-ID (diff)
From: Vinod Koul <vkoul@kernel.org>
To: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Swapnil Jakhade <sjakhade@cadence.com>,
linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [PATCH] phy: ti: Fix "BUG: KASAN: global-out-of-bounds in _get_maxdiv" issue
Date: Sun, 23 Jan 2022 17:17:53 +0530 [thread overview]
Message-ID: <Ye1AaZnnjWFZXvWK@matsya> (raw)
In-Reply-To: <20220117110108.4117-1-kishon@ti.com>
On 17-01-22, 16:31, Kishon Vijay Abraham I wrote:
> _get_table_maxdiv() tries to access "clk_div_table" array out of bound
> defined in phy-j721e-wiz.c. Add a sentinel entry to prevent
> the following global-out-of-bounds error reported by enabling KASAN.
Applied, thanks
--
~Vinod
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
next prev parent reply other threads:[~2022-01-23 11:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-17 11:01 [PATCH] phy: ti: Fix "BUG: KASAN: global-out-of-bounds in _get_maxdiv" issue Kishon Vijay Abraham I
2022-01-17 11:01 ` Kishon Vijay Abraham I
2022-01-23 11:47 ` Vinod Koul [this message]
2022-01-23 11:47 ` Vinod Koul
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=Ye1AaZnnjWFZXvWK@matsya \
--to=vkoul@kernel.org \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=sjakhade@cadence.com \
--cc=stable@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.