What’s Vulnerable › Vulnerabilities
CVE-2022-50460: cifs: Fix xid leak in cifs_flock()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-01 · updated 2026-06-17
- Weakness: CWE-401
Description
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.
Affected products
- Linux kernel: from 5.5 before 5.10.152; from 5.11 before 5.15.76; from 5.16 before 6.0.6; 6.1-rc1 — fixed in 5.10.152, 5.15.76, 6.0.6
How to fix
Upgrade to a fixed version: Linux kernel 5.10.152, 5.15.76, 6.0.6. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2d08311aa3056a84bfdc09bc47777de6a9b16c30
- https://git.kernel.org/stable/c/575e079c782b9862ec2626403922d041a42e6ed6
- https://git.kernel.org/stable/c/8905d13b9ede4caa88c577faed832d6c7383f4fb
- https://git.kernel.org/stable/c/f8c9b4a963fec5d0e37e3e8522bb19b0c28e1a73
Get alerted when CVE-2022-50460 or the next vulnerability affects your stack