CVE-2020-12657 Use after free in n/a
A use-after-free in the Linux kernel BFQ I/O scheduler allows local attackers to execute arbitrary code or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-12657?
CVE-2020-12657 is a high-severity use after free vulnerability in Linux kernel, published on 5 May 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An issue was discovered in the Linux kernel before 5.6.5. There is a use-after-free in block/bfq-iosched.c related to bfq_idle_slice_timer_body.
Weakness: CWE-416
Which versions are affected by CVE-2020-12657?
It affects 1 product.
Linux distribution packages (40)
bpftool Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
bpftool-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-abi-whitelists Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-core Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-debug Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-debug-core Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-debug-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-debug-devel Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-debug-modules Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-debug-modules-extra Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-debuginfo-common-aarch64 Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-debuginfo-common-ppc64le Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-debuginfo-common-s390x Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-debuginfo-common-x86_64 Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-devel Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-doc Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-modules Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-modules-extra Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-tools Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-tools-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-tools-libs Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-zfcpdump Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-zfcpdump-core Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-zfcpdump-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-zfcpdump-devel Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-zfcpdump-modules Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kernel-zfcpdump-modules-extra Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
kpatch-patch-4_18_0-193 Red Hat:enterprise_linux:8::baseos | All versions | 0:1-3.el8 |
kpatch-patch-4_18_0-193-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:1-3.el8 |
kpatch-patch-4_18_0-193-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:1-3.el8 |
kpatch-patch-4_18_0-193_1_2 Red Hat:enterprise_linux:8::baseos | All versions | 0:1-1.el8_2 |
kpatch-patch-4_18_0-193_1_2-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:1-1.el8_2 |
kpatch-patch-4_18_0-193_1_2-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:1-1.el8_2 |
perf Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
perf-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
python3-perf Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
python3-perf-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:4.18.0-193.6.3.el8_2 |
bpftool-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:4.18.0-193.6.3.el8_2 |
Products include Linux kernel.
How do I fix CVE-2020-12657?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2020-12657 being exploited?
There is no known exploitation of CVE-2020-12657 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2020-12657, GHSA-9rm7-vxm7-wq42, RHSA-2020:2427, RHSA-2020:2428, RHSA-2020:2567, RHSA-2020:2667 and 2 more.