CVEFinder.io

CVE-2026-139776

🔶 medium
AI Summary

A race condition in the Linux kernel Qualcomm APR driver occurs when failed service registrations leave stale pointers in the IDR. An attacker can exploit this via malicious network packets to trigger a use-after-free, leading to denial of service or potential code execution. Successful exploitation requires local access or the ability to send specific packets to the affected interface.

Summary

In the Linux kernel, the following vulnerability has been resolved: soc: qcom: apr: clean up failed service registrations apr_add_device() publishes a service in svcs_idr before parsing the optional protection domain and registering the device. If device registration fails, put_device() frees the apr_device while its service remains in the IDR. A received packet can then dereference that stale entry. The property error path also leaves the service and allocation behind. Split device_register(

Description

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

soc: qcom: apr: clean up failed service registrations

apr_add_device() publishes a service in svcs_idr before parsing the
optional protection domain and registering the device. If device
registration fails, put_device() frees the apr_device while its service
remains in the IDR. A received packet can then dereference that stale
entry. The property error path also leaves the service and allocation
behind.

Split device_register() into device_initialize() and device_add() so every
pre-registration error can safely drop the device reference. Remove the
service from the IDR on all failures after publication, then drain the RX
workqueue before dropping the device reference. This prevents an in-flight
lookup from outliving the device.

CVSS Score
-
EPSS Score
0.4
Exploit Probability
Published Date
2026-11-30
First Seen: 2026-12-03
Last Modified 2026-11-30

📦 Affected Products 0

No affected products information available

🔗 References 6