CVE-2022-50348: nfsd: Fix a memory leak in an error handling path
In the Linux kernel, the following vulnerability has been resolved:
nfsd: Fix a memory leak in an error handling path
If this memdup_user() call fails, the memory allocated in a previous call
a few lines above should be freed. Otherwise it leaks.
Security readout for executives and security teams
Plain-English summary
CVE-2022-50348 is a Linux kernel NFS server memory leak in an error path. A local low-privileged user could potentially consume kernel memory and affect availability. The public record rates it medium, with no confidentiality or integrity impact stated.
Executive priority
Treat as routine but real availability risk. Patch through the normal kernel maintenance process, prioritizing shared infrastructure and NFS-capable servers. Escalation is not supported by the provided evidence because exploitation is not reported and access is local.
Technical view
The issue is CWE-401 in nfsd error handling: if a memdup_user() call fails, memory allocated earlier is not freed. CVSS 3.1 is 5.5 with local access, low complexity, low privileges, no user interaction, and high availability impact.
Likely exposure
Exposure is most relevant to Linux systems running affected kernel builds, especially where the NFS server component is present. The bundle lists Linux as affected and includes stable kernel fix references; exact exposure should be validated against distribution backports.
Exploitation context
The provided sources do not show active exploitation, and KEV status is false. The CVSS vector requires local access and low privileges, so this is not described as a remote unauthenticated issue.
Researcher notes
The record describes a narrow nfsd memory-management defect fixed by freeing earlier allocation on memdup_user() failure. Evidence is sufficient for triage, but incomplete for distribution-specific affected ranges, exploitability in default configurations, or non-upstream backport status.
Mitigation direction
Apply kernel updates that include the referenced stable fixes.
Prioritize Linux systems using affected kernel lines and NFS server functionality.
Check your Linux distribution advisory for exact fixed package versions.
If patching is delayed, follow vendor guidance for supported temporary risk reduction.
Validation and detection
Inventory running kernel versions across Linux hosts.
Identify hosts with NFS server functionality enabled or packaged.
Compare installed kernels with distribution advisories for CVE-2022-50348.
Confirm updated kernels include one of the referenced stable fixes.
Track reboot status after kernel package deployment.
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.
cwe · low confidence lookup
CWE-401: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
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.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.