{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50460","id":"CVE-2022-50460","title":"cifs: Fix xid leak in cifs_flock()","description":"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.","descriptionLong":"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.","published":"2025-10-01T11:45:32.484Z","updated":"2026-11-07T02:30:36.382461763Z","reserved":"2025-10-01T11:38:45.641Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d0677992d2af3d65f1c1c21de3323d09d4891537","lessThan":"2d08311aa3056a84bfdc09bc47777de6a9b16c30","status":"affected","versionType":"git"},{"version":"d0677992d2af3d65f1c1c21de3323d09d4891537","lessThan":"8905d13b9ede4caa88c577faed832d6c7383f4fb","status":"affected","versionType":"git"},{"version":"d0677992d2af3d65f1c1c21de3323d09d4891537","lessThan":"f8c9b4a963fec5d0e37e3e8522bb19b0c28e1a73","status":"affected","versionType":"git"},{"version":"d0677992d2af3d65f1c1c21de3323d09d4891537","lessThan":"575e079c782b9862ec2626403922d041a42e6ed6","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","lessThan":"5.5","status":"unaffected","versionType":"semver"},{"version":"5.10.152","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.76","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.6","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/2d08311aa3056a84bfdc09bc47777de6a9b16c30","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8905d13b9ede4caa88c577faed832d6c7383f4fb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f8c9b4a963fec5d0e37e3e8522bb19b0c28e1a73","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/575e079c782b9862ec2626403922d041a42e6ed6","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50460.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50460","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00159,"epssPercentile":0.05157,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50460","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50460","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50460","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50460","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}