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.
[ { "signature_type": "Function", "id": "CVE-2022-50460-109007df", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d08311aa3056a84bfdc09bc47777de6a9b16c30", "signature_version": "v1", "target": { "function": "cifs_flock", "file": "fs/cifs/file.c" }, "digest": { "function_hash": "203296642856248434648058576054139326984", "length": 830.0 }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2022-50460-1dba0d6f", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8905d13b9ede4caa88c577faed832d6c7383f4fb", "signature_version": "v1", "target": { "file": "fs/cifs/file.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "60374275059093800876220461708796712371", "333365311152903069205580399459904236139", "86114941105697913294332396343556278624", "52154571320040597649510961853030318307", "8032003457037678117215182873404150112", "74373845732707486261815199833329570251", "6846201206323073193439820668381489882", "114804821378513668511089504893327215910", "137655158527255253051985763038021024246", "22433829088406212626426879730727471337", "179832298616373416884574001006240385078", "134109067778375868547629344714139686920" ] }, "deprecated": false }, { "signature_type": "Function", "id": "CVE-2022-50460-214f58bc", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8905d13b9ede4caa88c577faed832d6c7383f4fb", "signature_version": "v1", "target": { "function": "cifs_flock", "file": "fs/cifs/file.c" }, "digest": { "function_hash": "203296642856248434648058576054139326984", "length": 830.0 }, "deprecated": false }, { "signature_type": "Line", "id": "CVE-2022-50460-bcc706a9", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d08311aa3056a84bfdc09bc47777de6a9b16c30", "signature_version": "v1", "target": { "file": "fs/cifs/file.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "60374275059093800876220461708796712371", "333365311152903069205580399459904236139", "86114941105697913294332396343556278624", "52154571320040597649510961853030318307", "8032003457037678117215182873404150112", "74373845732707486261815199833329570251", "6846201206323073193439820668381489882", "114804821378513668511089504893327215910", "137655158527255253051985763038021024246", "22433829088406212626426879730727471337", "179832298616373416884574001006240385078", "134109067778375868547629344714139686920" ] }, "deprecated": false } ]