[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210318132323.GG5469@sirena.org.uk>
Date: Thu, 18 Mar 2021 13:23:23 +0000
From: Mark Brown <broonie@...nel.org>
To: Amit Kumar Mahapatra <amit.kumar-mahapatra@...inx.com>
Cc: linux-spi@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, git@...inx.com,
Karen Dombroski <karen.dombroski@...sbioimaging.com>
Subject: Re: [PATCH 2/2] spi: spi-zynq-qspi: Fix stack violation bug
On Thu, Mar 18, 2021 at 04:24:46AM -0600, Amit Kumar Mahapatra wrote:
> When the number of bytes for the op is greater than one, the read could
> run off the end of the function stack and cause a crash.
> This patch restores the behaviour of safely reading out of the original
> opcode location.
> Kernel panic - not syncing: stack-protector: Kernel stack is corrupted
> in: zynq_qspi_exec_mem_op+0x1c0/0x2e0
> CPU1: stopping
Please think hard before including complete backtraces in upstream
reports, they are very large and contain almost no useful information
relative to their size so often obscure the relevant content in your
message. If part of the backtrace is usefully illustrative (it often is
for search engines if nothing else) then it's usually better to pull out
the relevant sections.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists