{"id":"CVE-2022-50643","summary":"cifs: Fix xid leak in cifs_copy_file_range()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: Fix xid leak in cifs_copy_file_range()\n\nIf the file is used by swap, before return -EOPNOTSUPP, should\nfree the xid, otherwise, the xid will be leaked.","modified":"2026-05-18T05:57:00.348992002Z","published":"2025-12-09T00:00:17.684Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0316-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50643.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/27cfd3afaab000a455194338db3b7f2031fde9d0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a97df404a402fe1174d2d1119f87ff2a0ca2fe9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bf49d4fe4ab7b8d812927a2c7b514864d5fc1bb2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dc283313d1ca378d787cb55c1e580dc3de852680"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50643.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50643"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.7.5"}