Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50520

MEDIUM 5.5EPSS 8%

drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios()

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= c61e2775873f603148e8e998a938721b7d222d24, < 6f28c7f67af4ef9bca580ab67ae2d4511797af56; >= c61e2775873f603148e8e998a938721b7d222d24, < e738f82e5b1311e8fb3d1409491a6fcce6418fbe; >= c61e2775873f603148e8e998a938721b7d222d24, < 1079df6acf56f99d86b0081a38c84701412cc90e; >= c61e2775873f603148e8e998a938721b7d222d24, < 470a77989037c3ab2b08bf2d026d2c0ddc35ff5b; >= c61e2775873f603148e8e998a938721b7d222d24, < 3991d98a8a07b71c02f3a39f77d6d9a7f575a5c4; >= c61e2775873f603148e8e998a938721b7d222d24, < 88c6e0995c04b170563b5c894c50a3b2152e18c2; >= c61e2775873f603148e8e998a938721b7d222d24, < b9decada8749b606fd8b4f04a3d6c74f7983d7bc; >= c61e2775873f603148e8e998a938721b7d222d24, < a6cffe54064a5f6c2162a85af3c16c6b453eac4e; >= c61e2775873f603148e8e998a938721b7d222d24, < 725a521a18734f65de05b8d353b5bd0d3ca4c37a; 61ebf0a926149cc161131470cf848cb70b3d6fe6; …
  • Anyone running Linux 3.6

Vulnerability facts

Affected
Linux >= c61e2775873f603148e8e998a938721b7d222d24, < 6f28c7f67af4ef9bca580ab67ae2d4511797af56; >= c61e2775873f603148e8e998a938721b7d222d24, < e738f82e5b1311e8fb3d1409491a6fcce6418fbe; >= c61e2775873f603148e8e998a938721b7d222d24, < 1079df6acf56f99d86b0081a38c84701412cc90e; >= c61e2775873f603148e8e998a938721b7d222d24, < 470a77989037c3ab2b08bf2d026d2c0ddc35ff5b; >= c61e2775873f603148e8e998a938721b7d222d24, < 3991d98a8a07b71c02f3a39f77d6d9a7f575a5c4; >= c61e2775873f603148e8e998a938721b7d222d24, < 88c6e0995c04b170563b5c894c50a3b2152e18c2; >= c61e2775873f603148e8e998a938721b7d222d24, < b9decada8749b606fd8b4f04a3d6c74f7983d7bc; >= c61e2775873f603148e8e998a938721b7d222d24, < a6cffe54064a5f6c2162a85af3c16c6b453eac4e; >= c61e2775873f603148e8e998a938721b7d222d24, < 725a521a18734f65de05b8d353b5bd0d3ca4c37a; 61ebf0a926149cc161131470cf848cb70b3d6fe6; …; Linux 3.6
Fixed in
Linux 6f28c7f67af4ef9bca580ab67ae2d4511797af56, Linux 1079df6acf56f99d86b0081a38c84701412cc90e, Linux 470a77989037c3ab2b08bf2d026d2c0ddc35ff5b, Linux 3991d98a8a07b71c02f3a39f77d6d9a7f575a5c4, Linux 88c6e0995c04b170563b5c894c50a3b2152e18c2, Linux 725a521a18734f65de05b8d353b5bd0d3ca4c37a
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.22% chance of exploitation in 30 days (percentile 8, 2026-11-26)
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= c61e2775873f603148e8e998a938721b7d222d24, < 6f28c7f67af4ef9bca580ab67ae2d4511797af56; >= c61e2775873f603148e8e998a938721b7d222d24, < e738f82e5b1311e8fb3d1409491a6fcce6418fbe; >= c61e2775873f603148e8e998a938721b7d222d24, < 1079df6acf56f99d86b0081a38c84701412cc90e; >= c61e2775873f603148e8e998a938721b7d222d24, < 470a77989037c3ab2b08bf2d026d2c0ddc35ff5b; >= c61e2775873f603148e8e998a938721b7d222d24, < 3991d98a8a07b71c02f3a39f77d6d9a7f575a5c4; >= c61e2775873f603148e8e998a938721b7d222d24, < 88c6e0995c04b170563b5c894c50a3b2152e18c2; >= c61e2775873f603148e8e998a938721b7d222d24, < b9decada8749b606fd8b4f04a3d6c74f7983d7bc; >= c61e2775873f603148e8e998a938721b7d222d24, < a6cffe54064a5f6c2162a85af3c16c6b453eac4e; >= c61e2775873f603148e8e998a938721b7d222d24, < 725a521a18734f65de05b8d353b5bd0d3ca4c37a; 61ebf0a926149cc161131470cf848cb70b3d6fe6; …—cvelist
Linux3.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50520. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50520.md
Affected: Linux >= c61e2775873f603148e8e998a938721b7d222d24, < 6f28c7f67af4ef9bca580ab67ae2d4511797af56; >= c61e2775873f603148e8e998a938721b7d222d24, < e738f82e5b1311e8fb3d1409491a6fcce6418fbe; >= c61e2775873f603148e8e998a938721b7d222d24, < 1079df6acf56f99d86b0081a38c84701412cc90e; >= c61e2775873f603148e8e99…
Fixed in: Linux 6f28c7f67af4ef9bca580ab67ae2d4511797af56, Linux 1079df6acf56f99d86b0081a38c84701412cc90e, Linux 470a77989037c3ab2b08bf2d026d2c0ddc35ff5b, Linux 3991d98a8a07b71c02f3a39f77d6d9a7f575a5c4, Linux 88c6e0995c04b170563b5c894c50a3b2152e18c2, Linux 725a521a18734f65de05b8d353b5bd0d3ca4c37a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50520 being exploited?

