[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176120306155.174442.12328338821059704795.b4-ty@bootlin.com>
Date: Thu, 23 Oct 2025 09:04:21 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: richard@....at, vigneshr@...com, niravkumarlaxmidas.rabara@...era.com
Cc: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] mtd: rawnand: cadence: fix DMA device NULL pointer
dereference
On Thu, 23 Oct 2025 11:32:01 +0800, niravkumarlaxmidas.rabara@...era.com wrote:
> The DMA device pointer `dma_dev` was being dereferenced before ensuring
> that `cdns_ctrl->dmac` is properly initialized.
>
> Move the assignment of `dma_dev` after successfully acquiring the DMA
> channel to ensure the pointer is valid before use.
>
>
> [...]
Applied to mtd/fixes, thanks!
[1/1] mtd: rawnand: cadence: fix DMA device NULL pointer dereference
commit: 5c56bf214af85ca042bf97f8584aab2151035840
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl
Powered by blists - more mailing lists