Use-after-free in Linux kernel - CVE-2020-36387
Published: June 7, 2021 / Updated: February 24, 2023
Vulnerability identifier: #VU83430
CSH Severity: Low
CVSS v4: 8.5 [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]
CVE-ID: CVE-2020-36387
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local authenticated user to escalate privileges on the system.
The vulnerability exists due to a use-after-free error within thefs/io_uring.c. A local authenticated user can trigger a use-after-free error and escalate privileges on the system.
Affected software
Linux kernel
openEuler
kernel
kernel-devel
perf
kernel-debugsource
python2-perf
python3-perf-debuginfo
bpftool
python3-perf
bpftool-debuginfo
kernel-source
kernel-tools-devel
kernel-debuginfo
kernel-tools
perf-debuginfo
python2-perf-debuginfo
kernel-tools-debuginfo
openEuler
kernel
kernel-devel
perf
kernel-debugsource
python2-perf
python3-perf-debuginfo
bpftool
python3-perf
bpftool-debuginfo
kernel-source
kernel-tools-devel
kernel-debuginfo
kernel-tools
perf-debuginfo
python2-perf-debuginfo
kernel-tools-debuginfo
How to mitigate CVE-2020-36387
Install update from vendor's website.
Linux kernel - update to 5.8.2
kernel - update to 4.19.90-2107.4.0.0097
kernel-devel - update to 4.19.90-2107.4.0.0097
perf - update to 4.19.90-2107.4.0.0097
kernel-debugsource - update to 4.19.90-2107.4.0.0097
python2-perf - update to 4.19.90-2107.4.0.0097
python3-perf-debuginfo - update to 4.19.90-2107.4.0.0097
bpftool - update to 4.19.90-2107.4.0.0097
python3-perf - update to 4.19.90-2107.4.0.0097
bpftool-debuginfo - update to 4.19.90-2107.4.0.0097
kernel-source - update to 4.19.90-2107.4.0.0097
kernel-tools-devel - update to 4.19.90-2107.4.0.0097
kernel-debuginfo - update to 4.19.90-2107.4.0.0097
kernel-tools - update to 4.19.90-2107.4.0.0097
perf-debuginfo - update to 4.19.90-2107.4.0.0097
python2-perf-debuginfo - update to 4.19.90-2107.4.0.0097
kernel-tools-debuginfo - update to 4.19.90-2107.4.0.0097
kernel - update to 4.19.90-2107.4.0.0097
kernel-devel - update to 4.19.90-2107.4.0.0097
perf - update to 4.19.90-2107.4.0.0097
kernel-debugsource - update to 4.19.90-2107.4.0.0097
python2-perf - update to 4.19.90-2107.4.0.0097
python3-perf-debuginfo - update to 4.19.90-2107.4.0.0097
bpftool - update to 4.19.90-2107.4.0.0097
python3-perf - update to 4.19.90-2107.4.0.0097
bpftool-debuginfo - update to 4.19.90-2107.4.0.0097
kernel-source - update to 4.19.90-2107.4.0.0097
kernel-tools-devel - update to 4.19.90-2107.4.0.0097
kernel-debuginfo - update to 4.19.90-2107.4.0.0097
kernel-tools - update to 4.19.90-2107.4.0.0097
perf-debuginfo - update to 4.19.90-2107.4.0.0097
python2-perf-debuginfo - update to 4.19.90-2107.4.0.0097
kernel-tools-debuginfo - update to 4.19.90-2107.4.0.0097
External References
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.8.2
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6d816e088c359866f9867057e04f244c608c42fe
- https://sites.google.com/view/syzscope/kasan-use-after-free-read-in-io_async_task_func
- https://syzkaller.appspot.com/bug?id=ce5f07d6ec3b5050b8f0728a3b389aa510f2591b
- https://security.netapp.com/advisory/ntap-20210727-0006/