Vulnerability in drm/vc4: txp: Don't set TXP_VSTART_AT_EOF
Summary
GSD-2022-1003142: drm/vc4: txp: Don't set TXP_VSTART_AT_EOF. Affects Kernel versions >= 008095e065a85a13ffb41b9c98149456267c30b8, < 241e746ee9aebfd3446849045716e4c8be90ef87. 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 drm/vc4 package is a component of the Linux Kernel that provides support for the Broadcom VideoCore IV graphics hardware. It includes a driver for the VideoCore IV display pipeline (txp) which is responsible for handling video playback. The vulnerability in question affects the txp driver and can potentially lead to security issues.
Vulnerability Detail
The vulnerability arises from a flaw in the txp driver's handling of the TXP_VSTART_AT_EOF flag. This flag is used to indicate whether the video frame should start at the end of the current scanout. However, due to a coding error, the flag is set incorrectly, leading to unexpected behavior. An attacker may be able to exploit this vulnerability to gain unauthorized access or cause a denial of service. The vulnerability was introduced in version v4.19 of the Linux Kernel and has been fixed in version v5.17.14.
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, a possible workaround is to disable the txp driver by blacklisting the 'vc4' module. This can be done by adding the following line to the '/etc/modprobe.d/blacklist.conf' file:
blacklist vc4
Conclusion
In conclusion, the vulnerability in the drm/vc4 txp driver can potentially lead to security issues. It is recommended to update the Linux Kernel to version v5.17.14 or later to fix this vulnerability. If immediate updating is not possible, blacklisting the 'vc4' module can serve as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability could potentially allow an attacker to gain unauthorized access or cause a denial of service.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and it will provide real-time alerts for open-source vulnerabilities.
At the time of this report, there is no known exploit for this vulnerability. However, it is still important to apply the necessary fixes to ensure the security of your system.
As mentioned earlier, a possible workaround is to disable the txp driver by blacklisting the 'vc4' module. However, it is recommended to update the Linux Kernel as soon as possible to fully address the vulnerability.
You can find more information about this vulnerability in the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and the vulnerability database maintained by the Cloud Security Alliance (https://github.com/cloudsecurityalliance/gsd-database).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.