Medium severity4.0NVD Advisory· Published Dec 13, 2022· Updated Jun 17, 2026
CVE-2022-23523
CVE-2022-23523
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
linux-loadercrates.io | < 0.8.1 | 0.8.1 |
Affected products
3- cpe:2.3:a:linux-loader_project:linux-loader:*:*:*:*:*:rust:*:*Range: <0.8.1
- Range: < 0.8.1
Patches
Vulnerability mechanics
References
5- github.com/rust-vmm/linux-loader/pull/125nvdIssue TrackingPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-52h2-m2cf-9jh6ghsaADVISORY
- github.com/rust-vmm/linux-loader/security/advisories/GHSA-52h2-m2cf-9jh6nvdIssue TrackingThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-23523ghsaADVISORY
- github.com/rust-vmm/linux-loader/commit/a44f152da4f38c538ed492b1efa8515be2047db2ghsaWEB
News mentions
0No linked articles in our index yet.