CVE-2022-50520: drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios()

Published Oct 7, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

As comment of pcigetclass() says, it returns a pcidevice with its refcount increased and decreased the refcount for the input parameter @from if it is not NULL.

If we break the loop in radeonatrmgetbios() with 'pdev' not NULL, we need to call pcidevput() to decrease the refcount. Add the missing pcidevput() to avoid refcount leak.

Affected Software

19 affected components
Linux Kernel
Linux Linux kernel>=3.2.29<3.3
Linux Linux kernel>=3.2.60<3.3
Linux Linux kernel>=3.4.12<3.5
Linux Linux kernel>=3.5.5<3.6
Linux Linux kernel>=3.6.1<4.9.337
Linux Linux kernel>=4.10<4.14.303
Linux Linux kernel>=4.15<4.19.270
Linux Linux kernel>=4.20<5.4.229
Linux Linux kernel>=5.5<5.10.163
Linux Linux kernel>=5.11<5.15.86
Linux Linux kernel>=5.16<6.0.16
Linux Linux kernel>=6.1<6.1.2
Linux Linux kernel=3.6
Linux Linux kernel=3.6-rc3
Linux Linux kernel=3.6-rc4
Linux Linux kernel=3.6-rc5
Linux Linux kernel=3.6-rc6
Linux Linux kernel=3.6-rc7

Event History

Oct 7, 2025
CVE Published
via MITRE·03:19 PM
Data Sourced
via MITRE·03:19 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-50520?

CVE-2022-50520 has been classified as a high severity vulnerability due to its potential impact on system stability and resource management.

2

How do I fix CVE-2022-50520?

To fix CVE-2022-50520, you should update your Linux kernel to a version where the vulnerability has been patched.

3

What systems are affected by CVE-2022-50520?

CVE-2022-50520 affects multiple versions of the Linux kernel, specifically versions between 3.2.29 and 6.1.2.

4

What are the consequences of CVE-2022-50520 being exploited?

Exploitation of CVE-2022-50520 can lead to a reference count leak, resulting in potential denial-of-service conditions or resource exhaustion.

5

When was CVE-2022-50520 disclosed?

CVE-2022-50520 was disclosed along with its fix during the regular kernel updates by the Linux kernel maintainers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203