crypto: hisilicon/qm - increase the memory of local variables
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.0.166.1.26.2In 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.
From the CVE record · Linux
The Linux kernel’s hisilicon/qm crypto code uses a 32-byte buffer for a QoS configuration value that can be up to 256 bytes. A value that exceeds the buffer can cause a stack overflow because sscanf does not check the destination length. The input does not specify whether exploitation requires local or network access, authentication, or user interaction.
Engineers running Linux kernels with the hisilicon/qm crypto code should check their versions; affected versions are not specified.