CVE-2022-50643

cifs: Fix xid leak in cifs_copy_file_range()

N/A
Published: December 9, 2025 at 12:00 AM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.7 ≤ v < 5.10.1525.7 ≤ v < 5.15.765.7 ≤ v < 6.0.65.7 ≤ v < 6.14e8aea30f7751ce7c4b158aa0c04e7744d281cc35.7
Vendor states this is fixed in 27cfd3afaab000a455194338db3b7f2031fde9d0 (fixed)
Vendor states this is fixed in 9a97df404a402fe1174d2d1119f87ff2a0ca2fe9 (fixed)
Vendor states this is fixed in bf49d4fe4ab7b8d812927a2c7b514864d5fc1bb2 (fixed)
Vendor states this is fixed in dc283313d1ca378d787cb55c1e580dc3de852680 (fixed)
Vendor states this is fixed in 5.10.152 (unaffected)
Vendor states this is fixed in 5.15.76 (unaffected)
Vendor states this is fixed in 5.7 (unaffected)
Vendor states this is fixed in 6.0.6 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card