CVE-2023-5717
Vulnerability Summary
Timeline
Description
A heap out-of-bounds write vulnerability in the Linux kernel's Linux Kernel Performance Events (perf) component can be exploited to achieve local privilege escalation. If perf_read_group() is called while an event's sibling_list is smaller than its child's sibling_list, it can increment or write to memory locations outside of the allocated buffer. We recommend upgrading past commit 32671e3799ca2e4590773fd0e63aaa4229e50c06.
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
EPSS Trends
Current EPSS score: 0.85%• Percentile: 57%
Techniques & Countermeasures
- CWE-787•Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
Affected Systems
- debian•linux
< 5.10.205-2 | < 6.1.64-1 | < 6.5.10-1 | < 6.5.10-1
- ubuntu•linux
< 4.4.0-248.282 | < 4.15.0-220.231 | < 5.4.0-169.187 | < 5.15.0-91.101
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
< 4.4.0-1125.131 | < 4.4.0-1163.178 | < 4.15.0-1163.176 | < 5.4.0-1116.126 | < 5.15.0-1051.56
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
< 5.15.0-1051.56~20.04.1
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1116.126~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.2
< 6.2.0-1017.17~22.04.1
- ubuntu•linux-aws-6.5
< 6.5.0-1011.11~22.04.1
- ubuntu•linux-aws-fips
< 4.15.0-2102.108 | all | < 5.4.0-1116.126+fips1
- ubuntu•linux-aws-hwe
< 4.15.0-1163.176~16.04.1
- ubuntu•linux-azure
< 4.15.0-1172.187~14.04.1 | < 4.15.0-1172.187~16.04.1 | all | < 5.4.0-1121.128 | < 5.15.0-1053.61
- ubuntu•linux-azure-4.15
< 4.15.0-1172.187
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
< 5.15.0-1053.61~20.04.1
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1121.128~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.2
< 6.2.0-1018.18~22.04.1
- ubuntu•linux-azure-6.5
< 6.5.0-1010.10~22.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | < 5.15.0-1053.61.1 | all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.8
all
- ubuntu•linux-azure-fips
< 4.15.0-2081.87 | all | < 5.4.0-1121.128+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1076.82 | < 5.15.0-1033.35
- ubuntu•linux-fips
< 4.4.0-1095.102 | all | < 4.15.0-1118.129 | < 5.4.0-1090.100
- ubuntu•linux-gcp
< 4.15.0-1157.174~16.04.1 | all | < 5.4.0-1120.129 | < 5.15.0-1048.56
- ubuntu•linux-gcp-4.15
< 4.15.0-1157.174
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
< 5.15.0-1048.56~20.04.1
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1120.129~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-6.2
< 6.2.0-1021.23~22.04.1
- ubuntu•linux-gcp-fips
< 4.15.0-2065.70 | all | < 5.4.0-1120.129+fips1
- ubuntu•linux-gke
all | < 5.15.0-1048.53
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.15
all
- ubuntu•linux-gke-5.4
all
- ubuntu•linux-gkeop
< 5.4.0-1083.87 | < 5.15.0-1034.40
Showing first 50 affected entries in server-rendered view.
References (29)
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/kernel/events?id=32671e3799ca2e4590773fd0e63aaa4229e50c06
- https://kernel.dance/32671e3799ca2e4590773fd0e63aaa4229e50c06
- https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html
- https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html
- https://ubuntu.com/security/CVE-2023-5717
- https://lore.kernel.org/all/1441336073-22750-7-git-send-email-sukadev@linux.vnet.ibm.com/T/#u
- https://ubuntu.com/security/notices/USN-6494-1
- https://ubuntu.com/security/notices/USN-6497-1
- https://ubuntu.com/security/notices/USN-6494-2
- https://ubuntu.com/security/notices/USN-6532-1
- https://ubuntu.com/security/notices/USN-6534-1
- https://ubuntu.com/security/notices/USN-6536-1
- https://ubuntu.com/security/notices/USN-6537-1
- https://ubuntu.com/security/notices/USN-6548-1
- https://ubuntu.com/security/notices/USN-6549-1
- https://ubuntu.com/security/notices/USN-6534-2
- https://ubuntu.com/security/notices/USN-6549-2
- https://ubuntu.com/security/notices/USN-6548-2
- https://ubuntu.com/security/notices/USN-6534-3
- https://ubuntu.com/security/notices/USN-6548-3
- https://ubuntu.com/security/notices/USN-6549-3
- https://ubuntu.com/security/notices/USN-6549-4
- https://ubuntu.com/security/notices/USN-6573-1
- https://ubuntu.com/security/notices/USN-6548-4
- https://ubuntu.com/security/notices/USN-6548-5
- https://ubuntu.com/security/notices/USN-6549-5
- https://ubuntu.com/security/notices/USN-6635-1
- https://www.cve.org/CVERecord?id=CVE-2023-5717
- https://security-tracker.debian.org/tracker/CVE-2023-5717