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

 

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

Published: February 26, 2025 / Updated: May 11, 2025


Vulnerability identifier: #VU104473
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-49087
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 rxrpc_exit_net() function in net/rxrpc/net_ns.c. A local user can escalate privileges on the system.


Affected software

Linux kernel
openEuler
kernel
bpftool
bpftool-debuginfo
kernel-debuginfo
kernel-debugsource
kernel-devel
kernel-source
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
perf
perf-debuginfo
python2-perf
python2-perf-debuginfo
python3-perf
python3-perf-debuginfo

How to mitigate CVE-2022-49087

Install update from vendor's website.

Linux kernel - update to 5.17.3
kernel - update to 4.19.90-2503.4.0.0320
bpftool - update to 4.19.90-2503.4.0.0320
bpftool-debuginfo - update to 4.19.90-2503.4.0.0320
kernel-debuginfo - update to 4.19.90-2503.4.0.0320
kernel-debugsource - update to 4.19.90-2503.4.0.0320
kernel-devel - update to 4.19.90-2503.4.0.0320
kernel-source - update to 4.19.90-2503.4.0.0320
kernel-tools - update to 4.19.90-2503.4.0.0320
kernel-tools-debuginfo - update to 4.19.90-2503.4.0.0320
kernel-tools-devel - update to 4.19.90-2503.4.0.0320
perf - update to 4.19.90-2503.4.0.0320
perf-debuginfo - update to 4.19.90-2503.4.0.0320
python2-perf - update to 4.19.90-2503.4.0.0320
python2-perf-debuginfo - update to 4.19.90-2503.4.0.0320
python3-perf - update to 4.19.90-2503.4.0.0320
python3-perf-debuginfo - update to 4.19.90-2503.4.0.0320

External References

Related Security Bulletins