CVE-2022-50643Published Dec 9, 2025 · Dec 9Updated Nov 12
cifs: Fix xid leak in cifs_copy_file_range()
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's CIFS copy_file_range function leaks an xid when the file is used by swap and the function returns EOPNOTSUPP. The input does not describe an attacker action, access requirement, or user interaction needed to trigger it.
Engineers running the Linux kernel with CIFS should check their deployments; affected versions are not specified.