{"id":"CVE-2022-50460","aliases":["CVE-2022-50460"],"related":[],"kind":"vulnerability","state":"published","title":"cifs: Fix xid leak in cifs_flock()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2025-10-01T11:45:32.484Z","modified":"2026-11-05T21:16:59.747Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"d0677992d2af3d65f1c1c21de3323d09d4891537","fixed":"2d08311aa3056a84bfdc09bc47777de6a9b16c30","status":"affected"},{"type":"git","introduced":"d0677992d2af3d65f1c1c21de3323d09d4891537","fixed":"8905d13b9ede4caa88c577faed832d6c7383f4fb","status":"affected"},{"type":"git","introduced":"d0677992d2af3d65f1c1c21de3323d09d4891537","fixed":"f8c9b4a963fec5d0e37e3e8522bb19b0c28e1a73","status":"affected"},{"type":"git","introduced":"d0677992d2af3d65f1c1c21de3323d09d4891537","fixed":"575e079c782b9862ec2626403922d041a42e6ed6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"5.10.152","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.76","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.6","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.5","fixed":"5.10.152"},{"status":"affected","introduced":"5.11","fixed":"5.15.76"},{"status":"affected","introduced":"5.16","fixed":"6.0.6"},{"status":"affected","version":"6.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/2d08311aa3056a84bfdc09bc47777de6a9b16c30","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8905d13b9ede4caa88c577faed832d6c7383f4fb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f8c9b4a963fec5d0e37e3e8522bb19b0c28e1a73","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/575e079c782b9862ec2626403922d041a42e6ed6","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:11:21.842Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50460","url":"https://www.cve.org/CVERecord?id=CVE-2022-50460","licence":"CVE Terms of Use","modified":"2026-11-05T20:20:46.684Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50460","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50460","licence":"Public domain","modified":"2026-11-05T21:16:59.747Z"}],"updatedAt":"2026-11-25T22:58:21.227Z","epss":{"score":0.00166,"percentile":0.0612,"date":"2026-12-01T12:00:22.000Z"}}