{"id":"CVE-2024-53228","published":"2024-12-27T13:50:16Z","modified":"2026-05-11T20:53:19Z","title":"riscv: kvm: Fix out-of-bounds array access","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: kvm: Fix out-of-bounds array access\n\nIn kvm_riscv_vcpu_sbi_init() the entry->ext_idx can contain an\nout-of-bound index. This is used as a special marker for the base\nextensions, that cannot be disabled. However, when traversing the\nextensions, that special marker is not checked prior indexing the\narray.\n\nAdd an out-of-bounds check to the function.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00239,"percentile":0.15296,"provenance":"source"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"references":[{"url":"https://git.kernel.org/stable/c/3c49e1084a5df99807fc43dd318c491e6cbaa168","tags":[]},{"url":"https://git.kernel.org/stable/c/b1af648f0d610665c956ea4604d9f797e5c7e991","tags":[]},{"url":"https://git.kernel.org/stable/c/332fa4a802b16ccb727199da685294f85f9880cb","tags":[]}],"priority":{"score":8.5,"factors":[{"name":"EPSS percentile","points":3.06},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 56d8a385b60556019ecb45d6098830c9ef6a13e0, < 3c49e1084a5df99807fc43dd318c491e6cbaa168",">= 56d8a385b60556019ecb45d6098830c9ef6a13e0, < b1af648f0d610665c956ea4604d9f797e5c7e991",">= 56d8a385b60556019ecb45d6098830c9ef6a13e0, < 332fa4a802b16ccb727199da685294f85f9880cb"]},{"vendor":"Linux","product":"Linux","versions":["6.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-10-01T20:03:13.160173Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-51900","exploited":false,"provenance":"source"}}