CVE-2025-71140
Description
In the Linux kernel, the following vulnerability has been resolved:media: mediatek: vcodec: Use spinlock for context list protection lockPreviously a mutex was added to protect the encoder and decoder contextlists from unexpected changes originating from the SCP IP block, causingthe context pointer to go invalid, resulting in a null pointerdereference in the IPI handler.Turns out on the MT8173, the VPU IPI handler is called from hard IRQcontext. This causes a big warning from the scheduler. This was firstreported downstream on the ChromeOS kernels, but is also reproducibleon mainline using Fluster with the FFmpeg v4l2m2m decoders. Even thoughthe actual capture format is not supported, the affected code pathsare triggered.Since this lock just protects the context list and operations on it arevery fast, it should be OK to switch to a spinlock.
Risk Information
Associated Vulnerability
No records foundPatch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234