cifs: Fix xid leak in cifs_flock()
Summary
| CVE | CVE-2022-50460 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-10-01 12:15:39 UTC |
| Updated | 2026-11-05 21:16:59 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-401
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected d0677992d2af3d65f1c1c21de3323d09d4891537 2d08311aa3056a84bfdc09bc47777de6a9b16c30 git | Not specified |
| CNA | Linux | Linux | affected d0677992d2af3d65f1c1c21de3323d09d4891537 8905d13b9ede4caa88c577faed832d6c7383f4fb git | Not specified |
| CNA | Linux | Linux | affected d0677992d2af3d65f1c1c21de3323d09d4891537 f8c9b4a963fec5d0e37e3e8522bb19b0c28e1a73 git | Not specified |
| CNA | Linux | Linux | affected d0677992d2af3d65f1c1c21de3323d09d4891537 575e079c782b9862ec2626403922d041a42e6ed6 git | Not specified |
| CNA | Linux | Linux | affected 5.5 | Not specified |
| CNA | Linux | Linux | unaffected 5.5 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.152 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.76 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.0.6 6.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/2d08311aa3056a84bfdc09bc47777de6a9b16c30 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/575e079c782b9862ec2626403922d041a42e6ed6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/f8c9b4a963fec5d0e37e3e8522bb19b0c28e1a73 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/8905d13b9ede4caa88c577faed832d6c7383f4fb | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.