CVE-2022-50569: xfrm: Update ipcomp_scratches with NULL when freed

Published Oct 22, 2025
·
Updated

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

xfrm: Update ipcompscratches with NULL when freed

Currently if ipcompallocscratches() fails to allocate memory ipcompscratches holds obsolete address. So when we try to free the percpu scratches using ipcompfreescratches() it tries to vfree non existent vm area. Described below:

static void percpu ipcompallocscratches(void) { ... scratches = allocpercpu(void ); if (!scratches) return NULL; ipcompscratches does not know about this allocation failure. Therefore holding the old obsolete address. ... }

So when we free,

static void ipcompfreescratches(void) { ... scratches = ipcompscratches; Assigning obsolete address from ipcompscratches

if (!scratches) return;

foreachpossiblecpu(i) vfree(percpuptr(scratches, i)); Trying to free non existent page, causing warning: trying to vfree existent vm area. ... }

Fix this breakage by updating ipcompscrtches with NULL when scratches is freed

Affected Software

1 affected component
The Linux Foundation Linux Kernel

Event History

Oct 22, 2025
CVE Published
via MITRE·01:23 PM
Data Sourced
via MITRE·01:23 PM
DescriptionSeverity
Data Sourced
via NVD·02:15 PM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2022-50569?

CVE-2022-50569 has been assigned a severity rating that reflects its impact on system stability and security in the Linux kernel.

2

How do I fix CVE-2022-50569?

To fix CVE-2022-50569, apply the latest security patches or updates provided by your Linux distribution.

3

Which versions of the Linux kernel are affected by CVE-2022-50569?

CVE-2022-50569 affects specific versions of the Linux kernel identified by the updates that address the vulnerability.

4

What kind of vulnerability is CVE-2022-50569?

CVE-2022-50569 is a memory allocation vulnerability in the Linux kernel related to improper handling of memory allocation failures.

5

Who is responsible for addressing CVE-2022-50569?

The Linux Foundation and its maintainers are responsible for addressing and patching CVE-2022-50569 in the Linux kernel.

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