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.
Advisories
Source ID Title
EUVD 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 Github GHSA GHSA-52h2-m2cf-9jh6 linux-loader reading beyond EOF could lead to infinite loop
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 18 Apr 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-04-18T18:28:35.965Z

Reserved: 2022-01-19T21:23:53.782Z

Link: CVE-2022-23523

cve-icon Vulnrichment

Updated: 2024-08-03T03:43:46.487Z

cve-icon NVD

Status : Modified

Published: 2022-12-13T08:15:10.140

Modified: 2024-11-21T06:48:44.670

Link: CVE-2022-23523

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.