PT-2025-8479 · Linux+3 · Linux Kernel+3

Baoquan He

·

Published

2022-01-01

·

Updated

2026-01-28

·

CVE-2022-49546

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A memory leak has been identified in the Linux kernel, specifically in the x86/kexec component. The issue arises from the crash prepare elf64 headers() function, where a buffer allocated via vmalloc() to store elf headers is not properly freed when the kdump kernel is reloaded or unloaded. This results in a memory leak. The leak was detected by the kmemleak detector and has been reported by three individuals.
Recommendations To resolve the issue, introduce an x86-specific function arch kimage file post load cleanup() to free the buffer after kexec file loading. Additionally, remove the incorrect elf header buffer freeing code, as it does not make sense to free the buffer in its current location, given that image->elf headers must be NULL before calling the arch-specific kexec file loading function. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Memory Leak

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-02623
CVE-2022-49546
DLA-4178-1
OPENSUSE-SU-2025_1263-1
SUSE-SU-2025:1027-1
SUSE-SU-2025:1176-1
SUSE-SU-2025:1183-1
SUSE-SU-2025:1194-1
SUSE-SU-2025:1241-1
SUSE-SU-2025:1263-1
SUSE-SU-2025:1293-1
SUSE-SU-2025_1027-1
SUSE-SU-2025_1241-1
SUSE-SU-2025_1263-1
SUSE-SU-2025_1293-1
SUSE-SU-2026:0316-1

Affected Products

Astra Linux
Debian
Linux Kernel
Suse