Use-after-free in Linux kernel - CVE-2021-47123

 

Use-after-free in Linux kernel - CVE-2021-47123

Published: May 31, 2024 / Updated: May 14, 2025


Vulnerability identifier: #VU90226
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-2021-47123
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 io_link_timeout_fn() function in fs/io_uring.c. A local user can escalate privileges on the system.


Affected software

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

How to mitigate CVE-2021-47123

Install update from vendor's website.

Linux kernel - addressed in versions 5.12.10, 5.13
kernel - update to 4.19.90-2405.1.0.0248
python2-perf-debuginfo - update to 4.19.90-2405.1.0.0248
kernel-debugsource - update to 4.19.90-2405.1.0.0248
python3-perf - update to 4.19.90-2405.1.0.0248
kernel-source - update to 4.19.90-2405.1.0.0248
kernel-tools-debuginfo - update to 4.19.90-2405.1.0.0248
bpftool-debuginfo - update to 4.19.90-2405.1.0.0248
python2-perf - update to 4.19.90-2405.1.0.0248
kernel-debuginfo - update to 4.19.90-2405.1.0.0248
kernel-tools-devel - update to 4.19.90-2405.1.0.0248
kernel-tools - update to 4.19.90-2405.1.0.0248
perf-debuginfo - update to 4.19.90-2405.1.0.0248
python3-perf-debuginfo - update to 4.19.90-2405.1.0.0248
kernel-devel - update to 4.19.90-2405.1.0.0248
bpftool - update to 4.19.90-2405.1.0.0248
perf - update to 4.19.90-2405.1.0.0248

External References

Related Security Bulletins