CVE-2023-5717
JSON

7.8high

Out-of-bounds write in Linux kernel's Linux Kernel Performance Events (perf) component

Severity
7.8high CVSS:3.1 by Google
Exploit likelihood
0.64% (higher than 46% of CVEs)
Published
Last changed
Assigned by
Google

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.

Affected

Product or packageVersionsReported by
kernelfrom 4.4 before 6.6CVE List
linux linux_kernelfrom 3.2.95 before 3.3, from 3.16.50 before 3.17, from 4.4 before 4.14.328, from 4.15 before 4.19.297, from 4.20 before 5.4.259, from 5.5 before 5.10.199, from 5.11 before 5.15.137, from 5.16 before 6.1.60 and 2 moreNVD

All scores

Google7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se puede aprovechar una vulnerabilidad de escritura fuera de límites del montón en el componente Linux Kernel Performance Events (perf) del kernel de Linux para lograr una escalada de privilegios local. Si se llama a perf_read_group() mientras la lista de hermanos de un evento es más pequeña que la lista de hermanos de su hijo, puede incrementar o escribir en ubicaciones de memoria fuera del búfer asignado. Recomendamos actualizar después del commit 32671e3799ca2e4590773fd0e63aaa4229e50c06.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-5717 changed 2026-10-14CVE Terms of Use
NVDCVE-2023-5717 changed 2026-10-14Public domain