In the Linux kernel, the following vulnerability has been resolved: dm-crypt: reject integrity_key_size with non-authenc AEAD ciphers When integrity_key_size parameter is paired with a pure AEAD cipher that is not an authenc composite, crypt_ctr_auth_cipher() returns 0 early without allocating cc->authenc_key, but cc->key_mac_size remains non-zero because CRYPT_KEY_MAC_SIZE_SET was set during option parsing. As a result crypt_copy_authenckey() dereferences NULL crashes the kernel. Reject the contradictory configuration explicitly instead of silently returning 0, so userspace gets a clear -EINVAL.
https://git.kernel.org/stable/c/e754c0e6f609758d6c8bb3eef131d792b01641d0
https://git.kernel.org/stable/c/bd93c4e59c5132282c01f142806e307c7380e7ea
https://git.kernel.org/stable/c/6ae0c2c9469571ec315902b3ecba64cba79501c7
https://git.kernel.org/stable/c/5e56ce2fc11793962012da290bf709d7da7d8371