# CVE-2024-26655: Fix memory leak in posix_clock_open()

- 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.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2024-04-01T14:58:20.433Z
- Modified: 2026-06-17T07:18:00.917Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

Fix memory leak in posix_clock_open()

If the clk ops.open() function returns an error, we don't release the
pccontext we allocated for this clock.

Re-organize the code slightly to make it all more obvious.

(As written by CVE List.)

## Affected

- Linux Linux: from 63cb05f600940a3b4824509e7e0e909f040c82ee before f845cfa1a5ae697782bfcb843c9d06d3bc0cbbb6; from a006fc4485159dc9bc3c4156f433f62b9c2b709c before 62a5adf57b56ee94075c889abea518b9dc66895d; from 72ba2204a2a71b6f25873f20eb9329e1e7a01d03 before 375abf52353ca5e1a2e5f763629a870f91d0c38a; from 221e4d1e29bb442ac4c47bc8ee095abf009ee8f3 before ea2d9bfd422e92fd197f6a0b1fe7d81413b871e0; from 60c6946675fc06dd2fd2b7a4b6fd1c1f046f1056 before a88649b49523e8cbe95254440d803e38c19d2341; from 60c6946675fc06dd2fd2b7a4b6fd1c1f046f1056 before 0200dd7ed2335469955d7e69cc1a6fa7df1f3847; from 60c6946675fc06dd2fd2b7a4b6fd1c1f046f1056 before 5b4cdd9c5676559b8a7c944ac5269b914b8c0bb8; 6.7 (not affected: before 6.7; from 6.7.12 up to 6.7.*; from 6.8.3 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 6.7 before 6.7.12; from 6.8 before 6.8.3; 6.9

## References

- <https://git.kernel.org/stable/c/f845cfa1a5ae697782bfcb843c9d06d3bc0cbbb6> (patch)
- <https://git.kernel.org/stable/c/62a5adf57b56ee94075c889abea518b9dc66895d> (patch)
- <https://git.kernel.org/stable/c/375abf52353ca5e1a2e5f763629a870f91d0c38a> (patch)
- <https://git.kernel.org/stable/c/ea2d9bfd422e92fd197f6a0b1fe7d81413b871e0> (patch)
- <https://git.kernel.org/stable/c/a88649b49523e8cbe95254440d803e38c19d2341> (patch)
- <https://git.kernel.org/stable/c/0200dd7ed2335469955d7e69cc1a6fa7df1f3847> (patch)
- <https://git.kernel.org/stable/c/5b4cdd9c5676559b8a7c944ac5269b914b8c0bb8> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-26655 · Whole record: https://cve.day/CVE-2024-26655.json · Rebuilt by cve.day 2026-11-25T22:58:38.285Z
