CVE-2022-50872
Description
In the Linux kernel, the following vulnerability has been resolved:
ARM: OMAP2+: Fix memory leak in realtime_counter_init()
The "sys_clk" resource is malloced by clk_get(), it is not released when the function return.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Memory leak in ARM OMAP2+ realtime_counter_init() due to unreleased clk_get() allocation, leading to potential resource exhaustion.
Vulnerability
CVE-2022-50872 describes a memory leak in the Linux kernel's ARM OMAP2+ platform code, specifically within the realtime_counter_init() function. The function allocates a clock resource via clk_get() but fails to release it before returning, causing the allocated memory to remain unreclaimed.
Exploitation
This vulnerability can be triggered locally when the realtime_counter_init() function is called, typically during system initialization or when the realtime counter is accessed. No special privileges are required beyond normal system operation, making it accessible to any user or process that can invoke the relevant code path.
Impact
Repeated calls to the vulnerable function will gradually exhaust kernel memory, potentially leading to a denial-of-service condition where the system becomes unresponsive or crashes due to memory starvation.
Mitigation
The issue has been addressed in stable kernel updates. The fix commits are available in the kernel stable repository [1][2][3][4]. Users are advised to apply the latest kernel patches to remediate the vulnerability.
AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
85f9aedabce34e3a6af3059e48041f9a2a9584862c41d5f3b10fcdad2b9f398df4bdf3b014f7ad1b08533ed8167cbf65cVulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
8- git.kernel.org/stable/c/10fcdad2b9f3f424873714eb8713a3e6f7ab84bbnvd
- git.kernel.org/stable/c/4862c41d5f3bee1ec64c979c82bd8cfe96b78f7dnvd
- git.kernel.org/stable/c/4f7ad1b08533247c4bf29217ba499ea4138cc2c1nvd
- git.kernel.org/stable/c/5f9aedabce3404dd8bb769822fc11317c55fbdc1nvd
- git.kernel.org/stable/c/8041f9a2a958277f95926560dc85910aecd48c0bnvd
- git.kernel.org/stable/c/98df4bdf3b010c23cc3c542d0c303016e5fceb40nvd
- git.kernel.org/stable/c/e3a6af3059e4f83d1a986a3180eb1e04f99c9e64nvd
- git.kernel.org/stable/c/ed8167cbf65c2b6ff6faeb0f96ded4d6d581e1acnvd
News mentions
0No linked articles in our index yet.