CVE-2025-71285: net: qrtr: Drop the MHI auto_queue feature for IPCR DL channels
In the Linux kernel, the following vulnerability has been resolved:
net: qrtr: Drop the MHI autoqueue feature for IPCR DL channels
MHI stack offers the 'autoqueue' feature, which allows the MHI stack to auto queue the buffers for the RX path (DL channel). Though this feature simplifies the client driver design, it introduces race between the client drivers and the MHI stack. For instance, with autoqueue, the 'dlcallback' for the DL channel may get called before the client driver is fully probed. This means, by the time the dlcallback gets called, the client driver's structures might not be initialized, leading to NULL ptr dereference.
Currently, the drivers have to workaround this issue by initializing the internal structures before calling mhipreparefortransferautoqueue(). But even so, there is a chance that the client driver's internal code path may call the MHI queue APIs before mhipreparefortransferautoqueue() is called, leading to similar NULL ptr dereference. This issue has been reported on the Qcom X1E80100 CRD machines affecting boot.
So to properly fix all these races, drop the MHI 'autoqueue' feature altogether and let the client driver (QRTR) manage the RX buffers manually. In the QRTR driver, queue the RX buffers based on the ring length during probe and recycle the buffers in 'dlcallback' once they are consumed. This also warrants removing the setting of 'autoqueue' flag from controller drivers.
Currently, this 'autoqueue' feature is only enabled for IPCR DL channel. So only the QRTR client driver requires the modification.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-71285?
CVE-2025-71285 has been classified as a moderate severity vulnerability in the Linux kernel affecting the qrtr component.
How do I fix CVE-2025-71285?
To fix CVE-2025-71285, update the Linux kernel to a version that no longer supports the MHI auto_queue feature for IPCR DL channels.
What systems are affected by CVE-2025-71285?
CVE-2025-71285 affects systems running the Linux kernel with the qrtr component.
What is the impact of CVE-2025-71285?
The impact of CVE-2025-71285 involves potential vulnerabilities in the MHI auto_queue feature leading to potential exploitation.
Is there a workaround for CVE-2025-71285?
There is no known workaround for CVE-2025-71285; the recommended approach is to apply the kernel update.