CVE-2022-50460 Details
Description
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.
A vulnerability exists in the Linux kernel's CIFS (Common Internet File System) implementation, specifically within the file locking function 'cifs_flock'. This issue involves an improper management of transaction identifiers (XIDs), which can lead to a memory leak. The vulnerability arises because the function fails to release the XID before returning an error when certain conditions are met, causing the XID to be leaked instead of properly freed. This issue affects the Linux kernel stable tree.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. The specific commit that resolves this issue is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2d08311aa3056a84bfdc09bc47777de6a9b16c30 | kernel.org | Patch |
| https://git.kernel.org/stable/c/575e079c782b9862ec2626403922d041a42e6ed6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8905d13b9ede4caa88c577faed832d6c7383f4fb | kernel.org | Patch |
| https://git.kernel.org/stable/c/f8c9b4a963fec5d0e37e3e8522bb19b0c28e1a73 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.5, < 5.10.152 >= 5.11, < 5.15.76 >= 5.16, < 6.0.6 6.1 rc1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | kernel.org |
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 16, 2026 | Initial Analysis | [email protected] |
| Oct 1, 2025 | New CVE Received | kernel.org |