Use-after-free in Linux kernel - CVE-2022-50785
Published: December 30, 2025 / Updated: December 31, 2025
Vulnerability identifier: #VU120737
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-50785
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a use-after-free error within the occ_open(), occ_release(), fsi_occ_submit() and occ_remove() functions in drivers/fsi/fsi-occ.c. A local user can escalate privileges on the system.
How to mitigate CVE-2022-50785
Install update from vendor's repository.
Sources
- https://git.kernel.org/stable/c/1d5ad0a874ddfcee9f932f54b1d34cbe8b9ddcfe
- https://git.kernel.org/stable/c/3593e8efc9f0dac6be70bd5c964eadaa86bf2713
- https://git.kernel.org/stable/c/d3e1e24604031b0d83b6c2d38f54eeea265cfcc0
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19.17
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.0.3
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1