What’s Vulnerable › Vulnerabilities
CVE-2022-50643: cifs: Fix xid leak in cifs_copy_file_range()
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-09 · updated 2026-06-17
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.
Affected products
- Linux kernel: 5.7 — fixed in 6.1
How to fix
Upgrade to a fixed version: Linux kernel 6.1. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/27cfd3afaab000a455194338db3b7f2031fde9d0
- https://git.kernel.org/stable/c/9a97df404a402fe1174d2d1119f87ff2a0ca2fe9
- https://git.kernel.org/stable/c/bf49d4fe4ab7b8d812927a2c7b514864d5fc1bb2
- https://git.kernel.org/stable/c/dc283313d1ca378d787cb55c1e580dc3de852680
Get alerted when CVE-2022-50643 or the next vulnerability affects your stack