Re: Bug#1121535: UBSAN: array-index-out-of-bounds in [...]sound/pci/ctxfi/ctamixer.c:347:48

Karsten Hohmeier
2025-12-26T17:39:20Z

Hello. I am another affected user.
I applied the suggested patch by Takeshi on top of 6.18.2 (in case it got already fixed).

But this just gives

> Dez 26 17:24:13: dtest kernel: UBSAN: array-index-out-of-bounds in sound/pci/ctxfi/ctamixer.c:344:48
> Dez 26 17:24:13: dtest kernel: index 10 is out of range for type 'unsigned char [9]'

as the error. Making the struct even larger gives

> Dez 26 17:39:35 dtest kernel: UBSAN: array-index-out-of-bounds in sound/pci/ctxfi/ctamixer.c:344:48
> Dez 26 17:39:35 dtest kernel: index 32 is out of range for type 'unsigned char [32]'

Could you take another look?

Regards

Karsten