Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
- >= 5.19, < 5.19.0-rc1
A vulnerability in the Linux kernel's ChaCha20 implementation for the s390 architecture can lead to a kernel crash if vector instructions are not available. The issue arises because a library interface was added for ChaCha20 without verifying if the necessary vector facilities were installed, allowing the code to incorrectly branch into assembler instructions that require these facilities. This vulnerability affects Linux kernel versions 5.19 and later.
Exploitation of this vulnerability causes a kernel panic, leading to a system crash. The panic occurs because the kernel attempts to terminate the 'init' process, which is critical for system operation, causing a complete system failure.
To reproduce this vulnerability, compile the Linux kernel with the ChaCha20 library interface enabled for the s390 architecture, but without the required vector instructions available. When the kernel is run, it will crash with a data exception error, indicating that the assembler code for ChaCha20 could not be executed properly due to the missing vector facilities.
The vulnerability can be addressed by adding a check to ensure that the required vector instructions are available before using the s390-specific ChaCha20 assembler code. This can be done by modifying the ChaCha20 implementation to include a verification step for the necessary facilities.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.