CVE-2022-50785
Unknown Unknown - Not Provided
Use-After-Free Vulnerability in Linux Kernel fsi:occ Component

Publication date: 2025-12-30

Last updated on: 2025-12-30

Assigner: kernel.org

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't get freed while a file descriptor is open. Also, lock around the freeing of the device buffer and check the buffer before using it in the submit function.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-30
Last Modified
2025-12-30
Generated
2026-05-07
AI Q&A
2025-12-30
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability in the Linux kernel involves a use-after-free issue in the fsi: occ component. It occurs because the device can be freed while a file descriptor is still open. The fix involves using get_device and put_device in the open and close functions to ensure the device is not freed prematurely, and adding locking around the freeing of the device buffer as well as checking the buffer before using it in the submit function.


How can this vulnerability impact me? :

The use-after-free vulnerability could lead to undefined behavior such as system crashes, data corruption, or potential escalation of privileges if exploited, as it involves accessing memory that has already been freed while a file descriptor remains open.


What immediate steps should I take to mitigate this vulnerability?

Apply the updated Linux kernel patch that includes the fix for this vulnerability, which involves using get_device and put_device in the open and close functions and adding proper locking around device buffer freeing. Until the patch is applied, avoid using vulnerable kernel versions and monitor for updates from your Linux distribution.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart