CVE-2022-50460

cifs: Fix xid leak in cifs_flock()

State
Published
Severity
Not scored
Published
Oct 1, 2025
Updated
May 11, 2026
Reserved
Oct 1, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d0677992d2af3d65f1c1c21de3323d09d4891537 to before 2d08311aa3056a84bfdc09bc47777de6a9b16c30Affected
  • d0677992d2af3d65f1c1c21de3323d09d4891537 to before 8905d13b9ede4caa88c577faed832d6c7383f4fbAffected
  • d0677992d2af3d65f1c1c21de3323d09d4891537 to before f8c9b4a963fec5d0e37e3e8522bb19b0c28e1a73Affected
  • d0677992d2af3d65f1c1c21de3323d09d4891537 to before 575e079c782b9862ec2626403922d041a42e6ed6Affected
LinuxLinux
  • 5.5Affected
  • before 5.5Not affected
  • 5.10.152 through 5.10.*Not affected
  • 5.15.76 through 5.15.*Not affected
  • 6.0.6 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.