We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-53228

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



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.

Reserved 2024-11-19 | Published 2024-12-27 | Updated 2025-01-20 | Assigner Linux

Product status

Default status
unaffected

56d8a385b60556019ecb45d6098830c9ef6a13e0 before 3c49e1084a5df99807fc43dd318c491e6cbaa168
affected

56d8a385b60556019ecb45d6098830c9ef6a13e0 before b1af648f0d610665c956ea4604d9f797e5c7e991
affected

56d8a385b60556019ecb45d6098830c9ef6a13e0 before 332fa4a802b16ccb727199da685294f85f9880cb
affected

Default status
affected

6.7
affected

Any version before 6.7
unaffected

6.11.11
unaffected

6.12.2
unaffected

6.13
unaffected

References

git.kernel.org/...c/3c49e1084a5df99807fc43dd318c491e6cbaa168

git.kernel.org/...c/b1af648f0d610665c956ea4604d9f797e5c7e991

git.kernel.org/...c/332fa4a802b16ccb727199da685294f85f9880cb

cve.org (CVE-2024-53228)

nvd.nist.gov (CVE-2024-53228)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-53228

Support options

Helpdesk Chat, Email, Knowledgebase
Subscribe to our newsletter to learn more about our work.