{"api_version":"1","generated_at":"2026-12-01T14:17:25+00:00","cve":"CVE-2026-139776","urls":{"html":"https://cve.report/CVE-2026-139776","api":"https://cve.report/api/cve/CVE-2026-139776.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139776","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139776"},"summary":{"title":"soc: qcom: apr: clean up failed service registrations","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsoc: qcom: apr: clean up failed service registrations\n\napr_add_device() publishes a service in svcs_idr before parsing the\noptional protection domain and registering the device. If device\nregistration fails, put_device() frees the apr_device while its service\nremains in the IDR. A received packet can then dereference that stale\nentry. The property error path also leaves the service and allocation\nbehind.\n\nSplit device_register() into device_initialize() and device_add() so every\npre-registration error can safely drop the device reference. Remove the\nservice from the IDR on all failures after publication, then drain the RX\nworkqueue before dropping the device reference. This prevents an in-flight\nlookup from outliving the device.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:10","updated_at":"2026-11-30 14:20:10"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/5254160d7b6a72607297b66627a85e445c0c4e7a","name":"https://git.kernel.org/stable/c/5254160d7b6a72607297b66627a85e445c0c4e7a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0995f9123d9c17019108e95d110c58f26c3b1dad","name":"https://git.kernel.org/stable/c/0995f9123d9c17019108e95d110c58f26c3b1dad","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7dc14f37ca4ee35040c67c4b0180dd7b32079caf","name":"https://git.kernel.org/stable/c/7dc14f37ca4ee35040c67c4b0180dd7b32079caf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/36e7f2598831be71421e4d73cb317b696ec215f4","name":"https://git.kernel.org/stable/c/36e7f2598831be71421e4d73cb317b696ec215f4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7c00f8a39f29994c2fb495c74811f465fac3d031","name":"https://git.kernel.org/stable/c/7c00f8a39f29994c2fb495c74811f465fac3d031","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/fc8b553d61cc5ff47875344dc9aec5b1c5234e70","name":"https://git.kernel.org/stable/c/fc8b553d61cc5ff47875344dc9aec5b1c5234e70","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139776","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139776","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6adba21eb434d8160da05507c564c2339f4afdda fc8b553d61cc5ff47875344dc9aec5b1c5234e70 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6adba21eb434d8160da05507c564c2339f4afdda 36e7f2598831be71421e4d73cb317b696ec215f4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6adba21eb434d8160da05507c564c2339f4afdda 0995f9123d9c17019108e95d110c58f26c3b1dad git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6adba21eb434d8160da05507c564c2339f4afdda 7c00f8a39f29994c2fb495c74811f465fac3d031 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6adba21eb434d8160da05507c564c2339f4afdda 5254160d7b6a72607297b66627a85e445c0c4e7a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6adba21eb434d8160da05507c564c2339f4afdda 7dc14f37ca4ee35040c67c4b0180dd7b32079caf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.18 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/soc/qcom/apr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"fc8b553d61cc5ff47875344dc9aec5b1c5234e70","status":"affected","version":"6adba21eb434d8160da05507c564c2339f4afdda","versionType":"git"},{"lessThan":"36e7f2598831be71421e4d73cb317b696ec215f4","status":"affected","version":"6adba21eb434d8160da05507c564c2339f4afdda","versionType":"git"},{"lessThan":"0995f9123d9c17019108e95d110c58f26c3b1dad","status":"affected","version":"6adba21eb434d8160da05507c564c2339f4afdda","versionType":"git"},{"lessThan":"7c00f8a39f29994c2fb495c74811f465fac3d031","status":"affected","version":"6adba21eb434d8160da05507c564c2339f4afdda","versionType":"git"},{"lessThan":"5254160d7b6a72607297b66627a85e445c0c4e7a","status":"affected","version":"6adba21eb434d8160da05507c564c2339f4afdda","versionType":"git"},{"lessThan":"7dc14f37ca4ee35040c67c4b0180dd7b32079caf","status":"affected","version":"6adba21eb434d8160da05507c564c2339f4afdda","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/soc/qcom/apr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.18"},{"lessThan":"4.18","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"4.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"4.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"4.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"4.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"4.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"4.18","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsoc: qcom: apr: clean up failed service registrations\n\napr_add_device() publishes a service in svcs_idr before parsing the\noptional protection domain and registering the device. If device\nregistration fails, put_device() frees the apr_device while its service\nremains in the IDR. A received packet can then dereference that stale\nentry. The property error path also leaves the service and allocation\nbehind.\n\nSplit device_register() into device_initialize() and device_add() so every\npre-registration error can safely drop the device reference. Remove the\nservice from the IDR on all failures after publication, then drain the RX\nworkqueue before dropping the device reference. This prevents an in-flight\nlookup from outliving the device."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:37:54.061Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/fc8b553d61cc5ff47875344dc9aec5b1c5234e70"},{"url":"https://git.kernel.org/stable/c/36e7f2598831be71421e4d73cb317b696ec215f4"},{"url":"https://git.kernel.org/stable/c/0995f9123d9c17019108e95d110c58f26c3b1dad"},{"url":"https://git.kernel.org/stable/c/7c00f8a39f29994c2fb495c74811f465fac3d031"},{"url":"https://git.kernel.org/stable/c/5254160d7b6a72607297b66627a85e445c0c4e7a"},{"url":"https://git.kernel.org/stable/c/7dc14f37ca4ee35040c67c4b0180dd7b32079caf"}],"title":"soc: qcom: apr: clean up failed service registrations","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139776","datePublished":"2026-11-30T13:37:54.061Z","dateReserved":"2026-11-30T13:22:15.952Z","dateUpdated":"2026-11-30T13:37:54.061Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:10","lastModifiedDate":"2026-11-30 14:20:10","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139776","Ordinal":"1","Title":"soc: qcom: apr: clean up failed service registrations","CVE":"CVE-2026-139776","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139776","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nsoc: qcom: apr: clean up failed service registrations\n\napr_add_device() publishes a service in svcs_idr before parsing the\noptional protection domain and registering the device. If device\nregistration fails, put_device() frees the apr_device while its service\nremains in the IDR. A received packet can then dereference that stale\nentry. The property error path also leaves the service and allocation\nbehind.\n\nSplit device_register() into device_initialize() and device_add() so every\npre-registration error can safely drop the device reference. Remove the\nservice from the IDR on all failures after publication, then drain the RX\nworkqueue before dropping the device reference. This prevents an in-flight\nlookup from outliving the device.","Type":"Description","Title":"soc: qcom: apr: clean up failed service registrations"}]}}}