{"id":75144,"date":"2025-12-30T15:33:22","date_gmt":"2025-12-30T12:03:22","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2022-50785-fsi-occ-prevent-use-after-free\/"},"modified":"2025-12-30T15:33:22","modified_gmt":"2025-12-30T12:03:22","slug":"cve-2022-50785-fsi-occ-prevent-use-after-free","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2022-50785-fsi-occ-prevent-use-after-free\/","title":{"rendered":"CVE-2022-50785 &#8211; fsi: occ: Prevent use after free"},"content":{"rendered":"<p>CVE ID : CVE-2022-50785<\/p>\n<p>Published :  Dec. 30, 2025, 12:03 p.m. | 20\u00a0minutes ago<\/p>\n<p>Description : In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>fsi: occ: Prevent use after free<\/p>\n<p>Use get_device and put_device in the open and close functions to<br \/>\nmake sure the device doesn&#8217;t get freed while a file descriptor is<br \/>\nopen.<br \/>\nAlso, lock around the freeing of the device buffer and check the<br \/>\nbuffer before using it in the submit function.<\/p>\n<p>Severity: 0.0 | NA<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2022-50785 Published : Dec. 30, 2025, 12:03 p.m. | 20\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: fsi: occ: Prevent use after free Use get_device and put_device in the open and close functions to make sure the device doesn&#8217;t get freed while a file descriptor is &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-75144","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/75144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=75144"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/75144\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=75144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=75144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=75144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}