Use-after-free in Linux kernel - CVE-2022-50552

 

Use-after-free in Linux kernel - CVE-2022-50552

Published: October 8, 2025 / Updated: October 26, 2025


Vulnerability identifier: #VU116755
CSH Severity: Low
CVSS v4 BT: 5.9 [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-50552
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error within the elv_unregister() and elevator_init_mq() functions in block/elevator.c. A local user can escalate privileges on the system.


Affected software

Linux kernel
openEuler
Ubuntu
bpftool
kernel
python3-perf-debuginfo
python3-perf
python2-perf-debuginfo
python2-perf
perf-debuginfo
perf
kernel-tools-devel
kernel-tools
kernel-source
kernel-devel
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
kernel-tools-debuginfo
linux (Ubuntu package)
linux-aws (Ubuntu package)
linux-nvidia-tegra (Ubuntu package)
linux-nvidia-tegra-5.15 (Ubuntu package)
linux-azure (Ubuntu package)
linux-azure-5.15 (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-azure-fde (Ubuntu package)

How to mitigate CVE-2022-50552

Install update from vendor's repository.

Linux kernel - update to 6.0.3
bpftool - update to 4.19.90-2511.2.0.0351
kernel - update to 4.19.90-2511.2.0.0351
python3-perf-debuginfo - update to 4.19.90-2511.2.0.0351
python3-perf - update to 4.19.90-2511.2.0.0351
python2-perf-debuginfo - update to 4.19.90-2511.2.0.0351
python2-perf - update to 4.19.90-2511.2.0.0351
perf-debuginfo - update to 4.19.90-2511.2.0.0351
perf - update to 4.19.90-2511.2.0.0351
kernel-tools-devel - update to 4.19.90-2511.2.0.0351
kernel-tools - update to 4.19.90-2511.2.0.0351
kernel-source - update to 4.19.90-2511.2.0.0351
kernel-devel - update to 4.19.90-2511.2.0.0351
kernel-debugsource - update to 4.19.90-2511.2.0.0351
kernel-debuginfo - update to 4.19.90-2511.2.0.0351
bpftool-debuginfo - update to 4.19.90-2511.2.0.0351
kernel-tools-debuginfo - update to 4.19.90-2511.2.0.0351
linux (Ubuntu package) - addressed in versions 5.15.0.184.155, 5.15.0-184.194, 5.15.0-184.194~20.04.1, 5.15.0.186.166, 5.15.0-186.196, 5.15.0-186.196~20.04.1, 5.15.0.1075.78, 5.15.0-1075.79, 5.15.0.1095.94, 5.15.0-1095.103, 5.15.0.1104.100, 5.15.0-1104.109, 5.15.0.1108.107, 5.15.0-1108.114, 5.15.0.1111.115, 5.15.0-1111.120+fips1, 5.15.0.1112.102, 5.15.0.1112.109, 5.15.0-1112.122, 5.15.0-1112.122+fips1
linux-aws (Ubuntu package) - addressed in versions 5.15.0.186.109, 5.15.0-186.196+fips1, 5.15.0.1106.103, 5.15.0-1106.110, 5.15.0.1107.107, 5.15.0-1107.108, 5.15.0.1112.108, 5.15.0.1112.115, 5.15.0-1112.119, 5.15.0-1112.119+fips1, 5.15.0-1112.119~20.04.1
linux-nvidia-tegra (Ubuntu package) - addressed in versions 5.15.0-1053.53, 5.15.0.1053.55, 5.15.0.1064.64, 5.15.0-1064.66
linux-nvidia-tegra-5.15 (Ubuntu package) - update to 5.15.0-1064.66~20.04.1
linux-azure (Ubuntu package) - addressed in versions 5.15.0.1109.105, 5.15.0-1109.115, 5.15.0.1117.115, 5.15.0-1117.126
linux-azure-5.15 (Ubuntu package) - addressed in versions 5.15.0-1109.115~20.04.1, 5.15.0-1117.126~20.04.1, 5.15.0-1117.126~20.04.2
linux-azure-fips (Ubuntu package) - addressed in versions 5.15.0.1117.102, 5.15.0-1117.126+fips1
linux-azure-fde (Ubuntu package) - update to 5.15.0-1117.126

External References

Related Security Bulletins