Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2022-50407

crypto: hisilicon/qm - increase the memory of local variables

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 72b010dc33b9598883bc84d40b0a9d07c16f5e39 to < 34c4f8ad45b4ea814c7ecc3f23a2d292959d5a52affected
  • 72b010dc33b9598883bc84d40b0a9d07c16f5e39 to < fc521abb6ee4b8f06fdfc52646140dab6a2ed334affected
  • 72b010dc33b9598883bc84d40b0a9d07c16f5e39 to < 3efe90af4c0c46c58dba1b306de142827153d9c0affected

Linux Linux

Default version status: affected

  • 5.14affected
  • 0 to < 5.14unaffected
  • 6.0.16 to ≤ 6.0.*unaffected
  • 6.1.2 to ≤ 6.1.*unaffected
  • 6.2 to ≤ *unaffected

References