---
id: CVE-2023-5717
title: >-
  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 smal…
summary: >-
  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 smal…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 3.2.95, < 3.3'
  - 'linux_kernel >= 3.16.50, < 3.17'
  - 'linux_kernel >= 4.4, < 4.14.328'
  - 'linux_kernel >= 4.15, < 4.19.297'
  - 'linux_kernel >= 4.20, < 5.4.259'
  - 'linux_kernel >= 5.5, < 5.10.199'
  - 'linux_kernel >= 5.11, < 5.15.137'
  - 'linux_kernel >= 5.16, < 6.1.60'
  - 'linux_kernel >= 6.2, < 6.5.9'
  - linux_kernel = 6.6
patched:
  - linux_kernel 6.5.9
published: '2023-10-25'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T22:17:21.290'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-5717'
references:
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/kernel/events?id=32671e3799ca2e4590773fd0e63aaa4229e50c06
    label: cve-coordination@google.com
  - url: 'https://kernel.dance/32671e3799ca2e4590773fd0e63aaa4229e50c06'
    label: cve-coordination@google.com
  - url: 'https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html'
    label: cve-coordination@google.com
  - url: 'https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html'
    label: cve-coordination@google.com
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/kernel/events?id=32671e3799ca2e4590773fd0e63aaa4229e50c06
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://kernel.dance/32671e3799ca2e4590773fd0e63aaa4229e50c06'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-613116.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-769027.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-794697.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - exploit-available
  - cve.org
epss: 0.00909
epssPercentile: 0.59774
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/uthrasri/CVE-2023-5717'
  checkedAt: '2026-10-27T16:41:26.996Z'
exploitAvailable: true
ingestedAt: '2026-10-14T23:00:02.006Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2024-05-10T04:00:16.642573Z'
---

## Overview

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

- `linux_kernel >= 3.2.95, < 3.3`
- `linux_kernel >= 3.16.50, < 3.17`
- `linux_kernel >= 4.4, < 4.14.328`
- `linux_kernel >= 4.15, < 4.19.297`
- `linux_kernel >= 4.20, < 5.4.259`
- `linux_kernel >= 5.5, < 5.10.199`
- `linux_kernel >= 5.11, < 5.15.137`
- `linux_kernel >= 5.16, < 6.1.60`
- `linux_kernel >= 6.2, < 6.5.9`
- `linux_kernel = 6.6`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.5.9`
