CVE-2026-139776

soc: qcom: apr: clean up failed service registrations

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Qualcomm APR subsystem in the Linux kernel failed to remove a service from the IDR when device registration failed, leaving a stale reference. A received packet could dereference this invalid pointer, resulting in a use‑after‑free that corrupts kernel memory and may allow privileged code execution or cause a crash.

Affected Systems

Linux kernel implementations that include the Qualcomm APR driver. The advisory does not list specific release numbers; the issue originates in the apr_add_device() path before the recent split into device_initialize() and device_add().

Risk and Exploitability

No EPSS score is available and the vulnerability is not listed in CISA KEV. The flaw is a high‑impact kernel use‑after‑free; based on the description the attacker would need local access to the APR subsystem and could send a crafted packet targeting the stale entry. The attack is likely local but could be leveraged for privilege escalation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the APR service registration cleanup patch
  • If an update is not yet available, minimize exposure by disabling the APR subsystem or restricting its usage through system configuration or SELinux/AppArmor policies
  • Restrict access to the APR subsystem through network segmentation or local privilege controls to reduce the attack surface

Generated by OpenCVE AI on December 1, 2026 at 02:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
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.
Title soc: qcom: apr: clean up failed service registrations
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM