CVE Catalog

CVE-2022-50407

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

5th percentile - higher than 5% of all known CVEs

Summary

In the Linux kernel, in the hisilicon/qm cryptographic driver, the local 'val' buffer is only 32 bytes, while the maximum QoS configuration buffer length is 256 bytes. The sscanf function does not check the destination memory length, which may lead to a stack overflow.

Risk Assessment

A stack overflow could lead to system crash or potential arbitrary code execution in kernel context.

Recommendation

Apply a Linux kernel update that includes a fix increasing the buffer size.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: crypto: hisilicon/qm - increase the memory of local variables Increase the buffer to prevent stack overflow by fuzz test. The maximum length of the qos configuration buffer is 256 bytes. Currently, the value of the 'val buffer' is only 32 bytes. The sscanf does not check the dest memory length. So the 'val buffer' may stack overflow.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS