CVE-2022-50407

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux263c9959c9376ec0217d6adc61222a53469eed3c < 34c4f8ad45b4ea814c7ecc3f23a2d292959d5a52affected
LinuxLinux263c9959c9376ec0217d6adc61222a53469eed3c < fc521abb6ee4b8f06fdfc52646140dab6a2ed334affected
LinuxLinux263c9959c9376ec0217d6adc61222a53469eed3c < 3efe90af4c0c46c58dba1b306de142827153d9c0affected
LinuxLinux5.4affected
LinuxLinux0 < 5.4unaffected
LinuxLinux6.0.16 <= 6.0.*unaffected
LinuxLinux6.1.2 <= 6.1.*unaffected
LinuxLinux6.2 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References