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
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
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
- https://git.kernel.org/stable/c/08ff0e74fab517dbc44e11b8bc683dd4ecc65950
- https://git.kernel.org/stable/c/1946014ca3b19be9e485e780e862c375c6f98bad
- https://git.kernel.org/stable/c/41024a40f6c793abbb916a857f18fb009f07464c
- https://git.kernel.org/stable/c/571d8e1d154ca18f08dcb72b69318d36e10010a0
- https://git.kernel.org/stable/c/7ee84d29f22de6f6c63fad6c54690517659862f1
- https://git.kernel.org/stable/c/864297ee30727ae6233f80296b7fc91442620b05
- https://git.kernel.org/stable/c/cd8aef1f30d1215648e4e6686cfb422004851429
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.17.3