CVE-2022-50460: cifs: Fix xid leak in cifs_flock()
In the Linux kernel, the following vulnerability has been resolved:
cifs: Fix xid leak in cifs_flock()
If not flock, before return -ENOLCK, should free the xid,
otherwise, the xid will be leaked.
Security readout for executives and security teams
Plain-English summary
CVE-2022-50460 is a Linux kernel CIFS client bug where an internal transaction ID is not released on one error path. The public record does not provide CVSS, confirmed impact, or exploitation evidence. Treat it as a kernel maintenance issue for systems that mount SMB/CIFS shares, not as an emergency without more vendor context.
Executive priority
Low immediate urgency unless CIFS-heavy Linux systems are business-critical or vendor advisories raise severity. Schedule remediation through normal kernel patch cycles, with priority for file services, backup clients, and servers mounting SMB shares.
Technical view
The resolved kernel change fixes an xid leak in cifs_flock(). If the operation is not flock and returns -ENOLCK, the xid was not freed. The CVE record lists Linux kernel affected versions but lacks full range semantics, CVSS, CWE, and exploitability details. Stable kernel commits are referenced as fixes.
Likely exposure
Exposure is most relevant to Linux systems using the kernel CIFS/SMB client and file locking paths. Systems not using CIFS mounts are less likely to encounter the bug. The provided affected-version data is incomplete, so validate against your distribution kernel advisory or stable kernel commit history.
Exploitation context
No active exploitation is indicated in the provided sources, and the CVE is not marked KEV. The source text describes a resource leak on an error path, but does not state whether it is remotely triggerable, locally triggerable, or causes denial of service.
Researcher notes
Evidence is limited to the CVE record and Linux stable commits. The bug is a missing xid free before returning -ENOLCK in cifs_flock(). No CVSS, CWE, proof of exploitation, or detailed attack prerequisites are provided in the public bundle.
Mitigation direction
Check your Linux distribution advisory for CVE-2022-50460 coverage.
Update to a vendor kernel that includes the referenced stable fixes.
Prioritize systems that mount SMB/CIFS shares or rely on CIFS file locking.
If no vendor fix is available, monitor vendor guidance rather than applying unreviewed patches.
Validation and detection
Inventory Linux hosts using CIFS or SMB kernel mounts.
Compare running kernel packages with your vendor’s fixed versions.
Review kernel changelogs for the referenced cifs_flock xid leak fix.
Confirm vulnerability scanner findings against distribution backport notes.
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-50460 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
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
5Source links
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
Oct 1, 2025, 11:45 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.