CVE-2022-50460

cifs: Fix xid leak in cifs_flock()

MEDIUM
5.5
CVSS Score
Published: October 1, 2025 at 11:45 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
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

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

5.11 ≤ v < 5.15.765.16 ≤ v < 6.0.65.5 ≤ v < 5.10.1525.5 ≤ v < 5.15.765.5 ≤ v < 6.0.65.5 ≤ v < 6.15.56.1 rc1d0677992d2af3d65f1c1c21de3323d09d4891537
Vendor states this is fixed in 2d08311aa3056a84bfdc09bc47777de6a9b16c30 (fixed)
Vendor states this is fixed in 575e079c782b9862ec2626403922d041a42e6ed6 (fixed)
Vendor states this is fixed in 8905d13b9ede4caa88c577faed832d6c7383f4fb (fixed)
Vendor states this is fixed in f8c9b4a963fec5d0e37e3e8522bb19b0c28e1a73 (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.5 (unaffected)
Vendor states this is fixed in 6.0.6 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

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