# CVE-2022-50264: clk: socfpga: Fix memory leak in socfpga_gate_init()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-02)
- Published: 2025-09-15T14:21:00.379Z
- Modified: 2026-06-17T05:23:06.517Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

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

clk: socfpga: Fix memory leak in socfpga_gate_init()

Free @socfpga_clk and @ops on the error path to avoid memory leak issue.

(As written by CVE List.)

## Affected

- Linux Linux: from a30a67be7b6e1117e0c0f5bcf84328ccdb8d6205 before 6f2198914fb9aac286a6ff6cf09b23752141e04f; from a30a67be7b6e1117e0c0f5bcf84328ccdb8d6205 before 3e8fd1d0fab4d5c9a50d225dddc207deac12f13a; from a30a67be7b6e1117e0c0f5bcf84328ccdb8d6205 before 9de42116fc4540f6a1ceb51fd037b734ab7be12e; from a30a67be7b6e1117e0c0f5bcf84328ccdb8d6205 before 9f9bb9f5ba9fd501a90f255eb746b4cf2ceeaaae; from a30a67be7b6e1117e0c0f5bcf84328ccdb8d6205 before bd72ab5e6fc1c4d3e6b84636141d26a41b977b03; from a30a67be7b6e1117e0c0f5bcf84328ccdb8d6205 before 0b8ba891ad4d1ef6bfa4c72efc83f9f9f855f68b; 5.1 (not affected: before 5.1; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 5.1 before 5.4.229; from 5.5 before 5.10.163; from 5.11 before 5.15.86; from 5.16 before 6.0.16; from 6.1 before 6.1.2

## References

- <https://git.kernel.org/stable/c/6f2198914fb9aac286a6ff6cf09b23752141e04f> (patch)
- <https://git.kernel.org/stable/c/3e8fd1d0fab4d5c9a50d225dddc207deac12f13a> (patch)
- <https://git.kernel.org/stable/c/9de42116fc4540f6a1ceb51fd037b734ab7be12e> (patch)
- <https://git.kernel.org/stable/c/9f9bb9f5ba9fd501a90f255eb746b4cf2ceeaaae> (patch)
- <https://git.kernel.org/stable/c/bd72ab5e6fc1c4d3e6b84636141d26a41b977b03> (patch)
- <https://git.kernel.org/stable/c/0b8ba891ad4d1ef6bfa4c72efc83f9f9f855f68b> (patch)

## Sources

- CVE List: [CVE-2022-50264](https://www.cve.org/CVERecord?id=CVE-2022-50264), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50264](https://nvd.nist.gov/vuln/detail/CVE-2022-50264), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50264 · Whole record: https://cve.day/CVE-2022-50264.json · Rebuilt by cve.day 2026-11-25T22:58:21.136Z
