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