CVE-2022-50460

published 1 Oct 2025 · updated 7 Nov 2026

cifs: Fix xid leak in cifs_flock()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.15.76, Kernel 6.0.6, Kernel 5.10.152 and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.11 <5.15.76, >=5.16 <6.0.6, >=5.5 <5.10.152, =6.1, >=d0677992d2af3d65f1c1c21de3323d09d4891537 <575e079c782b9862ec2626403922d041a42e6ed6, >=d0677992d2af3d65f1c1c21de3323d09d4891537 <8905d13b9ede4caa88c577faed832d6c7383f4fb, >=d0677992d2af3d65f1c1c21de3323d09d4891537 <f8c9b4a963fec5d0e37e3e8522bb19b0c28e1a73, =5.5, >=d0677992d2af3d65f1c1c21de3323d09d4891537 <2d08311aa3056a84bfdc09bc47777de6a9b16c305.15.76, 6.0.6, 5.10.152, 575e079c782b9862ec2626403922d041a42e6ed6, 8905d13b9ede4caa88c577faed832d6c7383f4fb, f8c9b4a963fec5d0e37e3e8522bb19b0c28e1a73, 2d08311aa3056a84bfdc09bc47777de6a9b16c30
linux-kernel: Kernel>=5.11.0 <5.15.76, >=5.16.0 <6.0.6, >=5.5.0 <5.10.1525.15.76, 6.0.6, 5.10.152

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50460 severity on Zeptric[![CVE-2022-50460](https://zeptric.io/badge/cve/CVE-2022-50460.svg)](https://zeptric.io/cve/CVE-2022-50460)