CVE-2026-143078: LoongArch: kexec_file: Fix elf_headers memory leak in retry loop

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

LoongArch: kexecfile: Fix elfheaders memory leak in retry loop

A retry allocates new elf headers and overwrites image->elfheaders, leaking the previous buffer. Free it before assigning here.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Free the previously allocated elf_headers buffer before assigning a newly allocated buffer in the retry loop.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:18 AM
Data Sourced
via MITRE·09:18 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems running the Linux kernel on LoongArch are affected where the kexec_file retry path is exercised. The issue concerns repeated allocation of ELF headers during retries.

2

What is required to trigger the leak?

The kexec_file operation must enter its retry loop. Each retry allocates new ELF headers and replaces image->elf_headers without freeing the previously allocated buffer.

3

What can be done if an updated kernel cannot be deployed immediately?

Avoid or limit workloads that invoke kexec_file in a way that causes retries, since the leak occurs on repeated retry allocations. The provided data does not describe another mitigation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203