Null Pointer Dereference in davinci_voicecodec
Summary
GSD-2022-1003753: mfd: davinci_voicecodec: Fix possible null-ptr-deref davinci_vc_probe(). Affects Kernel versions >= b5e29aa880be84c271be8d0726cec4018bfbfd74, < 49c1e32e7b3f301642a60448700ec531df981269. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The davinci_voicecodec is a component of the Linux Kernel that provides support for voice codecs on the Davinci platform. It is responsible for initializing and managing the voice codec hardware. The vulnerability in davinci_voicecodec is related to a possible null pointer dereference in the davinci_vc_probe() function.
Vulnerability Detail
The davinci_vc_probe() function in davinci_voicecodec can potentially dereference a null pointer, leading to a system crash or other undefined behavior. This vulnerability can be triggered during the initialization process of the voice codec hardware. An attacker with local access to the system may be able to exploit this vulnerability to cause a denial of service or potentially execute arbitrary code with kernel privileges.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
If updating the Linux Kernel is not immediately feasible, users can mitigate the risk by disabling the davinci_voicecodec module. This can be done by blacklisting the module or removing it from the kernel configuration. However, this workaround may result in the loss of voice codec functionality on the Davinci platform.
Conclusion
The null pointer dereference vulnerability in davinci_voicecodec can be mitigated by updating the Linux Kernel to version v5.4.198 or later. Users can also temporarily disable the davinci_voicecodec module as a workaround. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can potentially lead to a system crash or allow an attacker to execute arbitrary code with kernel privileges.
Users running Linux Kernel versions prior to v5.4.198 with the davinci_voicecodec module enabled are affected by this vulnerability.
No, this vulnerability requires local access to the system to be exploited.
There are no known instances of this vulnerability being exploited in the wild at this time.
Yes, the vulnerability has been fixed in Linux Kernel version v5.4.198 by commit 49c1e32e7b3f301642a60448700ec531df981269.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.