Bug 2426040 (CVE-2022-50785) - CVE-2022-50785 kernel: fsi: occ: Prevent use after free
Summary: CVE-2022-50785 kernel: fsi: occ: Prevent use after free
Keywords:
Status: NEW
Alias: CVE-2022-50785
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-30 13:04 UTC by OSIDB Bzimport
Modified: 2025-12-31 13:46 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-30 13:04:09 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.