Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

Pull arm64 regression fix from Will Deacon:
"Ard found a nasty arm64 regression in 4.18 where the AES ghash/gcm
code doesn't notify the kernel about its use of the vector registers,
therefore potentially corrupting live user state.

The fix is straightforward and Herbert agreed for it to go via arm64"

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
crypto/arm64: aes-ce-gcm - add missing kernel_neon_begin/end pair

+6 -2
+6 -2
arch/arm64/crypto/ghash-ce-glue.c
··· 488 488 err = skcipher_walk_done(&walk, 489 489 walk.nbytes % AES_BLOCK_SIZE); 490 490 } 491 - if (walk.nbytes) 492 - pmull_gcm_encrypt_block(iv, iv, NULL, 491 + if (walk.nbytes) { 492 + kernel_neon_begin(); 493 + pmull_gcm_encrypt_block(iv, iv, ctx->aes_key.key_enc, 493 494 num_rounds(&ctx->aes_key)); 495 + kernel_neon_end(); 496 + } 497 + 494 498 } else { 495 499 __aes_arm64_encrypt(ctx->aes_key.key_enc, tag, iv, 496 500 num_rounds(&ctx->aes_key));