CVE-2022-50760

Not scored yetLast modified Nov 10, 2026

Description

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

drm/amdgpu: Fix PCI device refcount leak in amdgpu_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 amdgpu_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.

Metrics

No CVSS score has been published yet.

Affected software

VendorProductVersions
LinuxLinux>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 6611feef35c0c8c4d297b28a7fc6ab3a2c47eca7; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < da7c78ea9e62bb65273d3ff19a3866ec205bfe18; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 3360125d721c91d697c71201f18f042ff743e936; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 981024abf5fe605c94d4f906f65d1b3408d628be; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 7c1ddf7c664b5bc91f14b1bdeaa45520ef1760e4; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 8f2d2badf8ca5e7e7c30d88840b695c8af7286f3; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 9d4057d0452243917e12eb19f1599c96f2f05b14; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < a8b54ad7106c0604c4adc4933138b3557739bce0; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < ca54639c7752edf1304d92ff4d0c049d4efc9ba0
LinuxLinux4.2

References

Timeline

Published
Dec 24, 2025
Last modified
Nov 10, 2026
NVD status
Deferred

Related CVEs from 2022

CVE-2022-50761In the Linux kernel, the following vulnerability has been resolved: x86/xen: Fix memory leak in xen_init_lock_cpu() In xen_init_lock_cpu()CVE-2022-50762In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Avoid UBSAN error on true_sectors_per_clst() syzbot reportedCVE-2022-50763In the Linux kernel, the following vulnerability has been resolved: crypto: marvell/octeontx - prevent integer overflows The "code_length"CVE-2022-50764In the Linux kernel, the following vulnerability has been resolved: ipv6/sit: use DEV_STATS_INC() to avoid data-races syzbot/KCSAN reporteCVE-2022-50765In the Linux kernel, the following vulnerability has been resolved: RISC-V: kexec: Fix memory leak of elf header buffer This is reported bCVE-2022-50766In the Linux kernel, the following vulnerability has been resolved: btrfs: set generation before calling btrfs_clean_tree_block in btrfs_inCVE-2022-50767In the Linux kernel, the following vulnerability has been resolved: fbdev: smscufx: Fix several use-after-free bugs Several types of UAFs CVE-2022-50768In the Linux kernel, the following vulnerability has been resolved: scsi: smartpqi: Correct device removal for multi-actuator devices CorrCVE-2022-50769In the Linux kernel, the following vulnerability has been resolved: mmc: mxcmmc: fix return value check of mmc_add_host() mmc_add_host() mCVE-2022-50770In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix memory leak in ocfs2_mount_volume() There is a memory leak CVE-2022-50771In the Linux kernel, the following vulnerability has been resolved: rcu: Fix __this_cpu_read() lockdep warning in rcu_force_quiescent_stateCVE-2022-50772In the Linux kernel, the following vulnerability has been resolved: netdevsim: fix memory leak in nsim_bus_dev_new() If device_register()
CVE-2022-50760: Unscored | Vulnix