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

From: Andy Shevchenko

Date: Mon Feb 09 2026 - 03:45:37 EST


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?

--
With Best Regards,
Andy Shevchenko