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.
https://git.kernel.org/stable/c/f845cfa1a5ae697782bfcb843c9d06d3bc0cbbb6
https://git.kernel.org/stable/c/ea2d9bfd422e92fd197f6a0b1fe7d81413b871e0
https://git.kernel.org/stable/c/a88649b49523e8cbe95254440d803e38c19d2341
https://git.kernel.org/stable/c/62a5adf57b56ee94075c889abea518b9dc66895d
https://git.kernel.org/stable/c/5b4cdd9c5676559b8a7c944ac5269b914b8c0bb8
https://git.kernel.org/stable/c/375abf52353ca5e1a2e5f763629a870f91d0c38a
https://git.kernel.org/stable/c/0200dd7ed2335469955d7e69cc1a6fa7df1f3847