In versions prior to 0.8.1, the linux-loader crate uses the offsets and sizes provided in the ELF headers to determine the offsets to read from. If those offsets point beyond the end of the file this could lead to Virtual Machine Monitors using the `linux-loader` crate entering an infinite loop if the ELF header of the kernel they are loading was modified in a malicious manner. This issue has been addressed in 0.8.1. The issue can be mitigated by ensuring that only trusted kernel images are loaded or by verifying that the headers do not point beyond the end of the file.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: GitHub_M
Published: 2022-12-13T07:41:47.047Z
Updated: 2024-08-03T03:43:46.487Z
Reserved: 2022-01-19T21:23:53.782Z
Link: CVE-2022-23523
Vulnrichment
No data.
NVD
Status : Analyzed
Published: 2022-12-13T08:15:10.140
Modified: 2023-06-27T14:59:10.640
Link: CVE-2022-23523
Redhat
No data.