[PATCH] arm64/crc-t10dif: fix use of out-of-scope array in crc_t10dif_arch()

Eric Biggers ebiggers at kernel.org
Thu Mar 27 09:41:52 PDT 2025


On Wed, Mar 26, 2025 at 01:09:18PM -0700, Eric Biggers wrote:
> From: Eric Biggers <ebiggers at google.com>
> 
> Fix a silly bug where an array was used outside of its scope.
> 
> Fixes: 2051da858534 ("arm64/crc-t10dif: expose CRC-T10DIF function through lib")
> Cc: stable at vger.kernel.org
> Reported-by: David Binderman <dcb314 at hotmail.com>
> Closes: https://lore.kernel.org/r/AS8PR02MB102170568EAE7FFDF93C8D1ED9CA62@AS8PR02MB10217.eurprd02.prod.outlook.com
> Signed-off-by: Eric Biggers <ebiggers at google.com>
> ---
>  arch/arm64/lib/crc-t10dif-glue.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Applied to https://web.git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=crc-next

- Eric



More information about the linux-arm-kernel mailing list