CVE-2022-50460Published Oct 1, 2025 · Oct 1Updated Nov 7
cifs: Fix xid leak in cifs_flock()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
cifs: Fix xid leak in cifs_flock()
If not flock, before return -ENOLCK, should free the xid, otherwise, the xid will be leaked.
From the CVE record · Linux
The Linux kernel's cifs_flock() can leak an xid when a non-flock operation returns -ENOLCK. An attacker who can trigger this path could cause an xid leak; the input does not specify access requirements or user interaction.
Engineers running Linux kernels with the affected cifs_flock() code should check their versions; affected versions are not specified.