cve.bz

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

7.8 highEPSS 0.2%Fix available

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

On this page
In the Linux kernel, the following vulnerability has been resolved: perf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output syzkaller reportes a KASAN issue with stack-out-of-bounds. The call trace is as follows: dump_stack+0x9c/0xd3 print_address_description.constprop.0+0x19/0x170 __kasan_report.cold+0x6c/0x84 kasan_report+0x3a/0x50 __perf_event_header__init_id+0x34/0x290 perf_event_header__init_id+0x48/0x60 perf_output_begin+0x4a4/0x560 perf_event_bpf_output+0x161/0x1e0 perf_iterate_sb_cpu+0x29e/0x340 perf_iterate_sb+0x4c/0xc0 perf_event_bpf_event+0x194/0x2c0 __bpf_prog_put.constprop.0+0x55/0xf0 __cls_bpf_delete_prog+0xea/0x120 [cls_bpf] cls_bpf_delete_prog_work+0x1c/0x30 [cls_bpf] process_one_work+0x3c2/0x730 worker_thread+0x93/0x650 kthread+0x1b8/0x210 ret_from_fork+0x1f/0x30 commit 267fb27352b6 ("perf: Reduce stack usage of perf_output_begin()") use on-stack struct perf_sample_data of the caller function. However, perf_event_bpf_output uses incorrect parameter to convert small-sized data (struct perf_bpf_event) into large-sized data (struct perf_sample_data), which causes memory overwriting occurs in __perf_event_header__init_id.

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.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 12th 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 2026-10-15. 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-53065 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-53065?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-53065?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-53065 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.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux5.10 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.177
Linux5.155.15.105
Linux6.16.1.22
Linux6.26.2.9
Linuxlater releases6.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux6.1.25-1DEBIAN-CVE-2023-53065
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-53065
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-53065
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1041.46~20.04.1UBUNTU-CVE-2023-53065
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1045.52~20.04.1UBUNTU-CVE-2023-53065
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1039.47~20.04.1UBUNTU-CVE-2023-53065
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2023-53065
Ubuntu20.04:LTSlinux-hwe-5.155.15.0-79.86~20.04.2UBUNTU-CVE-2023-53065
Ubuntu20.04:LTSlinux-ibm-5.155.15.0-1036.39~20.04.1UBUNTU-CVE-2023-53065
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1037.42~20.04.1UBUNTU-CVE-2023-53065
Ubuntu20.04:LTSlinux-lowlatency-hwe-5.155.15.0-79.88~20.04.1UBUNTU-CVE-2023-53065
Ubuntu20.04:LTSlinux-nvidia-tegra-5.155.15.0-1016.16~20.04.1UBUNTU-CVE-2023-53065
Ubuntu20.04:LTSlinux-oracle-5.155.15.0-1040.46~20.04.1UBUNTU-CVE-2023-53065
22 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 24 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 41 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 12 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 1 morekernel-default5.14.21-150400.24.167.1SUSE-SU-2025:02262-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150400.24.167.1SUSE-SU-2025:02262-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morekernel-default-base5.14.21-150400.24.167.1.150400.24.84.1SUSE-SU-2025:02262-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150500.55.110.1SUSE-SU-2025:02173-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 morekernel-default-base5.14.21-150500.55.110.1.150500.6.51.3SUSE-SU-2025:02173-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_411-150400.9.3.1SUSE-SU-2025:02262-1
SUSELinux Enterprise Live Patching 15 SP5kernel-default5.14.21-150500.55.110.1SUSE-SU-2025:02173-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_271-150500.11.7.1SUSE-SU-2025:02173-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4kernel-rt, kernel-source-rt5.14.21-150400.15.121.1SUSE-SU-2025:01918-1
SUSELinux Enterprise Micro 5.5kernel-rt, kernel-source-rt5.14.21-150500.13.97.1SUSE-SU-2025:01966-1
SUSELinux Enterprise Micro 5.5kernel-source, kernel-default5.14.21-150500.55.110.1SUSE-SU-2025:02173-1
SUSELinux Enterprise Server 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.14.21-150400.24.167.1SUSE-SU-2025:02262-1
5 more for SUSE in the JSON and on SUSE's page.
Alpaquitastreamlinux-lts6.6.58-r0BELL-CVE-2023-53065

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; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate rather than Important because successful exploitation requires local authenticated access and primarily results in a kernel crash leading to denial of service. The issue stems from improper handling of event data structures between the kernel performance monitoring subsystem and BPF tracking routines, which can trigger stack memory corruption. On Red Hat Enterprise Linux systems, an authenticated local user capable of triggering specific BPF lifecycle events while performance monitoring is active could cause a kernel panic.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernelOut of support scope
Red Hat Enterprise Linux 8kernel-rtOut of support scope
Red Hat Enterprise Linux 9kernelFix deferred
Red Hat Enterprise Linux 9kernel-rtFix deferred

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-53065.

References

Check your stackJSON