Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143015

dm-crypt: reject integrity_key_size with non-authenc AEAD ciphers

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 4441686b24a1d7acf9834ca95864d67e3f97666a to < e754c0e6f609758d6c8bb3eef131d792b01641d0affected
  • 4441686b24a1d7acf9834ca95864d67e3f97666a to < 6ae0c2c9469571ec315902b3ecba64cba79501c7affected
  • 4441686b24a1d7acf9834ca95864d67e3f97666a to < 5e56ce2fc11793962012da290bf709d7da7d8371affected
  • 4441686b24a1d7acf9834ca95864d67e3f97666a to < bd93c4e59c5132282c01f142806e307c7380e7eaaffected

Linux Linux

Default version status: affected

  • 6.12affected
  • 0 to < 6.12unaffected
  • 6.12.120 to ≤ 6.12.*unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc3 to ≤ *unaffected

References