{"id":"CVE-2022-50785","published":"2025-12-30T12:03:22Z","modified":"2026-08-05T08:59:46Z","title":"fsi: occ: Prevent use after free","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00208,"percentile":0.06203,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/1d5ad0a874ddfcee9f932f54b1d34cbe8b9ddcfe","tags":[]},{"url":"https://git.kernel.org/stable/c/3593e8efc9f0dac6be70bd5c964eadaa86bf2713","tags":[]},{"url":"https://git.kernel.org/stable/c/d3e1e24604031b0d83b6c2d38f54eeea265cfcc0","tags":[]}],"priority":{"score":6.7,"factors":[{"name":"EPSS percentile","points":1.24},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 008d3825a805557464c5e75f9eb806a3aa2f5e6d, < 1d5ad0a874ddfcee9f932f54b1d34cbe8b9ddcfe",">= 008d3825a805557464c5e75f9eb806a3aa2f5e6d, < 3593e8efc9f0dac6be70bd5c964eadaa86bf2713",">= 008d3825a805557464c5e75f9eb806a3aa2f5e6d, < d3e1e24604031b0d83b6c2d38f54eeea265cfcc0"]},{"vendor":"Linux","product":"Linux","versions":["5.16"]}],"euvd":{"id":"EUVD-2025-205765","exploited":false,"provenance":"source"}}