Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: riscv: kvm: Fix out-of-bounds array access In kvm_riscv_vcpu_sbi_init() the entry->ext_idx can contain an out-of-bound index. This is used as a special marker for the base extensions, that cannot be disabled. However, when traversing the extensions, that special marker is not checked prior indexing the array. Add an out-of-bounds check to the function.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.7, < 6.11.11 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/332fa4a802b16ccb727199da685294f85f9880cbPatch
- https://git.kernel.org/stable/c/3c49e1084a5df99807fc43dd318c491e6cbaa168Patch
- https://git.kernel.org/stable/c/b1af648f0d610665c956ea4604d9f797e5c7e991Patch
FAQ
What is CVE-2024-53228?
CVE-2024-53228 is a vulnerability with a CVSS score of 7.8 (HIGH). In the Linux kernel, the following vulnerability has been resolved: riscv: kvm: Fix out-of-bounds array access In kvm_riscv_vcpu_sbi_init() the entry->ext_idx can contain an out-of-bound index. This...
How severe is CVE-2024-53228?
CVE-2024-53228 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-53228?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.