CVE-2022-50776 clk: st: Fix memory leak in st_of_quadfs_setup()
A memory leak in the Linux kernel's ST clock driver can lead to resource exhaustion and denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50776?
CVE-2022-50776 is a memory corruption vulnerability in Linux, published on 24 Dec 2025.
Official description
In the Linux kernel, the following vulnerability has been resolved:
clk: st: Fix memory leak in st_of_quadfs_setup()
If st_clk_register_quadfs_pll() fails, @lock should be freed before goto @err_exit, otherwise will cause meory leak issue, fix it.
Which versions are affected by CVE-2022-50776?
How do I fix CVE-2022-50776?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-50776 being exploited?
There is no known exploitation of CVE-2022-50776 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2022-50776, GHSA-86q8-vcjj-g3x5, UBUNTU-CVE-2022-50776.