PT-2025-18595 · Linux+2 · Linux Kernel+2
Published
2023-11-07
·
Updated
2025-05-02
·
CVE-2022-49878
CVSS v3.1
5.5
Medium
| Vector | AV: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 issue has been resolved in the Linux kernel. The problem occurred when the
krealloc() function returned an error (NULL), and the callers of realloc array() set their allocation pointers to NULL. However, krealloc() does not modify the original allocation in case of an error, resulting in a memory resource leak. The issue was fixed by freeing the old allocation on the error handling path.Recommendations
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
Affected Products
Astra Linux
Linux Kernel
Red Hat