CVE-2022-50557

In the Linux kernel, the following vulnerability has been resolved: pinctrl: thunderbay: fix possible memory leak in thunderbay_build_functions() The thunderbay_add_functions() will free memory of thunderbay_funcs when everything is ok, but thunderbay_funcs will not be freed when thunderbay_add_functions() fails, then there will be a memory leak, so we need to add kfree() when thunderbay_add_functions() fails to fix it. In addition, doing some cleaner works, moving kfree(funcs) from thunderbay_add_functions() to thunderbay_build_functions().

Package Linux Kernel
Published 2025-10-22
Last modified 2026-04-15
Patch available
Yes

Affected versions

Linux kernel versions 5.17 and later are affected. Fixed in 6.0.16, 6.1.2, 6.2 and their respective stable series.

Affected from
≥ 5.17
Fixed in
✓ 6.0.16 6.0.x ✓ 6.1.2 6.1.x ✓ 6.2

References

The following references provide additional information about CVE-2022-50557 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2022-50557?

    CVE-2022-50557 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.17 onward and has been patched in 6.0.16, 6.1.2 and 6.2. CVE-2022-50557 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2022-50557?

    Yes — CVE-2022-50557 has been patched. Fixed versions include 6.0.16, 6.1.2 and 6.2. If you are running Linux kernel 5.17 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2022-50557 actively exploited?

    No — CVE-2022-50557 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.