HighFix available
LoongArch: KVM: Check validity of "num_cpu" from user space
Type: advisorySources: OSV
In the Linux kernel, the following vulnerability has been resolved: LoongArch: KVM: Check validity of "num_cpu" from user space The maximum supported cpu number is EIOINTC_ROUTE_MAX_VCPUS about irqchip EIOINTC, here add validation about cpu number to avoid array pointer overflow.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.15.5
- CVEs
- CVE-2025-38366
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 05:26 UTC · Revision 1
Source evidence
LoongArch: KVM: Check validity of "num_cpu" from user space
core-osv · Original sourcePublished 25 Jul 2025, 12:47 UTC
In the Linux kernel, the following vulnerability has been resolved: LoongArch: KVM: Check validity of "num_cpu" from user space The maximum supported cpu number is EIOINTC_ROUTE_MAX_VCPUS about irqchip EIOINTC, here add validation about cpu number to avoid array pointer overflow.
osv:CVE-2025-38366
Kernel
Fixed versions: 6.15.5
Complete source record
{
"id": "d1618daa87f6a24fbc0bb19c65047e748bd86310449168c22255f6e59fd20483",
"url": "https://osv.dev/vulnerability/CVE-2025-38366",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "LoongArch: KVM: Check validity of \"num_cpu\" from user space",
"summary": "In the Linux kernel, the following vulnerability has been resolved: LoongArch: KVM: Check validity of \"num_cpu\" from user space The maximum supported cpu number is EIOINTC_ROUTE_MAX_VCPUS about irqchip EIOINTC, here add validation about cpu number to avoid array pointer overflow.",
"evidence": "osv:CVE-2025-38366",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.15.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-38366",
"aliases": [
"CVE-2025-38366"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "1ad7efa552fd5cf4e8c49fea863c5c6a5dcf9f00"
},
{
"fixed": "a3293b4078ee93174f70f36d3ab7618554ce6ab6"
},
{
"fixed": "cc8d5b209e09d3b52bca1ffe00045876842d96ae"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38366.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.15.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38366.json"
}
}
],
"modified": "2026-10-28T02:30:26.349312835Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/a3293b4078ee93174f70f36d3ab7618554ce6ab6",
"https://git.kernel.org/stable/c/cc8d5b209e09d3b52bca1ffe00045876842d96ae",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38366.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-38366",
"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/2025/38xxx/CVE-2025-38366.json"
}
},
"related_cves": [
{
"value": "CVE-2025-38366",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492697,
"published_at": "2025-07-25T12:47:36.104+00:00"
}