# CVE-2022-50407: crypto: hisilicon/qm - increase the memory of local variables

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-09-18T16:03:52.532Z
- Modified: 2026-08-15T13:17:35.100Z
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 72b010dc33b9598883bc84d40b0a9d07c16f5e39 before 34c4f8ad45b4ea814c7ecc3f23a2d292959d5a52; from 72b010dc33b9598883bc84d40b0a9d07c16f5e39 before fc521abb6ee4b8f06fdfc52646140dab6a2ed334; from 72b010dc33b9598883bc84d40b0a9d07c16f5e39 before 3efe90af4c0c46c58dba1b306de142827153d9c0; 5.14 (not affected: before 5.14; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 5.4 before 6.0.16; from 6.1 before 6.1.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/34c4f8ad45b4ea814c7ecc3f23a2d292959d5a52> (patch)
- <https://git.kernel.org/stable/c/fc521abb6ee4b8f06fdfc52646140dab6a2ed334> (patch)
- <https://git.kernel.org/stable/c/3efe90af4c0c46c58dba1b306de142827153d9c0> (patch)

## Sources

- CVE List: [CVE-2022-50407](https://www.cve.org/CVERecord?id=CVE-2022-50407), CVE Terms of Use, modified 2026-08-15
- NVD: [CVE-2022-50407](https://nvd.nist.gov/vuln/detail/CVE-2022-50407), Public domain, modified 2026-08-15

---

Page: https://cve.day/CVE-2022-50407 · Whole record: https://cve.day/CVE-2022-50407.json · Rebuilt by cve.day 2026-11-25T22:58:21.204Z
