CVE-2022-50460: cifs: Fix xid leak in cifs_flock()

Published Oct 1, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

cifs: Fix xid leak in cifsflock()

If not flock, before return -ENOLCK, should free the xid, otherwise, the xid will be leaked.

Affected Software

5 affected components
Linux Kernel
Linux Linux kernel>=5.5<5.10.152
Linux Linux kernel>=5.11<5.15.76
Linux Linux kernel>=5.16<6.0.6
Linux Linux kernel=6.1-rc1

Event History

Oct 1, 2025
CVE Published
via MITRE·11:45 AM
Data Sourced
via MITRE·11:45 AM
Description
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-50460?

CVE-2022-50460 is considered a moderate severity vulnerability due to its potential impact on resource management in the Linux kernel.

2

What does CVE-2022-50460 affect?

CVE-2022-50460 affects the Linux kernel, specifically the CIFS (Common Internet File System) implementation.

3

How do I fix CVE-2022-50460?

To fix CVE-2022-50460, update your Linux kernel to the latest stable version that includes the patch for this vulnerability.

4

What is the nature of the issue in CVE-2022-50460?

CVE-2022-50460 involves an xid leak occurring in the cifs_flock() function when returning -ENOLCK without freeing the xid.

5

Is CVE-2022-50460 exploitable in the wild?

There have been no confirmed reports of exploitation of CVE-2022-50460 in the wild as of now.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203