LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50868: hwrng: amd - Fix PCI device refcount leak

In the Linux kernel, the following vulnerability has been resolved: hwrng: amd - Fix PCI device refcount leak for_each_pci_dev() is implemented by pci_get_device(). The comment of pci_get_device() says that it will increase the reference count for the returned pci_dev and also decrease the reference count for the input pci_dev @from if it is not NULL. If we break for_each_pci_dev() loop with pdev not NULL, we need to call pci_dev_put() to decrease the reference count. Add the missing pci_dev_put() for the normal and error path.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

CVE-2022-50868 is a Linux kernel bug in the AMD hardware random number generator driver. The issue is a missing PCI device reference release, which can leak kernel object references. Public sources do not provide CVSS, real-world impact, or evidence of active exploitation, so urgency is mainly tied to normal kernel hygiene and exposure to affected Linux versions.

Executive priority

Treat as a routine kernel patching item unless vendor guidance raises severity. There is no cited evidence of active exploitation or business-critical impact, but affected Linux systems should still receive normal security maintenance.

Technical view

The Linux kernel hwrng amd driver used for_each_pci_dev(), which increments the returned pci_dev reference. When the loop exits with pdev still set, the driver must call pci_dev_put(). The fix adds the missing pci_dev_put() on normal and error paths. The CVE record lists multiple Linux kernel version ranges and stable backport commits.

Likely exposure

Systems running affected Linux kernel versions with the AMD hwrng driver code present may be exposed. The source bundle lists Linux kernels from 2.6.18 through several stable series as affected, with fixes represented by kernel stable commits. Distribution-specific exposure may differ based on backports.

Exploitation context

No public source in the bundle reports active exploitation, and the CVE is not marked KEV. The described flaw is a kernel reference-count leak, not a directly documented remote code execution issue. Exploitability and practical impact are not established in the provided sources.

Researcher notes

The record is sparse: no CVSS, CWE, exploit discussion, or distribution advisories are included. Analysis should center on kernel commit lineage and downstream backports. Avoid assuming impact beyond the documented PCI device reference-count leak.

Mitigation direction

  • Identify Linux kernel versions in use across servers, appliances, and images.
  • Check your Linux distribution advisory for CVE-2022-50868 status and backported fixes.
  • Update to a kernel build containing the referenced stable commits or vendor-equivalent fix.
  • Prioritize routine kernel maintenance where AMD hwrng-capable systems are present.

Validation and detection

  • Compare running kernel versions against vendor security advisories for this CVE.
  • Confirm the kernel package changelog includes the hwrng amd pci_dev_put fix.
  • For custom kernels, verify the relevant stable commit is applied.
  • Track exceptions for systems unable to receive kernel updates promptly.
Prepared
Confidence
medium
Sources
11

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2022-50868 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
10Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux96d63c0297ccfd6d9059c614b3f5555d9441a2b3, 96d63c0297ccfd6d9059c614b3f5555d9441a2b3, 96d63c0297ccfd6d9059c614b3f5555d9441a2b3, 96d63c0297ccfd6d9059c614b3f5555d9441a2b3, 96d63c0297ccfd6d9059c614b3f5555d9441a2b3, 96d63c0297ccfd6d9059c614b3f5555d9441a2b3, 96d63c0297ccfd6d9059c614b3f5555d9441a2b3, 96d63c0297ccfd6d9059c614b3f5555d9441a2b3, 96d63c0297ccfd6d9059c614b3f5555d9441a2b3unaffected
LinuxLinux2.6.18, 0, 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, 6.2affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.