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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.0.16, 6.1.2
- CVEs
- CVE-2022-50407
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 19:06 UTC · Revision 1
Source evidence
crypto: hisilicon/qm - increase the memory of local variables
core-osv · Original sourcePublished 18 Sept 2025, 16:03 UTC
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.
osv:CVE-2022-50407
Kernel
Fixed versions: 6.0.16, 6.1.2
Complete source record
{
"id": "63add3fe66cbddc9b79867b1a74860d28ea5dc99955bbc1f918a2000f9c00b22",
"url": "https://osv.dev/vulnerability/CVE-2022-50407",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "crypto: hisilicon/qm - increase the memory of local variables",
"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.",
"evidence": "osv:CVE-2022-50407",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.0.16",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2022-50407",
"aliases": [
"CVE-2022-50407"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "72b010dc33b9598883bc84d40b0a9d07c16f5e39"
},
{
"fixed": "34c4f8ad45b4ea814c7ecc3f23a2d292959d5a52"
},
{
"fixed": "fc521abb6ee4b8f06fdfc52646140dab6a2ed334"
},
{
"fixed": "3efe90af4c0c46c58dba1b306de142827153d9c0"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50407.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.14.0"
},
{
"fixed": "6.0.16"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.1.0"
},
{
"fixed": "6.1.2"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50407.json"
}
}
],
"modified": "2026-10-28T02:30:38.930515285Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/34c4f8ad45b4ea814c7ecc3f23a2d292959d5a52",
"https://git.kernel.org/stable/c/3efe90af4c0c46c58dba1b306de142827153d9c0",
"https://git.kernel.org/stable/c/fc521abb6ee4b8f06fdfc52646140dab6a2ed334",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50407.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-50407",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50407.json"
}
},
"related_cves": [
{
"value": "CVE-2022-50407",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505991,
"published_at": "2025-09-18T16:03:52.532+00:00"
}