CVE-2020-12657
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 4.6AV:L/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.71%• Percentile: 52%
Techniques & Countermeasures
- CWE-416•Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected Systems
- debian•linux
< 5.6.7-1 | < 5.6.7-1 | < 5.6.7-1 | < 5.6.7-1
- ubuntu•linux
< 4.15.0-101.102 | < 5.4.0-31.35
- ubuntu•linux-aws
< 4.15.0-1067.71 | < 5.4.0-1011.11
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.3
< 5.3.0-1019.21~18.04.1
- ubuntu•linux-aws-fips
< 4.15.0-2018.18 | all
- ubuntu•linux-aws-hwe
< 4.15.0-1067.71~16.04.1
- ubuntu•linux-azure
< 4.15.0-1083.93~14.04.1 | < 4.15.0-1083.93~16.04.1 | all | < 5.4.0-1012.12
- ubuntu•linux-azure-4.15
< 4.15.0-1083.93
- ubuntu•linux-azure-5.3
< 5.3.0-1022.23~18.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all
- ubuntu•linux-azure-fips
< 4.15.0-2006.7 | all
- ubuntu•linux-bluefield
all
- ubuntu•linux-fips
< 4.15.0-1029.34
- ubuntu•linux-gcp
< 4.15.0-1071.81~16.04.1 | all | < 5.4.0-1011.11
- ubuntu•linux-gcp-5.3
< 5.3.0-1020.22~18.04.1
- ubuntu•linux-gcp-edge
all
- ubuntu•linux-gcp-fips
all
- ubuntu•linux-gke
all
- ubuntu•linux-gke-4.15
< 4.15.0-1059.62
- ubuntu•linux-gke-5.0
< 5.0.0-1037.38
- ubuntu•linux-gke-5.3
< 5.3.0-1020.22~18.04.1
- ubuntu•linux-hwe
< 4.15.0-101.102~16.04.1 | < 5.3.0-53.47~18.04.1
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.15.0-1060.61 | < 5.4.0-1011.11
- ubuntu•linux-oem
< 4.15.0-1081.91
- ubuntu•linux-oem-5.6
< 5.6.0-1010.10
- ubuntu•linux-oem-osp1
< 5.0.0-1052.57
- ubuntu•linux-oracle
< 4.15.0-1039.43~16.04.1 | < 4.15.0-1039.43 | < 5.4.0-1011.11
- ubuntu•linux-oracle-5.0
all
- ubuntu•linux-oracle-5.3
< 5.3.0-1018.20~18.04.1
- ubuntu•linux-raspi
< 5.4.0-1011.11
- ubuntu•linux-raspi-realtime
all
- ubuntu•linux-raspi2
< 4.15.0-1062.66 | all
- ubuntu•linux-raspi2-5.3
< 5.3.0-1026.28~18.04.1
- ubuntu•linux-realtime
all
- ubuntu•linux-riscv
< 5.4.0-26.30 | all
- ubuntu•linux-snapdragon
< 4.15.0-1079.86
- linux•linux_kernel
< 5.6.5
References (18)
- https://patchwork.kernel.org/patch/11447049/
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.6.5
- https://github.com/torvalds/linux/commit/2f95fa5c955d0a9987ffdc3a095e2f4e62c5f2a9
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2f95fa5c955d0a9987ffdc3a095e2f4e62c5f2a9
- https://usn.ubuntu.com/4367-1/
- https://usn.ubuntu.com/4368-1/
- https://usn.ubuntu.com/4363-1/
- https://usn.ubuntu.com/4369-1/
- https://security.netapp.com/advisory/ntap-20200608-0001/
- http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.html
- https://ubuntu.com/security/CVE-2020-12657
- https://git.kernel.org/linus/2f95fa5c955d0a9987ffdc3a095e2f4e62c5f2a9
- https://ubuntu.com/security/notices/USN-4363-1
- https://ubuntu.com/security/notices/USN-4369-1
- https://ubuntu.com/security/notices/USN-4368-1
- https://ubuntu.com/security/notices/USN-4367-1
- https://www.cve.org/CVERecord?id=CVE-2020-12657
- https://security-tracker.debian.org/tracker/CVE-2020-12657