# CVE-2026-139776: soc: qcom: apr: clean up failed service registrations

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-11-30T13:37:54.061Z
- Modified: 2026-11-30T14:20:10.740Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 6adba21eb434d8160da05507c564c2339f4afdda before fc8b553d61cc5ff47875344dc9aec5b1c5234e70; from 6adba21eb434d8160da05507c564c2339f4afdda before 36e7f2598831be71421e4d73cb317b696ec215f4; from 6adba21eb434d8160da05507c564c2339f4afdda before 0995f9123d9c17019108e95d110c58f26c3b1dad; from 6adba21eb434d8160da05507c564c2339f4afdda before 7c00f8a39f29994c2fb495c74811f465fac3d031; from 6adba21eb434d8160da05507c564c2339f4afdda before 5254160d7b6a72607297b66627a85e445c0c4e7a; from 6adba21eb434d8160da05507c564c2339f4afdda before 7dc14f37ca4ee35040c67c4b0180dd7b32079caf; 4.18 (not affected: before 4.18; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/fc8b553d61cc5ff47875344dc9aec5b1c5234e70>
- <https://git.kernel.org/stable/c/36e7f2598831be71421e4d73cb317b696ec215f4>
- <https://git.kernel.org/stable/c/0995f9123d9c17019108e95d110c58f26c3b1dad>
- <https://git.kernel.org/stable/c/7c00f8a39f29994c2fb495c74811f465fac3d031>
- <https://git.kernel.org/stable/c/5254160d7b6a72607297b66627a85e445c0c4e7a>
- <https://git.kernel.org/stable/c/7dc14f37ca4ee35040c67c4b0180dd7b32079caf>

## Sources

- CVE List: [CVE-2026-139776](https://www.cve.org/CVERecord?id=CVE-2026-139776), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139776](https://nvd.nist.gov/vuln/detail/CVE-2026-139776), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139776 · Whole record: https://cve.day/CVE-2026-139776.json · Rebuilt by cve.day 2026-11-30T14:33:28.134Z
