{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139503",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.937Z",
        "datePublished": "2026-11-30T13:35:21.191Z",
        "dateUpdated": "2026-11-30T13:35:21.191Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:35:21.191Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nPCI/AER: Fix struct pci_dev reference leak in aer_process_err_devices()\n\nWhen an AER error occurs, candidate error-source devices are added to\ne_info->dev[] by add_error_device(), which takes a reference with\npci_dev_get().\n\nA device can be recorded without any error status being present: the\nRequester ID fast path in is_error_source(),\n\n  if (e_info->id == pci_dev_id(dev))\n    return true;\n\nmatches purely on the ID reported by the Root Port and returns true without\nreading the device's AER status registers.\n\nIn aer_process_err_devices(), handle_error_source() is called only if\naer_get_device_error_info() returns non-zero, i.e. only if an unmasked\nerror status bit is actually set. It returns 0 if the device has become\ninaccessible (status and mask both read as all ones, so\nstatus & ~mask == 0) or if no unmasked status bit is set.\n\nBecause handle_error_source() was responsible for calling pci_dev_put(),\nskipping it permanently leaks the reference taken in add_error_device().\n\nDecouple reference lifetime from error handling by moving pci_dev_put() out\nof handle_error_source() and into the aer_process_err_devices() loop, so\nevery recorded device is put exactly once.\n\nhandle_error_source() is static and aer_process_err_devices() is its only\ncaller, so no other path is affected."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/pci/pcie/aer.c"
                    ],
                    "versions": [
                        {
                            "version": "60271ab044a53edb9dcbe76bebea2221c4ff04d9",
                            "lessThan": "0f3e35695ac37ca2bee7f5667e7e25d0162c52cc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "60271ab044a53edb9dcbe76bebea2221c4ff04d9",
                            "lessThan": "c760b60115731964ed4194230c48b28494b28d46",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "60271ab044a53edb9dcbe76bebea2221c4ff04d9",
                            "lessThan": "9f17ba6c5cac3435796f484d9b469d77c32e69c3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "60271ab044a53edb9dcbe76bebea2221c4ff04d9",
                            "lessThan": "98e8a9f2963cfb490d9168196d4df1d32018ea82",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "60271ab044a53edb9dcbe76bebea2221c4ff04d9",
                            "lessThan": "d4ab82ee6c7cc9dac2015b0ed3860c42b0293e87",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "60271ab044a53edb9dcbe76bebea2221c4ff04d9",
                            "lessThan": "34c314689c5e4b9f5b4f0f954098143d5785b085",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "60271ab044a53edb9dcbe76bebea2221c4ff04d9",
                            "lessThan": "f46caad2cbb5c168e474764a27244facf148251c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "60271ab044a53edb9dcbe76bebea2221c4ff04d9",
                            "lessThan": "e86ac10110d00e6c3801f38bde1863951315222b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f3f55d83ea0d7fa5dddfb5a51f3eb92345919da3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4.19.85",
                            "lessThan": "4.20",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/pci/pcie/aer.c"
                    ],
                    "versions": [
                        {
                            "version": "4.20",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.20",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "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.20",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.20",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.20",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.20",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.20",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.20",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.20",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.20",
                                    "versionEndExcluding": "7.4-rc1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.19.85"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/0f3e35695ac37ca2bee7f5667e7e25d0162c52cc"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c760b60115731964ed4194230c48b28494b28d46"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9f17ba6c5cac3435796f484d9b469d77c32e69c3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/98e8a9f2963cfb490d9168196d4df1d32018ea82"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d4ab82ee6c7cc9dac2015b0ed3860c42b0293e87"
                },
                {
                    "url": "https://git.kernel.org/stable/c/34c314689c5e4b9f5b4f0f954098143d5785b085"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f46caad2cbb5c168e474764a27244facf148251c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e86ac10110d00e6c3801f38bde1863951315222b"
                }
            ],
            "title": "PCI/AER: Fix struct pci_dev reference leak in aer_process_err_devices()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}