Use-after-free in Linux kernel - CVE-2022-50666
Published: December 10, 2025 / Updated: December 12, 2025
Vulnerability identifier: #VU119704
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-50666
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 siw_create_qp() and siw_destroy_qp() functions in drivers/infiniband/sw/siw/siw_verbs.c. A local user can escalate privileges on the system.
How to mitigate CVE-2022-50666
Install update from vendor's repository.
Sources
- https://git.kernel.org/stable/c/0ed8bf9d0bb19f3f5eedd73f04aaf5bba9ac0737
- https://git.kernel.org/stable/c/5c75d608fad58301b63e7d69200c13c3a1d411da
- https://git.kernel.org/stable/c/74ad141e995a730760b1bcfa14854b7f1057d6bc
- https://git.kernel.org/stable/c/a3c278807a459e6f50afee6971cabe74cccfb490
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.75
- 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