Description
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.
No analysis available yet.
Remediation
No remediation available yet.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2022-7510 | 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. |
Github GHSA |
GHSA-52h2-m2cf-9jh6 | linux-loader reading beyond EOF could lead to infinite loop |
References
History
Fri, 18 Apr 2025 19:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2025-04-18T18:28:35.965Z
Reserved: 2022-01-19T21:23:53.782Z
Link: CVE-2022-23523
Updated: 2024-08-03T03:43:46.487Z
Status : Modified
Published: 2022-12-13T08:15:10.140
Modified: 2026-06-17T04:30:17.673
Link: CVE-2022-23523
No data.
OpenCVE Enrichment
No data.
Weaknesses
-
CWE-119
Improper Restriction of Operations within the Bounds of a Memory Buffer
-
CWE-125
Out-of-bounds Read
- NVD-CWE-Other
EUVD
Github GHSA