soc: qcom: apr: clean up failed service registrations

Summary

CVECVE-2026-139776
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:20:10 UTC
Updated2026-11-30 14:20:10 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 6adba21eb434d8160da05507c564c2339f4afdda fc8b553d61cc5ff47875344dc9aec5b1c5234e70 git Not specified
CNA Linux Linux affected 6adba21eb434d8160da05507c564c2339f4afdda 36e7f2598831be71421e4d73cb317b696ec215f4 git Not specified
CNA Linux Linux affected 6adba21eb434d8160da05507c564c2339f4afdda 0995f9123d9c17019108e95d110c58f26c3b1dad git Not specified
CNA Linux Linux affected 6adba21eb434d8160da05507c564c2339f4afdda 7c00f8a39f29994c2fb495c74811f465fac3d031 git Not specified
CNA Linux Linux affected 6adba21eb434d8160da05507c564c2339f4afdda 5254160d7b6a72607297b66627a85e445c0c4e7a git Not specified
CNA Linux Linux affected 6adba21eb434d8160da05507c564c2339f4afdda 7dc14f37ca4ee35040c67c4b0180dd7b32079caf git Not specified
CNA Linux Linux affected 4.18 Not specified
CNA Linux Linux unaffected 4.18 semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/5254160d7b6a72607297b66627a85e445c0c4e7a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0995f9123d9c17019108e95d110c58f26c3b1dad 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7dc14f37ca4ee35040c67c4b0180dd7b32079caf 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/36e7f2598831be71421e4d73cb317b696ec215f4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7c00f8a39f29994c2fb495c74811f465fac3d031 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fc8b553d61cc5ff47875344dc9aec5b1c5234e70 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report