CVE-2022-50407
published medium CVSS 3.1 · 5.5crypto: hisilicon/qm - increase the memory of local variables
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux72b010dc33b9598883bc84d40b0a9d07c16f5e39 to < 34c4f8ad45b4ea814c7ecc3f23a2d292959d5a52 · 72b010dc33b9598883bc84d40b0a9d07c16f5e39 to < fc521abb6ee4b8f06fdfc52646140dab6a2ed334 · 72b010dc33b9598883bc84d40b0a9d07c16f5e39 to < 3efe90af4c0c46c58dba1b306de142827153d9c0 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.14 (affected) · 0 to < 5.14 (unaffected · semver) · 6.0.16 through 6.0.* (unaffected · semver) · 6.1.2 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 72b010dc33b9598883bc84d40b0a9d07c16f5e39 to < 34c4f8ad45b4ea814c7ecc3f23a2d292959d5a52 (affected · git)72b010dc33b9598883bc84d40b0a9d07c16f5e39 to < fc521abb6ee4b8f06fdfc52646140dab6a2ed334 (affected · git)72b010dc33b9598883bc84d40b0a9d07c16f5e39 to < 3efe90af4c0c46c58dba1b306de142827153d9c0 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.14 (affected)0 to < 5.14 (unaffected · semver)6.0.16 through 6.0.* (unaffected · semver)6.1.2 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-674 CWE-674 Uncontrolled Recursion
References
3Provider assertions
2Linux · cna
crypto: hisilicon/qm - increase the memory of local variables
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 062a530ca994b8f4e8d0bb9611733570d5d3ce5eef0dc68f42f5e68a27155dd7
- Ingested
- 23 Sep 2026, 08:04:48 UTC
- Source record
- Official CVE record