Re: [PATCH 1/5] iio: proximity: hx9023s: fix out-of-bounds access when copying firmware

From: Jonathan Cameron

Date: Sat Feb 14 2026 - 12:24:51 EST


On Wed, 11 Feb 2026 00:35:19 +0800
Yasin Lee <yasin.lee.x@xxxxxxxxx> wrote:

> On Mon, Feb 9, 2026 at 4:45 PM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxx> wrote:
> >
> > On Mon, Feb 09, 2026 at 11:37:02AM +0800, Yasin Lee wrote:
> > > Initialize fw_size before copying firmware data into the flexible
> > > array member to match the __counted_by() annotation. This fixes a
> > > potential out-of-bounds access that could lead to a kernel crash.
> >
> > Fixes tag?
> >
>
> This is a proactive fix for an original implementation issue I found
> as maintainer.
Hi Yasin,

I think there is a misunderstanding here.

The fixes tag requested reflects which patch originally introduced
the code with the bug. Its separate from Closes tag for which your
reply makes more sense.

The aim of a fixes tag is is to allow stable and individual vendors
who might be carrying your driver to figure out how far back
to backport a fix.

Jonathan

>
> > --
> > With Best Regards,
> > Andy Shevchenko
> >
> >