CVE-2023-53065
perf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < ddcf8320003638a06eb1e46412e045d0c5701575; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < ac5f88642cb211152041f84a985309e9af4baf59; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < ff8137727a2af4ad5f6e6c8b9f7ec5e8db9da86c; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < 3a776fddb4e5598c8bfcd4ad094fba34f9856fc9; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < eb81a2ed4f52be831c9fb879752d89645a312c13
- Anyone running Linux 5.10
Vulnerability facts
- Affected
- Linux >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < ddcf8320003638a06eb1e46412e045d0c5701575; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < ac5f88642cb211152041f84a985309e9af4baf59; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < ff8137727a2af4ad5f6e6c8b9f7ec5e8db9da86c; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < 3a776fddb4e5598c8bfcd4ad094fba34f9856fc9; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < eb81a2ed4f52be831c9fb879752d89645a312c13; Linux 5.10
- Fixed in
- Linux 3a776fddb4e5598c8bfcd4ad094fba34f9856fc9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-787
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < ddcf8320003638a06eb1e46412e045d0c5701575; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < ac5f88642cb211152041f84a985309e9af4baf59; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < ff8137727a2af4ad5f6e6c8b9f7ec5e8db9da86c; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < 3a776fddb4e5598c8bfcd4ad094fba34f9856fc9; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < eb81a2ed4f52be831c9fb879752d89645a312c13 | — | cvelist |
| Linux | 5.10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53065. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53065.md Affected: Linux >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < ddcf8320003638a06eb1e46412e045d0c5701575; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < ac5f88642cb211152041f84a985309e9af4baf59; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < ff8137727a2af4ad5f6e6c8b9f7ec5e8db9da86c; >= 267fb27352b6fc9fdbad753… Fixed in: Linux 3a776fddb4e5598c8bfcd4ad094fba34f9856fc9 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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
FAQ
Is CVE-2023-53065 being exploited?
There is no confirmed exploitation: CVE-2023-53065 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53065?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-53065?
Linux >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < ddcf8320003638a06eb1e46412e045d0c5701575; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < ac5f88642cb211152041f84a985309e9af4baf59; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < ff8137727a2af4ad5f6e6c8b9f7ec5e8db9da86c; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < 3a776fddb4e5598c8bfcd4ad094fba34f9856fc9; >= 267fb27352b6fc9fdbad753127a239f75618ecbc, < eb81a2ed4f52be831c9fb879752d89645a312c13; Linux 5.10.
Is there a fix for CVE-2023-53065?
Yes. Fixed in Linux 3a776fddb4e5598c8bfcd4ad094fba34f9856fc9. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-53065?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.