LoongArch: KVM: Check validity of "num_cpu" from user space
Published Jul 25, 2025
7.8
HIGHCVSS 3.1
EPSS 0.15%
Description
The maximum supported cpu number is EIOINTC_ROUTE_MAX_VCPUS about irqchip EIOINTC, here add validation about cpu number to avoid array pointer overflow.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 6.13StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<6.13
- Version 6.15.5StatusunaffectedConstraints<=6.15.*
- Version 6.16StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- ≥ 6.13 · < 6.15.5
- 6.16
- 6.16
- 6.16
No data.
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
No CWE recorded.
References (7)
- https://access.redhat.com/security/cve/CVE-2025-38366 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2383383 Issue Tracking
- https://git.kernel.org/stable/c/a3293b4078ee93174f70f36d3ab7618554ce6ab6 Patch
- https://git.kernel.org/stable/c/cc8d5b209e09d3b52bca1ffe00045876842d96ae Patch
- https://lore.kernel.org/linux-cve-announce/2025072558-CVE-2025-38366-26b8@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2025-38366
- https://www.cve.org/CVERecord?id=CVE-2025-38366
Change history (0)
No recorded changes yet.