LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50046: net/sunrpc: fix potential memory leaks in rpc_sysfs_xprt_state_change()

In the Linux kernel, the following vulnerability has been resolved: net/sunrpc: fix potential memory leaks in rpc_sysfs_xprt_state_change() The issue happens on some error handling paths. When the function fails to grab the object `xprt`, it simply returns 0, forgetting to decrease the reference count of another object `xps`, which is increased by rpc_sysfs_xprt_kobj_get_xprt_switch(), causing refcount leaks. Also, the function forgets to check whether `xps` is valid before using it, which may result in NULL-dereferencing issues. Fix it by adding proper error handling code when either `xprt` or `xps` is NULL.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2022-50046 is a Linux kernel SUNRPC flaw where an error path can leak references and may dereference a NULL object. The practical impact is not fully described in the sources, but kernel faults or resource leakage could affect reliability on exposed systems.

Executive priority

Treat as a kernel reliability risk until vendor exposure is confirmed. Prioritize normal kernel patch management, with faster action for systems matching affected versions or handling critical workloads.

Technical view

The issue is in rpc_sysfs_xprt_state_change(). When xprt lookup fails, the function returns without dropping the xps reference acquired earlier. It also uses xps without confirming validity, creating a possible NULL dereference. Upstream stable commits add error handling for NULL xprt or xps.

Likely exposure

Exposure is limited to Linux kernels identified as affected in the CVE record, including versions around 5.14, 5.15.63, 5.19.4, and 6.0. Distribution package status must be verified separately.

Exploitation context

The source bundle does not report active exploitation, public exploit availability, attack prerequisites, or remote reachability. It is not listed as CISA KEV in the provided data.

Researcher notes

Evidence is limited to the CVE description and Linux stable commit references. No CVSS, CWE, exploitability analysis, or distro-specific fixed package data is provided in the bundle.

Mitigation direction

  • Check vendor kernel advisories for CVE-2022-50046 applicability.
  • Update to a kernel containing the referenced upstream stable fixes.
  • Prioritize affected production kernels that use SUNRPC-related functionality.
  • Follow distribution guidance for required reboot or live-patching procedures.

Validation and detection

  • Inventory Linux kernel versions across servers and appliances.
  • Compare running kernels against vendor advisories and affected ranges.
  • Confirm installed kernel changelogs include the referenced stable commits.
  • Review kernel logs for recurring NULL dereference or SUNRPC instability signals.
Prepared
Confidence
medium
Sources
5

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-50046 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
3Timeline events
0ADP providers
4Source links

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux5b7eb78486cd9ac58bfbd6d84ea0fe2d9fead03b, 5b7eb78486cd9ac58bfbd6d84ea0fe2d9fead03b, 5b7eb78486cd9ac58bfbd6d84ea0fe2d9fead03bunaffected
LinuxLinux5.14, 0, 5.15.63, 5.19.4, 6.0affected
Weakness

CWE details

No CWE listed

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