CVE-2024-53228

Source
https://cve.org/CVERecord?id=CVE-2024-53228
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53228.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-53228
Downstream
Related
Published
2024-12-27T13:50:16.843Z
Modified
2026-03-20T12:40:50.046443Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
riscv: kvm: Fix out-of-bounds array access
Details

In the Linux kernel, the following vulnerability has been resolved:

riscv: kvm: Fix out-of-bounds array access

In kvmriscvvcpusbiinit() 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53228.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
56d8a385b60556019ecb45d6098830c9ef6a13e0
Fixed
3c49e1084a5df99807fc43dd318c491e6cbaa168
Fixed
b1af648f0d610665c956ea4604d9f797e5c7e991
Fixed
332fa4a802b16ccb727199da685294f85f9880cb

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53228.json"