LiveActive security incident?Get immediate response
CVE Record

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

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.

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2022-50407 is a Linux kernel issue in the Hisilicon QM crypto driver. A local low-privileged user may trigger a stack overflow through an undersized QoS configuration buffer, potentially crashing affected systems. The cited impact is availability only, not data theft or privilege escalation.

Executive priority

Treat this as a moderate operational stability issue. It is not evidenced as remotely exploitable, but local users or workloads could cause denial of service on exposed systems. Patch through normal kernel maintenance, with faster handling for shared or multi-tenant Linux environments.

Technical view

The driver used a 32-byte local value buffer while the QoS configuration input may be up to 256 bytes. Because sscanf does not enforce destination length, fuzzing showed possible stack overflow. CVSS is 5.5: local attack, low complexity, low privileges, no user interaction, high availability impact.

Likely exposure

Exposure is most relevant to Linux systems running affected kernel builds with the Hisilicon QM crypto driver present or enabled. Internet-facing exposure is not indicated because the CVSS vector is local. Fleet exposure depends on kernel version, hardware support, distribution backports, and driver availability.

Exploitation context

The source bundle does not report active exploitation, and KEV is false. Evidence points to fuzz-test discovery and local availability impact. No cited source supports remote exploitation, data compromise, or privilege escalation.

Researcher notes

The CVE description indicates a stack overflow from an undersized local buffer, while the supplied CWE lists CWE-674, which appears inconsistent with the described flaw. Validate against upstream commit context and distribution backports before declaring specific assets fixed or affected.

Mitigation direction

  • Check Linux vendor or distribution advisories for kernels containing the referenced stable fixes.
  • Update affected systems to a fixed kernel package when available from your vendor.
  • Prioritize hosts where untrusted local users can access the affected driver path.
  • Reduce unnecessary local user access on systems requiring Hisilicon QM support.
  • Document any compensating controls until patched kernels are deployed.

Validation and detection

  • Inventory Linux kernel versions across affected server and appliance fleets.
  • Confirm whether Hisilicon QM crypto support is enabled, loaded, or packaged.
  • Compare deployed kernels against vendor advisories and referenced stable commits.
  • Verify patched kernel installation after reboot, not only package download.
  • Review exposure assumptions for systems allowing untrusted local shell or workload access.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-674: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-50407 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.5CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H1.83.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.5Medium
CVSS 3.1 vector shape for CVE-2022-50407Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux263c9959c9376ec0217d6adc61222a53469eed3c, 263c9959c9376ec0217d6adc61222a53469eed3c, 263c9959c9376ec0217d6adc61222a53469eed3cunaffected
LinuxLinux5.4, 0, 6.0.16, 6.1.2, 6.2affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-674 · source CWE mapping

Uncontrolled Recursion

Uncontrolled Recursion represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.