PT-2025-43079 · Linux+2 · Linux Kernel+2
Published
2022-09-01
·
Updated
2025-12-23
·
CVE-2022-50569
CVSS v2.0
6.0
Medium
| Vector | AV:L/AC:H/Au:S/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The Linux kernel contains a flaw within the xfrm subsystem related to memory management. Specifically, if
ipcomp alloc scratches() fails to allocate memory, the ipcomp scratches variable retains an obsolete address. Subsequently, when ipcomp free scratches() attempts to free the per-CPU scratches, it may attempt to free a non-existent virtual memory area, resulting in a warning message. This occurs because ipcomp scratches is not updated to NULL upon allocation failure. The issue is addressed by updating ipcomp scratches with NULL when the scratches are freed. The vulnerable functions involved are ipcomp alloc scratches() and ipcomp free scratches(). The variable ipcomp scratches holds the obsolete address. The function vfree() attempts to free the non-existent page.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Allocation of Resources Without Limits
Improper Resource Release
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Centos
Linux Kernel
Red Hat