CVE-2025-71285·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.19.6
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.13% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 6.19.6
Fixed in: 6.19.6
How to fix this CVE
Update your Linux kernel to version 6.19.6 or later to resolve this race condition vulnerability in the QRTR driver's MHI auto_queue feature. The vulnerability could cause NULL pointer dereference during system boot on affected hardware platforms. Applying this patch eliminates unsafe buffer management races by requiring explicit RX buffer management instead of automatic queuing.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check your current kernel version; if it shows 6.19.0 through 6.19.5, your system is vulnerable
- Verify if QRTR and MHI modules are loaded by running 'lsmod | grep -E "(qrtr|mhi)"'
- Check kernel logs for MHI-related errors with 'dmesg | grep -i mhi' or 'journalctl -k | grep -i mhi' to identify any initialization race conditions
- After patching, confirm the new kernel version with 'uname -r' and verify it shows 6.19.6 or later; reboot if necessary to activate the patched kernel
FAQ
What is CVE-2025-71285?
This CVE addresses a race condition in the Linux kernel's QRTR driver where the MHI auto_queue feature could trigger callbacks before driver initialization completes, resulting in NULL pointer dereference crashes during boot on Qualcomm X1E80100 systems.
Is CVE-2025-71285 being actively exploited?
No, this vulnerability is not actively exploited in the wild and does not appear on the CISA Known Exploited Vulnerabilities list. No public exploits are currently available.
What versions of Kernel are affected by CVE-2025-71285?
Linux kernel versions 6.19 through 6.19.5 are vulnerable; the fix is included in version 6.19.6 and later.
How do I check if my server is vulnerable to CVE-2025-71285?
Execute 'uname -r' to display your kernel version; if it falls within 6.19.0 to 6.19.5 and you have QRTR networking components, your system is affected.
Does Defensia detect CVE-2025-71285?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2025-71285 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/51731792a25cb312ca94cdccfa139eb46de1b2ef
- https://git.kernel.org/stable/c/7bdff9b9b0c65ac7105416fe3a40686832515e20
- https://git.kernel.org/stable/c/8c464e00e0754e016816b1860fa9592dcad80eb2
- https://git.kernel.org/stable/c/8e130ff078892fa5a6bf272ced7565af58d98a85
- https://git.kernel.org/stable/c/ab0bdaf7a7f4f83b947193563f2a483ab87f72db
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-71285. Free for 1 server.
Get started free