CVE-2022-50643

published 9 Dec 2025 · updated 12 Nov 2026

cifs: Fix xid leak in cifs_copy_file_range()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel dc283313d1ca378d787cb55c1e580dc3de852680, Kernel 27cfd3afaab000a455194338db3b7f2031fde9d0, Kernel 9a97df404a402fe1174d2d1119f87ff2a0ca2fe9 and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=4e8aea30f7751ce7c4b158aa0c04e7744d281cc3 <dc283313d1ca378d787cb55c1e580dc3de852680, >=4e8aea30f7751ce7c4b158aa0c04e7744d281cc3 <27cfd3afaab000a455194338db3b7f2031fde9d0, >=4e8aea30f7751ce7c4b158aa0c04e7744d281cc3 <9a97df404a402fe1174d2d1119f87ff2a0ca2fe9, >=4e8aea30f7751ce7c4b158aa0c04e7744d281cc3 <bf49d4fe4ab7b8d812927a2c7b514864d5fc1bb2, =5.7dc283313d1ca378d787cb55c1e580dc3de852680, 27cfd3afaab000a455194338db3b7f2031fde9d0, 9a97df404a402fe1174d2d1119f87ff2a0ca2fe9, bf49d4fe4ab7b8d812927a2c7b514864d5fc1bb2
linux-kernel: Kernel>=5.16.0 <6.0.6, >=5.7.0 <5.10.152, >=5.11.0 <5.15.766.0.6, 5.10.152, 5.15.76

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50643 severity on Zeptric[![CVE-2022-50643](https://zeptric.io/badge/cve/CVE-2022-50643.svg)](https://zeptric.io/cve/CVE-2022-50643)