CVE-2023-54208
Memory Leak in Linux Kernel ov5675 Driver Initialization
Publication date: 2025-12-30
Last updated on: 2025-12-30
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| media | ov5675 | * |
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 ov5675 media driver. Specifically, the function ov5675_init_controls() does not properly free allocated resources when an error occurs, leading to unreferenced memory that is not released. This was identified during testing with a BPF mock device, and the fix involves adding a call to v4l2_ctrl_handler_free() to prevent the memory leak.
How can this vulnerability impact me? :
The memory leak caused by this vulnerability can lead to increased memory usage over time, potentially degrading system performance or causing resource exhaustion. In systems using the ov5675 media driver, this could result in instability or crashes if the leaked memory accumulates significantly.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version where the ov5675 driver includes the fix that adds v4l2_ctrl_handler_free() in ov5675_init_controls() to prevent the memory leak. This ensures that all allocated resources are properly cleaned up in failure paths.