There is no confirmed exploitation: CVE-2022-50520 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50520?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-50520?

Linux >= c61e2775873f603148e8e998a938721b7d222d24, < 6f28c7f67af4ef9bca580ab67ae2d4511797af56; >= c61e2775873f603148e8e998a938721b7d222d24, < e738f82e5b1311e8fb3d1409491a6fcce6418fbe; >= c61e2775873f603148e8e998a938721b7d222d24, < 1079df6acf56f99d86b0081a38c84701412cc90e; >= c61e2775873f603148e8e998a938721b7d222d24, < 470a77989037c3ab2b08bf2d026d2c0ddc35ff5b; >= c61e2775873f603148e8e998a938721b7d222d24, < 3991d98a8a07b71c02f3a39f77d6d9a7f575a5c4; >= c61e2775873f603148e8e998a938721b7d222d24, < 88c6e0995c04b170563b5c894c50a3b2152e18c2; >= c61e2775873f603148e8e998a938721b7d222d24, < b9decada8749b606fd8b4f04a3d6c74f7983d7bc; >= c61e2775873f603148e8e998a938721b7d222d24, < a6cffe54064a5f6c2162a85af3c16c6b453eac4e; >= c61e2775873f603148e8e998a938721b7d222d24, < 725a521a18734f65de05b8d353b5bd0d3ca4c37a; 61ebf0a926149cc161131470cf848cb70b3d6fe6; …; Linux 3.6.

Is there a fix for CVE-2022-50520?

Yes. Fixed in Linux 6f28c7f67af4ef9bca580ab67ae2d4511797af56, Linux 1079df6acf56f99d86b0081a38c84701412cc90e, Linux 470a77989037c3ab2b08bf2d026d2c0ddc35ff5b, Linux 3991d98a8a07b71c02f3a39f77d6d9a7f575a5c4, Linux 88c6e0995c04b170563b5c894c50a3b2152e18c2, Linux 725a521a18734f65de05b8d353b5bd0d3ca4c37a. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2022-50520?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors