CVE-2025-71285

In the Linux kernel, the following vulnerability has been resolved: net: qrtr: Drop the MHI auto_queue feature for IPCR DL channels MHI stack offers the 'auto_queue' 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 auto_queue, the 'dl_callback' for the DL channel may get called before the client driver is fully probed. This means, by the time the dl_callback 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 mhi_prepare_for_transfer_autoqueue(). But even so, there is a chance that the client driver's internal code path may call the MHI queue APIs before mhi_prepare_for_transfer_autoqueue() 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 'auto_queue' 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 'dl_callback' once they are consumed. This also warrants removing the setting of 'auto_queue' flag from controller drivers. Currently, this 'auto_queue' feature is only enabled for IPCR DL channel. So only the QRTR client driver requires the modification.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

30 Oct 2026, 13:18

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/b7874c74bcc224fd586679e51b9ded65f66edc2a -

21 Oct 2026, 13:18

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/8e130ff078892fa5a6bf272ced7565af58d98a85 -
  • () https://git.kernel.org/stable/c/ab0bdaf7a7f4f83b947193563f2a483ab87f72db -

14 Oct 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: qrtr: Eliminar la característica 'auto_queue' de MHI para los canales DL de IPCR La pila MHI ofrece la característica 'auto_queue', que permite a la pila MHI encolar automáticamente los búferes para la ruta RX (canal DL). Aunque esta característica simplifica el diseño del controlador cliente, introduce una condición de carrera entre los controladores cliente y la pila MHI. Por ejemplo, con auto_queue, la 'dl_callback' para el canal DL puede ser llamada antes de que el controlador cliente esté completamente sondeado. Esto significa que, para cuando se llama a la dl_callback, las estructuras del controlador cliente podrían no estar inicializadas, lo que lleva a una desreferencia de puntero NULL. Actualmente, los controladores tienen que solucionar este problema inicializando las estructuras internas antes de llamar a mhi_prepare_for_transfer_autoqueue(). Pero aun así, existe la posibilidad de que la ruta de código interna del controlador cliente pueda llamar a las API de cola de MHI antes de que se llame a mhi_prepare_for_transfer_autoqueue(), lo que lleva a una desreferencia de puntero NULL similar. Este problema ha sido reportado en las máquinas Qcom X1E80100 CRD afectando el arranque. Así que para corregir adecuadamente todas estas condiciones de carrera, se elimina por completo la característica 'auto_queue' de MHI y se deja que el controlador cliente (QRTR) gestione los búferes RX manualmente. En el controlador QRTR, se encolan los búferes RX basándose en la longitud del anillo durante el sondeo y se reciclan los búferes en 'dl_callback' una vez que se consumen. Esto también justifica la eliminación de la configuración del indicador 'auto_queue' de los controladores del controlador. Actualmente, esta característica 'auto_queue' solo está habilitada para el canal DL de IPCR. Así que solo el controlador cliente QRTR requiere la modificación.

Information

Published : 2026-05-06 12:16

Updated : 2026-11-05 22:17


NVD link : CVE-2025-71285

Mitre link : CVE-2025-71285

CVE.ORG link : CVE-2025-71285


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference