CVE-2022-50643 Details
Description
In the Linux kernel, the following vulnerability has been resolved: cifs: Fix xid leak in cifs_copy_file_range() If the file is used by swap, before return -EOPNOTSUPP, 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 range copying function. This issue arises when a file is used by swap; the function fails to properly manage the XID (transaction identifier) before returning an 'operation not supported' error, leading to an XID leak. The vulnerability is present in several versions of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for downloading the patched version can be found in the Linux kernel documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 9, 2025References 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/27cfd3afaab000a455194338db3b7f2031fde9d0 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/9a97df404a402fe1174d2d1119f87ff2a0ca2fe9 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/bf49d4fe4ab7b8d812927a2c7b514864d5fc1bb2 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/dc283313d1ca378d787cb55c1e580dc3de852680 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 9, 2025 | New CVE Received | kernel.org |
Volerion