CVE-2026-80565: crypto: qce - fix error path in devm_qce_register_algs
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
crypto: qce - fix error path in devm_qce_register_algs
If ops->register_algs() fails, the error path repeatedly calls the same ops->unregister_algs() from the failed registration. Use the loop index to unregister the previously registered algorithms instead.
The Linux kernel CVE team has assigned CVE-2026-80565 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.10.235 with commit 9e403fea74ecbe6b4a4321f13bd4bc929382908d and fixed in 5.10.266 with commit dbca8b798caf47fb2799a26dd09c9ad66305883d Issue introduced in 5.15.179 with commit f52f00efd8c0088992ac07ef46af6096e4f0e52e and fixed in 5.15.217 with commit fef187c6194d67395182d58169dd14ba631f1b41 Issue introduced in 6.1.129 with commit 5d5b673b4dd260226b2202f66a920566c27051f3 and fixed in 6.1.184 with commit 1ece8e16c085e8cd60ecbdb641269aaa53d31da4 Issue introduced in 6.6.78 with commit e914b2f795b6995bb0e7db45caa4a912dca09e65 and fixed in 6.6.153 with commit de52c713d21806b93b00a6074056b57aec4f8919 Issue introduced in 6.12.14 with commit 76e6d50fa5a2fb466edcc8b513d7aad372312c2a and fixed in 6.12.105 with commit c7dc487aade12c692add3221673c9bdf32dc24f5 Issue introduced in 6.14 with commit e80cf84b608725303113d6fe98bb727bf7b7a40d and fixed in 6.18.46 with commit a134e4b8102c077286818ee112b9f925db613d4c Issue introduced in 6.14 with commit e80cf84b608725303113d6fe98bb727bf7b7a40d and fixed in 7.1.10 with commit 4e88b4fda48282f3fd504b4d4f5d2d4f996b76ce Issue introduced in 6.14 with commit e80cf84b608725303113d6fe98bb727bf7b7a40d and fixed in 7.2 with commit 9c75402286409f5e1a75e4a445555c84066f89db Issue introduced in 5.4.291 with commit 8c735ef894dfcca8d0a1cc554f83a82a70fd5b76 Issue introduced in 6.13.3 with commit 4007883dc7df1dbaeb461b850e0b1b27c057affc
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-80565
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/crypto/qce/core.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/dbca8b798caf47fb2799a26dd09c9ad66305883d https://git.kernel.org/stable/c/fef187c6194d67395182d58169dd14ba631f1b41 https://git.kernel.org/stable/c/1ece8e16c085e8cd60ecbdb641269aaa53d31da4 https://git.kernel.org/stable/c/de52c713d21806b93b00a6074056b57aec4f8919 https://git.kernel.org/stable/c/c7dc487aade12c692add3221673c9bdf32dc24f5 https://git.kernel.org/stable/c/a134e4b8102c077286818ee112b9f925db613d4c https://git.kernel.org/stable/c/4e88b4fda48282f3fd504b4d4f5d2d4f996b76ce https://git.kernel.org/stable/c/9c75402286409f5e1a75e4a445555c84066f89db