CVE-2022-50643

Source
https://cve.org/CVERecord?id=CVE-2022-50643
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50643.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50643
Downstream
Related
Published
2025-12-09T00:00:17.684Z
Modified
2026-03-12T03:26:41.533482Z
Summary
cifs: Fix xid leak in cifs_copy_file_range()
Details

In the Linux kernel, the following vulnerability has been resolved:

cifs: Fix xid leak in cifscopyfile_range()

If the file is used by swap, before return -EOPNOTSUPP, should free the xid, otherwise, the xid will be leaked.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50643.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4e8aea30f7751ce7c4b158aa0c04e7744d281cc3
Fixed
bf49d4fe4ab7b8d812927a2c7b514864d5fc1bb2
Fixed
27cfd3afaab000a455194338db3b7f2031fde9d0
Fixed
dc283313d1ca378d787cb55c1e580dc3de852680
Fixed
9a97df404a402fe1174d2d1119f87ff2a0ca2fe9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50643.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.7.0
Fixed
5.10.152
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.76
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50643.json"