[PATCH] mtd: rawnand: gpmi: Fix unintentional integer overflow

Miquel Raynal miquel.raynal at bootlin.com
Tue Nov 17 06:23:19 PST 2026


On Thu, 05 Nov 2026 11:59:35 +0200, Stefan Ghetu wrote:
> Cast block to loff_t before shifting, so that the shift is done in
> 64-bit arithmetic and the potential integer overflow is avoided.
> Reported by Coverity.
> 
> 

Applied to nand/next, thanks!

[1/1] mtd: rawnand: gpmi: Fix unintentional integer overflow
      commit: 3b955aa675345cf494a67f95f0cf91eff33c1866

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




More information about the linux-mtd mailing list