{"id":"CVE-2026-93155","state":"PUBLISHED","title":"crypto: keembay - Fix AEAD unregister count in error path","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: keembay - Fix AEAD unregister count in error path\n\nregister_aes_algs() registers the AEAD algorithms before registering the\nskcipher algorithms.  If skcipher registration fails, the function unwinds\nthe earlier AEAD registration with crypto_engine_unregister_aeads(), but it\npasses ARRAY_SIZE(algs), which is the skcipher table size.\n\nUse ARRAY_SIZE(algs_aead) for the AEAD unwind path so the unregister helper\niterates over the same table that was registered.  Also clarify the nearby\ncomment: the crypto registration helpers clean up algorithms registered\nwithin the same call, while this function must still unwind earlier\nsuccessful registration steps.","publishedAt":"2026-09-17T16:11:50.792Z","updatedAt":"2026-10-30T12:36:09.918Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"88574332451380f4b51f6ca88ab9810e714bfb9b","status":"affected","lessThan":"ccfaccc35e5a911ec1748291ea505e03b1ac03d9","versionType":"git"},{"version":"88574332451380f4b51f6ca88ab9810e714bfb9b","status":"affected","lessThan":"27ec91c29ee155cc507b2f56221fc6fab65dbb51","versionType":"git"},{"version":"88574332451380f4b51f6ca88ab9810e714bfb9b","status":"affected","lessThan":"5607b101d86cbee8dd1ffab784495c880ca73383","versionType":"git"},{"version":"88574332451380f4b51f6ca88ab9810e714bfb9b","status":"affected","lessThan":"5bbb726d27ff6dff750264e51aa665538394d0f8","versionType":"git"},{"version":"88574332451380f4b51f6ca88ab9810e714bfb9b","status":"affected","lessThan":"a3217fe7998622728a53dff405615e0971949eaf","versionType":"git"},{"version":"88574332451380f4b51f6ca88ab9810e714bfb9b","status":"affected","lessThan":"e264401ce4776a288524e5b87593d4d864147115","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/intel/keembay/keembay-ocs-aes-core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.11","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/intel/keembay/keembay-ocs-aes-core.c"]}],"references":["https://git.kernel.org/stable/c/ccfaccc35e5a911ec1748291ea505e03b1ac03d9","https://git.kernel.org/stable/c/27ec91c29ee155cc507b2f56221fc6fab65dbb51","https://git.kernel.org/stable/c/5607b101d86cbee8dd1ffab784495c880ca73383","https://git.kernel.org/stable/c/5bbb726d27ff6dff750264e51aa665538394d0f8","https://git.kernel.org/stable/c/a3217fe7998622728a53dff405615e0971949eaf","https://git.kernel.org/stable/c/e264401ce4776a288524e5b87593d4d864147115"],"weaknesses":[],"ingestedAt":"2026-10-30T12:54:04.478Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/93xxx/CVE-2026-93155.json","commit":"1f312381e38164a43607eebab851b151dd16861e","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-93155","state":"PUBLISHED","datePublished":"2026-09-17T16:11:50.792Z","dateUpdated":"2026-10-30T12:36:09.918Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-17T16:02:15.089Z"},"containers":{"cna":{"title":"crypto: keembay - Fix AEAD unregister count in error path","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: keembay - Fix AEAD unregister count in error path\n\nregister_aes_algs() registers the AEAD algorithms before registering the\nskcipher algorithms.  If skcipher registration fails, the function unwinds\nthe earlier AEAD registration with crypto_engine_unregister_aeads(), but it\npasses ARRAY_SIZE(algs), which is the skcipher table size.\n\nUse ARRAY_SIZE(algs_aead) for the AEAD unwind path so the unregister helper\niterates over the same table that was registered.  Also clarify the nearby\ncomment: the crypto registration helpers clean up algorithms registered\nwithin the same call, while this function must still unwind earlier\nsuccessful registration steps."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"88574332451380f4b51f6ca88ab9810e714bfb9b","status":"affected","lessThan":"ccfaccc35e5a911ec1748291ea505e03b1ac03d9","versionType":"git"},{"version":"88574332451380f4b51f6ca88ab9810e714bfb9b","status":"affected","lessThan":"27ec91c29ee155cc507b2f56221fc6fab65dbb51","versionType":"git"},{"version":"88574332451380f4b51f6ca88ab9810e714bfb9b","status":"affected","lessThan":"5607b101d86cbee8dd1ffab784495c880ca73383","versionType":"git"},{"version":"88574332451380f4b51f6ca88ab9810e714bfb9b","status":"affected","lessThan":"5bbb726d27ff6dff750264e51aa665538394d0f8","versionType":"git"},{"version":"88574332451380f4b51f6ca88ab9810e714bfb9b","status":"affected","lessThan":"a3217fe7998622728a53dff405615e0971949eaf","versionType":"git"},{"version":"88574332451380f4b51f6ca88ab9810e714bfb9b","status":"affected","lessThan":"e264401ce4776a288524e5b87593d4d864147115","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/intel/keembay/keembay-ocs-aes-core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.11","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/intel/keembay/keembay-ocs-aes-core.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ccfaccc35e5a911ec1748291ea505e03b1ac03d9"},{"url":"https://git.kernel.org/stable/c/27ec91c29ee155cc507b2f56221fc6fab65dbb51"},{"url":"https://git.kernel.org/stable/c/5607b101d86cbee8dd1ffab784495c880ca73383"},{"url":"https://git.kernel.org/stable/c/5bbb726d27ff6dff750264e51aa665538394d0f8"},{"url":"https://git.kernel.org/stable/c/a3217fe7998622728a53dff405615e0971949eaf"},{"url":"https://git.kernel.org/stable/c/e264401ce4776a288524e5b87593d4d864147115"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:36:09.918Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.6.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.12.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.18.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"7.2.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}