cve.bz

CVE-2023-5717 linux linux kernel: Out-of-bounds Write

7.8 highEPSS 0.9%Fix available

High (7.8) in linux linux kernel. EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-05-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-5717 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-5717?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-5717?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-5717 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2023-5717

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-5717](https://cve.bz/cve/badge/CVE-2023-5717.svg)](https://cve.bz/cve/CVE-2023-5717)

HTML:

<a href="https://cve.bz/cve/CVE-2023-5717"><img src="https://cve.bz/cve/badge/CVE-2023-5717.svg" alt="CVE-2023-5717"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux Kernelfrom 4.4 before 6.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.304-1DLA-3710-1
Debian10linux-5.105.10.205-2~deb10u1DLA-3711-1
Debian11linux5.10.205-2DSA-5594-1
Debian12linux6.1.64-1DEBIAN-CVE-2023-5717
Debian13, 14linux6.5.10-1DEBIAN-CVE-2023-5717
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-5717
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-5717
Ubuntu20.04:LTSlinux5.4.0-169.187UBUNTU-CVE-2023-5717 USN-6548-1
Ubuntu20.04:LTSlinux-aws5.4.0-1116.126UBUNTU-CVE-2023-5717 USN-6548-1
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1051.56~20.04.1UBUNTU-CVE-2023-5717 USN-6549-1
Ubuntu20.04:LTSlinux-azure5.4.0-1121.128UBUNTU-CVE-2023-5717 USN-6548-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1053.61~20.04.1UBUNTU-CVE-2023-5717 USN-6549-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1053.61~20.04.1.1USN-6549-1
Ubuntu20.04:LTSlinux-bluefield5.4.0-1076.82UBUNTU-CVE-2023-5717 USN-6548-1
Ubuntu20.04:LTSlinux-gcp5.4.0-1120.129UBUNTU-CVE-2023-5717 USN-6548-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1048.56~20.04.1UBUNTU-CVE-2023-5717 USN-6549-5
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2023-5717
80 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-513.18.1.el8_9RHSA-2024:0897
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-513.18.1.el8_9RHSA-2024:0897
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-513.18.1.rt7.320.el8_9RHSA-2024:0881
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-513.18.1.rt7.320.el8_9RHSA-2024:0881
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 24 more0:5.14.0-362.24.1.el9_3RHSA-2024:1248
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.2.0-362.24.1.el9_3RHSA-2024:1248
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.2.0-362.24.1.el9_3RHSA-2024:1248
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 41 more0:5.14.0-362.24.1.el9_3RHSA-2024:1248
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 12 more0:5.14.0-362.24.1.el9_3RHSA-2024:1248
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-362.24.1.el9_3RHSA-2024:1248
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-362.24.1.el9_3RHSA-2024:1248
Red Hatrhel_eus:8.6::baseosperf, kernel, bpftool and 30 more0:4.18.0-372.91.1.el8_6RHSA-2024:0724
16 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.144.1SUSE-SU-2023:4811-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 morekernel-default-base5.3.18-150300.59.144.1.150300.18.84.1SUSE-SU-2023:4811-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.186.1SUSE-SU-2023:4784-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-150100.197.165.1SUSE-SU-2023:4882-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.172.1SUSE-SU-2023:4783-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.144.1SUSE-SU-2023:4811-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 3 morekernel-default5.14.21-150400.24.100.2SUSE-SU-2023:4810-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5 and 2 morekernel-default5.14.21-150500.55.39.1SUSE-SU-2023:4730-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1kernel-docs, kernel-syms, kernel-source and 2 more4.12.14-150100.197.165.1SUSE-SU-2023:4882-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-default-base5.3.18-150200.24.172.1.150200.9.87.1SUSE-SU-2023:4783-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.172.1SUSE-SU-2023:4783-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_4214-2.1SUSE-SU-2024:1505-1
53 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dtb-aarch64, kernel-docs, kernel-syms and 1 more5.14.21-150400.24.100.1SUSE-SU-2023:4810-1
openSUSELeap 15.4kernel-64kb, kernel-debug, kernel-source and 4 more5.14.21-150400.24.100.2SUSE-SU-2023:4810-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.75.1SUSE-SU-2023:4782-1
openSUSELeap 15.4kernel-debug, kernel-default, kernel-kvmsmall and 1 more4.12.14-150100.197.165.1SUSE-SU-2023:4882-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.62.1SUSE-SU-2023:4731-1
openSUSELeap 15.4, Leap Micro 5.3, Leap Micro 5.4kernel-default-base5.14.21-150400.24.100.2.150400.24.46.2SUSE-SU-2023:4810-1
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.39.1SUSE-SU-2023:4730-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.26.1SUSE-SU-2023:4734-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.39.1.150500.6.17.1SUSE-SU-2023:4730-1
openSUSELeap 15.5kernel-rt, kernel-rt_debug, kernel-source-rt5.14.21-150500.13.27.2SUSE-SU-2023:4732-1
openSUSELeap 15.5kernel-syms-rt5.14.21-150500.13.27.1SUSE-SU-2023:4732-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default5.14.21-150400.24.100.2SUSE-SU-2023:4810-1
1 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8perf, kernel, bpftool and 21 more4.18.0-513.18.1.el8_9ALSA-2024:0897
Rocky Linux9kernel0:5.14.0-362.24.1.el9_3.cloud.0.6RXSA-2024:1248
Azure Linux2hyperv-daemons5.15.137.1-1AZL-31814
Azure Linux2kernel5.15.137.1-1AZL-31774
Alpaquitastreamlinux-lts6.1.62-r0BELL-CVE-2023-5717

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

It is not possible to trigger this issue with the default kernel.perf_event_paranoid sysctl value 2. You may check it with:

cat /proc/sys/kernel/perf_event_paranoid

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-513.18.1.rt7.320.el8_9Fixed 2024-02-20RHSA-2024:0881
Red Hat Enterprise Linux 8kernel-0:4.18.0-513.18.1.el8_9Fixed 2024-02-20RHSA-2024:0897
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.91.1.el8_6Fixed 2024-02-07RHSA-2024:0724
Red Hat Enterprise Linux 8.8 Extended Update Supportkernel-0:4.18.0-477.43.1.el8_8Fixed 2024-01-30RHSA-2024:0575
Red Hat Enterprise Linux 9kernel-0:5.14.0-362.24.1.el9_3Fixed 2024-03-12RHSA-2024:1248
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-0:5.14.0-70.93.2.el9_0Fixed 2024-03-12RHSA-2024:1250
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-rt-0:5.14.0-70.93.1.rt21.165.el9_0Fixed 2024-03-13RHSA-2024:1306
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-0:5.14.0-284.48.1.el9_2Fixed 2024-01-25RHSA-2024:0448
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-rt-0:5.14.0-284.48.1.rt14.333.el9_2Fixed 2024-01-25RHSA-2024:0439
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8kernel-0:4.18.0-372.91.1.el8_6Fixed 2024-02-07RHSA-2024:0724
RHOL-5.8-RHEL-9openshift-logging/cluster-logging-operator-bundle:v5.8.6-22Fixed 2024-05-01RHSA-2024:2094
RHOL-5.8-RHEL-9openshift-logging/cluster-logging-rhel9-operator:v5.8.6-11Fixed 2024-05-01RHSA-2024:2094
RHOL-5.8-RHEL-9openshift-logging/elasticsearch6-rhel9:v6.8.1-407Fixed 2024-05-01RHSA-2024:2094
RHOL-5.8-RHEL-9openshift-logging/elasticsearch-operator-bundle:v5.8.6-19Fixed 2024-05-01RHSA-2024:2094
RHOL-5.8-RHEL-9openshift-logging/elasticsearch-proxy-rhel9:v1.0.0-479Fixed 2024-05-01RHSA-2024:2094
RHOL-5.8-RHEL-9openshift-logging/elasticsearch-rhel9-operator:v5.8.6-7Fixed 2024-05-01RHSA-2024:2094
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 9kernel-rtAffected
11 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-5717.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-226-15Siemens SINEC OS2025-08-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and Facilitiesnone listednone listed
ICSA-25-044-09Siemens SCALANCE W700 IEEE 802.11ax2025-02-11Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater SystemsSCALANCE WAB762-1 (6GK5762-1AJ00-6AA0), SCALANCE WAM763-1 (6GK5763-1AL00-7DA0), SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0) and 16 morenone listed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed
ICSA-23-166-11Siemens SIMATIC S7-1500 TM MFP Linux Kernel2023-06-13MultipleSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON