Re: [PATCH v2 RESEND] mtd: afs: validate v2 image info bounds

Miquel Raynal <[email protected]> Mon, 13 Jul 2026 19:03:07 +0200
Newsgroups gmane.linux.kernel.stable,gmane.linux.drivers.mtd,gmane.linux.kernel
Message-ID <[email protected]>
Hi Linus,

> I don't know if this is stable material. No-one is running into any
> regressions, I think this was discovered by code analysis and
> is mostly theoretical problems.

Thanks for the detailed analysis, I also feel like many of these patches
do not fix actual regression, but I am inclined to take them as long as
they do not darken too much the code. In this case, except the very last
change, I am hesitating.

Shall Pengeng extract the last bit (which is useful) and drop the rest?

Thanks,
Miquèl