{"id":"CVE-2022-50785","aliases":["CVE-2022-50785"],"related":[],"kind":"vulnerability","state":"published","title":"fsi: occ: Prevent use after free","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfsi: occ: Prevent use after free\n\nUse get_device and put_device in the open and close functions to\nmake sure the device doesn't get freed while a file descriptor is\nopen.\nAlso, lock around the freeing of the device buffer and check the\nbuffer before using it in the submit function.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfsi: occ: Prevent use after free\n\nUse get_device and put_device in the open and close functions to\nmake sure the device doesn't get freed while a file descriptor is\nopen.\nAlso, lock around the freeing of the device buffer and check the\nbuffer before using it in the submit function.","source":"cvelist"}],"published":"2025-12-30T12:03:22.224Z","modified":"2026-08-05T08:59:46.661Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"008d3825a805557464c5e75f9eb806a3aa2f5e6d","fixed":"1d5ad0a874ddfcee9f932f54b1d34cbe8b9ddcfe","status":"affected"},{"type":"git","introduced":"008d3825a805557464c5e75f9eb806a3aa2f5e6d","fixed":"3593e8efc9f0dac6be70bd5c964eadaa86bf2713","status":"affected"},{"type":"git","introduced":"008d3825a805557464c5e75f9eb806a3aa2f5e6d","fixed":"d3e1e24604031b0d83b6c2d38f54eeea265cfcc0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"5.19.17","lastAffected":"5.19.*","status":"unaffected"},{"type":"semver","introduced":"6.0.3","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"}],"references":[{"url":"https://git.kernel.org/stable/c/1d5ad0a874ddfcee9f932f54b1d34cbe8b9ddcfe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3593e8efc9f0dac6be70bd5c964eadaa86bf2713","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d3e1e24604031b0d83b6c2d38f54eeea265cfcc0","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50785","url":"https://www.cve.org/CVERecord?id=CVE-2022-50785","licence":"CVE Terms of Use","modified":"2026-08-05T08:59:46.661Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50785","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50785","licence":"Public domain","modified":"2026-08-04T10:18:24.200Z"}],"updatedAt":"2026-11-25T22:58:21.361Z","epss":{"score":0.00148,"percentile":0.0423,"date":"2026-12-01T12:00:22.000Z"}}