CVE-2022-50770
Memory Leak in Linux Kernel OCFS2 Mount Volume Component
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| oracle | ocfs2 | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a memory leak in the Linux kernel's ocfs2 filesystem during the mounting process. Specifically, when certain error conditions occur in ocfs2_mount_volume() or ocfs2_fill_super(), allocated memory for the "replay_map" used to track online/offline slots is not freed properly. This leads to unreferenced memory objects remaining allocated, which can cause resource exhaustion over time. The fix involves adding error handling to free this memory when failures occur.
How can this vulnerability impact me? :
The memory leak can cause the system to consume increasing amounts of memory during ocfs2 volume mounts, especially if errors occur repeatedly. Over time, this can lead to resource exhaustion, degraded system performance, or potential system instability due to lack of available memory.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version that includes the fix for the ocfs2 memory leak in ocfs2_mount_volume(). This fix involves proper error handling to free memory in failure paths. Until the update is applied, avoid mounting ocfs2 volumes if possible to prevent triggering the memory leak.