perf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 4 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10 and later | 5.10.177, 5.15.105, 6.1.22, 6.2.9, 6.3 | Patch available | CNA |
- Linux VendorLinux Affected 5.10 and later Fixed in 5.10.177, 5.15.105, 6.1.22, 6.2.9, 6.3 Patch available CNA
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.10.1 to before 5.10.177; 5.11 to before 5.15.105; 5.16 to before 6.1.22; 6.2 to before 6.2.9 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.10:-:*:*:*:*:*:* | 5.10 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.10:rc4:*:*:*:*:*:* | 5.10 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.10:rc5:*:*:*:*:*:* | 5.10 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.10:rc6:*:*:*:*:*:* | 5.10 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.10:rc7:*:*:*:*:*:* | 5.10 rc7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.3:rc1:*:*:*:*:*:* | 6.3 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.3:rc2:*:*:*:*:*:* | 6.3 rc2 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.10.1 to before 5.10.177; 5.11 to before 5.15.105; 5.16 to before 6.1.22; 6.2 to before 6.2.9 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.10:-:*:*:*:*:*:* Versions 5.10 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.10:rc4:*:*:*:*:*:* Versions 5.10 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.10:rc5:*:*:*:*:*:* Versions 5.10 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.10:rc6:*:*:*:*:*:* Versions 5.10 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.10:rc7:*:*:*:*:*:* Versions 5.10 rc7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.3:rc1:*:*:*:*:*:* Versions 6.3 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.3:rc2:*:*:*:*:*:* Versions 6.3 rc2 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.177, 5.15.105, 6.1.22, 6.2.9, 6.3
Red Hat 1 advisory
- RHSA-2023:6583 Released 2023-11-07 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-362.8.1.el9_3, libperf-5.14.0-362.8.1.el9_3
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-362.8.1.el9_3, kernel-64k-debug-devel-matched-5.14.0-362.8.1.el9_3, kernel-64k-devel-5.14.0-362.8.1.el9_3 +11
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.2.0-362.8.1.el9_3, kernel-5.14.0-362.8.1.el9_3, kernel-64k-5.14.0-362.8.1.el9_3 +29
- Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-362.8.1.el9_3, kernel-rt-core-5.14.0-362.8.1.el9_3, kernel-rt-debug-5.14.0-362.8.1.el9_3 +9
- Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-362.8.1.el9_3, kernel-rt-core-5.14.0-362.8.1.el9_3, kernel-rt-debug-5.14.0-362.8.1.el9_3 +11
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Enterprise Linux 10
Timeline
- 2026-10-02 Threatist record created from CVE-2023-53065
- 2026-10-03 Alias added: GHSA-98fc-86gg-p4fr
- 2026-10-16 CISA SSVC decision points changed
References
Patch 5
- https://git.kernel.org/stable/c/ddcf8320003638a06eb1e46412e045d0c5701575
- https://git.kernel.org/stable/c/ac5f88642cb211152041f84a985309e9af4baf59
- https://git.kernel.org/stable/c/ff8137727a2af4ad5f6e6c8b9f7ec5e8db9da86c
- https://git.kernel.org/stable/c/3a776fddb4e5598c8bfcd4ad094fba34f9856fc9
- https://git.kernel.org/stable/c/eb81a2ed4f52be831c9fb879752d89645a312c13
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2023-53065 · CVE Program
- CVE-2023-53065 · NVD
- FIRST EPSS
- GHSA-98fc-86gg-p4fr · GitHub Advisory Database · CC BY 4.0
- CVE-2023-53065 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences