CVE-2022-50520
Estado: AnalizadaMedia (5.5)—
In the Linux kernel, the following vulnerability has been resolved:
drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios()
As comment of pci_get_class() says, it returns a pci_device with its refcount increased and decreased the refcount for the input parameter @from if it is not NULL.
If we break the loop in radeon_atrm_get_bios() with 'pdev' not NULL, we need to call pci_dev_put() to decrease the refcount. Add the missing pci_dev_put() to avoid refcount leak.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Puntuación base: 5.5
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.16%
- Percentil entre todas las CVEs puntuadas: 5
- Fecha de la puntuación: 5/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
CWE
- NVD-CWE-Other
Referencias
- https://git.kernel.org/stable/c/1079df6acf56f99d86b0081a38c84701412cc90e
- https://git.kernel.org/stable/c/3991d98a8a07b71c02f3a39f77d6d9a7f575a5c4
- https://git.kernel.org/stable/c/470a77989037c3ab2b08bf2d026d2c0ddc35ff5b
- https://git.kernel.org/stable/c/6f28c7f67af4ef9bca580ab67ae2d4511797af56
- https://git.kernel.org/stable/c/725a521a18734f65de05b8d353b5bd0d3ca4c37a
- https://git.kernel.org/stable/c/88c6e0995c04b170563b5c894c50a3b2152e18c2
- https://git.kernel.org/stable/c/a6cffe54064a5f6c2162a85af3c16c6b453eac4e
- https://git.kernel.org/stable/c/b9decada8749b606fd8b4f04a3d6c74f7983d7bc
- https://git.kernel.org/stable/c/e738f82e5b1311e8fb3d1409491a6fcce6418fbe
JSON original (NVD)
Mostrar
{
"id": "CVE-2022-50520",
"cveTags": [],
"metrics": {
"cvssMetricV31": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.5,
"attackVector": "LOCAL",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 1.8
}
]
},
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "c61e2775873f603148e8e998a938721b7d222d24",
"lessThan": "6f28c7f67af4ef9bca580ab67ae2d4511797af56",
"versionType": "git"
},
{
"status": "affected",
"version": "c61e2775873f603148e8e998a938721b7d222d24",
"lessThan": "e738f82e5b1311e8fb3d1409491a6fcce6418fbe",
"versionType": "git"
},
{
"status": "affected",
"version": "c61e2775873f603148e8e998a938721b7d222d24",
"lessThan": "1079df6acf56f99d86b0081a38c84701412cc90e",
"versionType": "git"
},
{
"status": "affected",
"version": "c61e2775873f603148e8e998a938721b7d222d24",
"lessThan": "470a77989037c3ab2b08bf2d026d2c0ddc35ff5b",
"versionType": "git"
},
{
"status": "affected",
"version": "c61e2775873f603148e8e998a938721b7d222d24",
"lessThan": "3991d98a8a07b71c02f3a39f77d6d9a7f575a5c4",
"versionType": "git"
},
{
"status": "affected",
"version": "c61e2775873f603148e8e998a938721b7d222d24",
"lessThan": "88c6e0995c04b170563b5c894c50a3b2152e18c2",
"versionType": "git"
},
{
"status": "affected",
"version": "c61e2775873f603148e8e998a938721b7d222d24",
"lessThan": "b9decada8749b606fd8b4f04a3d6c74f7983d7bc",
"versionType": "git"
},
{
"status": "affected",
"version": "c61e2775873f603148e8e998a938721b7d222d24",
"lessThan": "a6cffe54064a5f6c2162a85af3c16c6b453eac4e",
"versionType": "git"
},
{
"status": "affected",
"version": "c61e2775873f603148e8e998a938721b7d222d24",
"lessThan": "725a521a18734f65de05b8d353b5bd0d3ca4c37a",
"versionType": "git"
},
{
"status": "affected",
"version": "61ebf0a926149cc161131470cf848cb70b3d6fe6",
"versionType": "git"
},
{
"status": "affected",
"version": "0a1d9a860832a5ca43114cdebf0e8650463cc1f0",
"versionType": "git"
},
{
"status": "affected",
"version": "5f54f145719f453dccc73304cd427096bf7b806c",
"versionType": "git"
},
{
"status": "affected",
"version": "063ab9cb6308a0806d623c8d6dda5cb2b3b87fce",
"versionType": "git"
},
{
"status": "affected",
"version": "3.2.29",
"lessThan": "3.3",
"versionType": "semver"
},
{
"status": "affected",
"version": "3.4.12",
"lessThan": "3.5",
"versionType": "semver"
},
{
"status": "affected",
"version": "3.5.5",
"lessThan": "3.6",
"versionType": "semver"
},
{
"status": "affected",
"version": "3.2.60",
"lessThan": "3.3",
"versionType": "semver"
}
],
"programFiles": [
"drivers/gpu/drm/radeon/radeon_bios.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3.6"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "3.6",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "4.9.337",
"versionType": "semver",
"lessThanOrEqual": "4.9.*"
},
{
"status": "unaffected",
"version": "4.14.303",
"versionType": "semver",
"lessThanOrEqual": "4.14.*"
},
{
"status": "unaffected",
"version": "4.19.270",
"versionType": "semver",
"lessThanOrEqual": "4.19.*"
},
{
"status": "unaffected",
"version": "5.4.229",
"versionType": "semver",
"lessThanOrEqual": "5.4.*"
},
{
"status": "unaffected",
"version": "5.10.163",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.86",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.0.16",
"versionType": "semver",
"lessThanOrEqual": "6.0.*"
},
{
"status": "unaffected",
"version": "6.1.2",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/gpu/drm/radeon/radeon_bios.c"
],
"defaultStatus": "affected"
}
]
}
],
"published": "2025-10-07T16:15:35.747",
"references": [
{
"url": "https://git.kernel.org/stable/c/1079df6acf56f99d86b0081a38c84701412cc90e",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/3991d98a8a07b71c02f3a39f77d6d9a7f575a5c4",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/470a77989037c3ab2b08bf2d026d2c0ddc35ff5b",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/6f28c7f67af4ef9bca580ab67ae2d4511797af56",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/725a521a18734f65de05b8d353b5bd0d3ca4c37a",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/88c6e0995c04b170563b5c894c50a3b2152e18c2",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/a6cffe54064a5f6c2162a85af3c16c6b453eac4e",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/b9decada8749b606fd8b4f04a3d6c74f7983d7bc",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/e738f82e5b1311e8fb3d1409491a6fcce6418fbe",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"vulnStatus": "Analyzed",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "NVD-CWE-Other"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios()\n\nAs comment of pci_get_class() says, it returns a pci_device with its\nrefcount increased and decreased the refcount for the input parameter\n@from if it is not NULL.\n\nIf we break the loop in radeon_atrm_get_bios() with 'pdev' not NULL, we\nneed to call pci_dev_put() to decrease the refcount. Add the missing\npci_dev_put() to avoid refcount leak."
}
],
"lastModified": "2026-06-17T05:23:42.890",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F383FEE6-EB49-4647-818D-34A96777C7EF",
"versionEndExcluding": "3.3",
"versionStartIncluding": "3.2.29"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "DAF30915-4DA7-4B6C-B502-C4B363CDA3D9",
"versionEndExcluding": "3.3",
"versionStartIncluding": "3.2.60"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "FFC2E965-2219-4289-9B55-8332085F6327",
"versionEndExcluding": "3.5",
"versionStartIncluding": "3.4.12"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7AFAFCA0-FA28-41D2-A7EF-1BA7FB2A4732",
"versionEndExcluding": "3.6",
"versionStartIncluding": "3.5.5"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0A7D8869-49B6-4968-BDAA-F6836C646CB3",
"versionEndExcluding": "4.9.337",
"versionStartIncluding": "3.6.1"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1E7450AD-4739-46F0-B81B-C02E7B35A97B",
"versionEndExcluding": "4.14.303",
"versionStartIncluding": "4.10"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "AE8904A3-99BE-4E49-9682-1F90A6373F4F",
"versionEndExcluding": "4.19.270",
"versionStartIncluding": "4.15"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A0C0D95E-414A-445E-941B-3EF6A4D3A093",
"versionEndExcluding": "5.4.229",
"versionStartIncluding": "4.20"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D05D31FC-BD74-4F9E-B1D8-9CED62BE6F65",
"versionEndExcluding": "5.10.163",
"versionStartIncluding": "5.5"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "47237296-55D1-4ED4-8075-D00FC85A61EE",
"versionEndExcluding": "5.15.86",
"versionStartIncluding": "5.11"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C720A569-3D93-4D77-95F6-E2B3A3267D9F",
"versionEndExcluding": "6.0.16",
"versionStartIncluding": "5.16"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "77239F4B-6BB2-4B9E-A654-36A52396116C",
"versionEndExcluding": "6.1.2",
"versionStartIncluding": "6.1"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:3.6:-:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E7D72FF4-3906-4585-B39A-A9B194F53204"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:3.6:rc3:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E0FCBD80-8462-4642-B2F0-54896776CF07"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:3.6:rc4:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "42F72762-D825-4B81-93BB-5B7F54313F46"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:3.6:rc5:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "41FDE042-F389-4580-BEBB-EBAB4F562477"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:3.6:rc6:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "329C7DD0-9CEA-4D15-B0FE-B3565EE53A63"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:3.6:rc7:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A6067C5D-29B3-4EE2-BDCA-3F204F25F1C0"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}