{"id":"CVE-2022-50460","summary":"cifs: Fix xid leak in cifs_flock()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: Fix xid leak in cifs_flock()\n\nIf not flock, before return -ENOLCK, should free the xid,\notherwise, the xid will be leaked.","modified":"2026-04-02T08:28:31.685965Z","published":"2025-10-01T11:45:32.484Z","related":["SUSE-SU-2025:03614-1","SUSE-SU-2025:03615-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3761-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50460.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2d08311aa3056a84bfdc09bc47777de6a9b16c30"},{"type":"WEB","url":"https://git.kernel.org/stable/c/575e079c782b9862ec2626403922d041a42e6ed6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8905d13b9ede4caa88c577faed832d6c7383f4fb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f8c9b4a963fec5d0e37e3e8522bb19b0c28e1a73"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50460.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50460"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d0677992d2af3d65f1c1c21de3323d09d4891537"},{"fixed":"2d08311aa3056a84bfdc09bc47777de6a9b16c30"},{"fixed":"8905d13b9ede4caa88c577faed832d6c7383f4fb"},{"fixed":"f8c9b4a963fec5d0e37e3e8522bb19b0c28e1a73"},{"fixed":"575e079c782b9862ec2626403922d041a42e6ed6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50460.json"}}],"schema_version":"1.7.5"}