CVE-2022-50785
Unknown Unknown - Not Provided

Use-After-Free Vulnerability in Linux Kernel fsi:occ Component

Vulnerability report for CVE-2022-50785, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

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-07-06
AI Q&A
2025-12-30
EPSS Evaluated
2026-07-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 Quick Actions

Instant insights powered by AI
Executive Summary

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.

Impact Analysis

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.

Mitigation Strategies

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.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2022-50785. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart