{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139776",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.952Z",
        "datePublished": "2026-11-30T13:37:54.061Z",
        "dateUpdated": "2026-11-30T13:37:54.061Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:37:54.061Z"
            },
            "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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/soc/qcom/apr.c"
                    ],
                    "versions": [
                        {
                            "version": "6adba21eb434d8160da05507c564c2339f4afdda",
                            "lessThan": "fc8b553d61cc5ff47875344dc9aec5b1c5234e70",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6adba21eb434d8160da05507c564c2339f4afdda",
                            "lessThan": "36e7f2598831be71421e4d73cb317b696ec215f4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6adba21eb434d8160da05507c564c2339f4afdda",
                            "lessThan": "0995f9123d9c17019108e95d110c58f26c3b1dad",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6adba21eb434d8160da05507c564c2339f4afdda",
                            "lessThan": "7c00f8a39f29994c2fb495c74811f465fac3d031",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6adba21eb434d8160da05507c564c2339f4afdda",
                            "lessThan": "5254160d7b6a72607297b66627a85e445c0c4e7a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6adba21eb434d8160da05507c564c2339f4afdda",
                            "lessThan": "7dc14f37ca4ee35040c67c4b0180dd7b32079caf",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/soc/qcom/apr.c"
                    ],
                    "versions": [
                        {
                            "version": "4.18",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.18",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}