[PATCH AUTOSEL 6.6 09/11] drm/amd: Fix UBSAN array-index-out-of-bounds for Powerplay headers

Pavel Machek pavel at ucw.cz
Tue Nov 14 09:31:21 UTC 2023


Hi!

> > > From: Alex Deucher <alexander.deucher at amd.com>
> > > 
> > > [ Upstream commit 49afe91370b86566857a3c2c39612cf098110885 ]
> > > 
> > > For pptable structs that use flexible array sizes, use flexible arrays.
> > > 
> > > Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2039926
> > > Reviewed-by: Mario Limonciello <mario.limonciello at amd.com>
> > > Acked-by: Christian König <christian.koenig at amd.com>
> > > Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> > > Signed-off-by: Sasha Levin <sashal at kernel.org>
> > 
> > I don't think any of these UBSAN flexible array changes are stable material.
> 
> I'll drop it, but in general we've been taking kasan/ubsan/kcsan/...
> annotation fixes since it enables (easier) testing on the LTS trees, and
> for example finding issues specific to those LTS trees.

I believe they should not be in stable, either.

In any case, Documentation/process/stable-kernel-rules.rst should be
updated, because it contradicts current practice.

Best regards,
								Pavel
-- 
People of Russia, stop Putin before his war on Ukraine escalates.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20231114/4bc9c766/attachment-0001.sig>


More information about the amd-gfx mailing list