Description
In the Linux kernel, the following vulnerability has been resolved: crypto: authencesn - reject short ahash digests during instance creation authencesn requires either a zero authsize or an authsize of at least 4 bytes because the ESN encrypt/decrypt paths always move 4 bytes of high-order sequence number data at the end of the authenticated data. While crypto_authenc_esn_setauthsize() already rejects explicit non-zero authsizes in the range 1..3, crypto_authenc_esn_create() still copied auth->digestsize into inst->alg.maxauthsize without validating it. The AEAD core then initialized the tfm's default authsize from that value. As a result, selecting an ahash with digest size 1..3, such as cbcmac(cipher_null), exposed authencesn instances whose default authsize was invalid even though setauthsize() would have rejected the same value. AF_ALG could then trigger the ESN tail handling with a too-short tag and hit an out-of-bounds access. Reject authencesn instances whose ahash digest size is in the invalid non-zero range 1..3 so that no tfm can inherit an unsupported default authsize.
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
f15f05b0a5de667c821a9727c33bce9d1d9b26dd to < 77f59fb2d3aa33e90ec6cbbf45dcfb20ab82b1a9affectedf15f05b0a5de667c821a9727c33bce9d1d9b26dd to < 2f31cd1e64a079c845bca31d2da7b3c90a311726affectedf15f05b0a5de667c821a9727c33bce9d1d9b26dd to < d4c6a6d08e70bb1083c7c405fc7faacbf19aebc0affectedf15f05b0a5de667c821a9727c33bce9d1d9b26dd to < b69933e97efea238ebbfcf70c2b1be1cd03f13e3affectedf15f05b0a5de667c821a9727c33bce9d1d9b26dd to < 67f1f0933cc3d78dde222842bcad2778ec7a0b88affectedf15f05b0a5de667c821a9727c33bce9d1d9b26dd to < b42821c15445f93daea3e76ada682b2b7181c476affectedf15f05b0a5de667c821a9727c33bce9d1d9b26dd to < 9aff81e8217e9de2929084b03b3c7f81988c112baffectedf15f05b0a5de667c821a9727c33bce9d1d9b26dd to < 5db6ef9847717329f12c5ea8aba7e9f588a980c0affected
Linux Linux
Default version status: affected
4.11affected0 to < 4.11unaffected5.10.258 to ≤ 5.10.*unaffected5.15.209 to ≤ 5.15.*unaffected6.1.175 to ≤ 6.1.*unaffected6.6.140 to ≤ 6.6.*unaffected6.12.86 to ≤ 6.12.*unaffected6.18.27 to ≤ 6.18.*unaffected7.0.4 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/77f59fb2d3aa33e90ec6cbbf45dcfb20ab82b1a9 ↗
- https://git.kernel.org/stable/c/2f31cd1e64a079c845bca31d2da7b3c90a311726 ↗
- https://git.kernel.org/stable/c/d4c6a6d08e70bb1083c7c405fc7faacbf19aebc0 ↗
- https://git.kernel.org/stable/c/b69933e97efea238ebbfcf70c2b1be1cd03f13e3 ↗
- https://git.kernel.org/stable/c/67f1f0933cc3d78dde222842bcad2778ec7a0b88 ↗
- https://git.kernel.org/stable/c/b42821c15445f93daea3e76ada682b2b7181c476 ↗
- https://git.kernel.org/stable/c/9aff81e8217e9de2929084b03b3c7f81988c112b ↗
- https://git.kernel.org/stable/c/5db6ef9847717329f12c5ea8aba7e9f588a980c0 ↗
- https://access.redhat.com/security/cve/CVE-2026-46033 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=2482000 ↗
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46033.json ↗
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html ↗
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html ↗
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html ↗