CVE-2025-22014: soc: qcom: pdr: Fix the potential deadlock

Published Apr 8, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

soc: qcom: pdr: Fix the potential deadlock

When some client process A call pdraddlookup() to add the look up for the service and does schedule locator work, later a process B got a new server packet indicating locator is up and call pdrlocatornewserver() which eventually sets pdr->locatorinitcomplete to true which process A sees and takes list lock and queries domain list but it will timeout due to deadlock as the response will queued to the same qmi->wq and it is ordered workqueue and process B is not able to complete new server request work due to deadlock on list lock.

Fix it by removing the unnecessary list iteration as the list iteration is already being done inside locator work, so avoid it here and just call schedulework() here.

Process A Process B

processscheduledworks() pdraddlookup() qmidatareadywork() processscheduledworks() pdrlocatornewserver() pdr->locatorinitcomplete=true; pdrlocatorwork() mutexlock(&pdr->listlock);

pdrlocateservice() mutexlock(&pdr->listlock);

pdrgetdomainlist() prerr("PDR: %s get domain list txn wait failed: %d\n", req->servicename, ret);

Timeout error log due to deadlock:

" PDR: tms/servreg get domain list txn wait failed: -110 PDR: service lookup for msm/adsp/sensorpd:tms/servreg failed: -110 "

Thanks to Bjorn and Johan for letting me know that this commit also fixes an audio regression when using the in-kernel pd-mapper as that makes it easier to hit this race. [1]

Affected Software

13 affected componentsFixes available
Linux Kernel
Linux Linux kernel>=5.7<6.1.132
Linux Linux kernel>=6.2<6.6.85
Linux Linux kernel>=6.7<6.12.21
Linux Linux kernel>=6.13<6.13.9
Linux Linux kernel=6.14-rc1
Linux Linux kernel=6.14-rc2
Linux Linux kernel=6.14-rc3
Linux Linux kernel=6.14-rc4
Linux Linux kernel=6.14-rc5
Linux Linux kernel=6.14-rc6
Linux Linux kernel=6.14-rc7
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Event History

Apr 8, 2025
CVE Published
via MITRE·08:18 AM
Data Sourced
via MITRE·08:18 AM
Description
Data Sourced
via NVD·09:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-22014?

CVE-2025-22014 has been classified with a high severity rating due to the potential for deadlock in the Linux kernel.

2

How do I fix CVE-2025-22014?

To fix CVE-2025-22014, you should update your Linux kernel to the latest patched version provided by your distribution.

3

What systems are affected by CVE-2025-22014?

CVE-2025-22014 affects systems running the Linux kernel that utilize the qcom pdr functionality.

4

What impact does CVE-2025-22014 have?

CVE-2025-22014 can lead to system instability and potential deadlock issues affecting service lookup processes.

5

Where can I find more information about CVE-2025-22014?

More information about CVE-2025-22014 can typically be found in security advisories from your Linux distribution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203