{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-53228","id":"CVE-2024-53228","title":"riscv: kvm: Fix out-of-bounds array access","description":"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-boun","descriptionLong":"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.","published":"2024-12-27T13:50:16.843Z","updated":"2026-10-28T02:31:14.585734245Z","reserved":"2024-11-19T17:17:25.025Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"56d8a385b60556019ecb45d6098830c9ef6a13e0","lessThan":"3c49e1084a5df99807fc43dd318c491e6cbaa168","status":"affected","versionType":"git"},{"version":"56d8a385b60556019ecb45d6098830c9ef6a13e0","lessThan":"b1af648f0d610665c956ea4604d9f797e5c7e991","status":"affected","versionType":"git"},{"version":"56d8a385b60556019ecb45d6098830c9ef6a13e0","lessThan":"332fa4a802b16ccb727199da685294f85f9880cb","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","lessThan":"6.7","status":"unaffected","versionType":"semver"},{"version":"6.11.11","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12.2","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-129"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/3c49e1084a5df99807fc43dd318c491e6cbaa168","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b1af648f0d610665c956ea4604d9f797e5c7e991","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/332fa4a802b16ccb727199da685294f85f9880cb","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53228.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53228","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00239,"epssPercentile":0.15183,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-53228","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53228","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-53228","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-53228","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}