CVE-2025-38679: media: venus: Fix OOB read due to missing payload bound check
In the Linux kernel, the following vulnerability has been resolved:
media: venus: Fix OOB read due to missing payload bound check
Currently, The eventseqchanged() handler processes a variable number of properties sent by the firmware. The number of properties is indicated by the firmware and used to iterate over the payload. However, the payload size is not being validated against the actual message length.
This can lead to out-of-bounds memory access if the firmware provides a property count that exceeds the data available in the payload. Such a condition can result in kernel crashes or potential information leaks if memory beyond the buffer is accessed.
Fix this by properly validating the remaining size of the payload before each property access and updating bounds accordingly as properties are parsed.
This ensures that property parsing is safely bounded within the received message buffer and protects against malformed or malicious firmware behavior.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.104.2-1
Event History
Frequently Asked Questions
What is the severity of CVE-2025-38679?
CVE-2025-38679 has been classified as a medium severity vulnerability in the Linux kernel.
How do I fix CVE-2025-38679?
To fix CVE-2025-38679, you need to update your Linux kernel to the latest patched version.
What affected software is related to CVE-2025-38679?
CVE-2025-38679 affects the Linux Kernel specifically.
What type of vulnerability is CVE-2025-38679?
CVE-2025-38679 is an out-of-bounds read vulnerability due to a missing payload bound check in the media: venus component.
When was CVE-2025-38679 resolved?
CVE-2025-38679 was resolved in a recent update to the Linux kernel.