CVE-2026-23229
JSON

5.5medium

crypto: virtio - Add spinlock protection with virtqueue notification

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 6% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: virtio - Add spinlock protection with virtqueue notification When VM boots with one virtio-crypto PCI device and builtin backend, run openssl benchmark command with multiple processes, such as openssl speed -evp aes-128-cbc -engine afalg -seconds 10 -multi 32 openssl processes will hangup and there is error reported like this: virtio_crypto virtio0: dataq.0:id 3 is not a head! It seems that the data virtqueue need protection when it is handled for virtio done notification. If the spinlock protection is added in virtcrypto_done_task(), openssl benchmark with multiple processes works well.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 0eb69890e86775d178452880ea0d24384c5ccedf before 552475d0b6cece73a52c0fa5faa0ce45e99df74b, from 75cba72ddb788a5b9c7ed2139fbb84383df029eb before 8ee8ccfd60bf17cbdab91069d324b5302f4f3a30, from ae4747dab2eab95a68bb2f6c7e904bff0424e1b1 before c9e594194795c86ca753ad6ed64c2762e9309d0d, from c4c54fce9ec54a59a4ca035af13c2823c76684cc before d6f0d586808689963e58fd739bed626ff5013b24, from fed93fb62e05c38152b0fc1dc9609639e63eed76 before c0a0ded3bb7fd45f720faa48449a930153257d3a, from fed93fb62e05c38152b0fc1dc9609639e63eed76 before e69a7b0a71b6561b3b6459f1fded8d589f2e8ac2, from fed93fb62e05c38152b0fc1dc9609639e63eed76 before 49c57c6c108931a914ed94e3c0ddb974008260a3, from fed93fb62e05c38152b0fc1dc9609639e63eed76 before b505047ffc8057555900d2d3a005d033e6967382 and 11 more
Not affected: before 6.8, from 5.10.251 up to 5.10.*, from 5.15.201 up to 5.15.*, from 6.1.164 up to 6.1.*, from 6.6.125 up to 6.6.*, from 6.12.72 up to 6.12.*
CVE List
linux linux_kernelfrom 4.19.306 before 4.20, from 5.4.268 before 5.5, from 5.10.209 before 5.10.251, from 5.15.148 before 5.15.201, from 6.1.75 before 6.1.164, from 6.6.14 before 6.6.125, from 6.7.2 before 6.12.72, from 6.13 before 6.18.11 and 1 moreNVD

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: crypto: virtio - Add spinlock protection with virtqueue notification When VM boots with one virtio-crypto PCI device and builtin backend, run openssl benchmark command with multiple processes, such as openssl speed -evp aes-128-cbc -engine afalg -seconds 10 -multi 32 openssl processes will hangup and there is error reported like this: virtio_crypto virtio0: dataq.0:id 3 is not a head! It seems that the data virtqueue need protection when it is handled for virtio done notification. If the spinlock protection is added in virtcrypto_done_task(), openssl benchmark with multiple processes works well.

NVD (es)

Se ha resuelto la siguiente vulnerabilidad en el kernel de Linux: crypto: virtio - Añadir protección con spinlock con notificación de virtqueue Cuando una VM arranca con un dispositivo PCI virtio-crypto y un backend integrado, ejecutar el comando de benchmark de OpenSSL con múltiples procesos, como openssl speed -evp aes-128-cbc -engine afalg -seconds 10 -multi 32 los procesos de OpenSSL se colgarán y se reporta un error como este: virtio_crypto virtio0: dataq.0:id 3 is not a head! Parece que el virtqueue de datos necesita protección cuando se maneja para la notificación de finalización de virtio. Si se añade la protección con spinlock en virtcrypto_done_task(), el benchmark de OpenSSL con múltiples procesos funciona correctamente.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23229 changed 2026-06-02CVE Terms of Use
NVDCVE-2026-23229 changed 2026-06-17Public domain