CVE-2026-139776

Source
https://cve.org/CVERecord?id=CVE-2026-139776
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139776.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139776
Downstream
Published
2026-11-30T13:37:54Z
Modified
2026-11-30T15:02:30Z
Summary
soc: qcom: apr: clean up failed service registrations
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139776.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6adba21eb434d8160da05507c564c2339f4afdda
Fixed
fc8b553d61cc5ff47875344dc9aec5b1c5234e70
Fixed
36e7f2598831be71421e4d73cb317b696ec215f4
Fixed
0995f9123d9c17019108e95d110c58f26c3b1dad
Fixed
7c00f8a39f29994c2fb495c74811f465fac3d031
Fixed
5254160d7b6a72607297b66627a85e445c0c4e7a
Fixed
7dc14f37ca4ee35040c67c4b0180dd7b32079caf

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139776.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.18.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139776.json"