{"id":"CVE-2023-53065","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output\n\nsyzkaller reportes a KASAN issue with stack-out-of-bounds.\nThe call trace is…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output\n\nsyzkaller reportes a KASAN issue with stack-out-of-bounds.\nThe call trace is…","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 >= 5.10.1, < 5.10.177","linux_kernel >= 5.11, < 5.15.105","linux_kernel >= 5.16, < 6.1.22","linux_kernel >= 6.2, < 6.2.9","linux_kernel = 5.10","linux_kernel = 6.3"],"patched":["linux_kernel 6.2.9"],"published":"2025-05-02","updated":"2026-10-15","sourceUpdated":"2026-10-15T22:17:35.960","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2023-53065","references":[{"url":"https://git.kernel.org/stable/c/3a776fddb4e5598c8bfcd4ad094fba34f9856fc9","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ac5f88642cb211152041f84a985309e9af4baf59","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ddcf8320003638a06eb1e46412e045d0c5701575","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/eb81a2ed4f52be831c9fb879752d89645a312c13","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ff8137727a2af4ad5f6e6c8b9f7ec5e8db9da86c","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"tags":["nvd","cve.org"],"epss":0.00212,"epssPercentile":0.11462,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:33:16.858406Z"},"ingestedAt":"2026-10-15T22:48:25.387Z","slug":"CVE-2023-53065","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nperf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output\n\nsyzkaller reportes a KASAN issue with stack-out-of-bounds.\nThe call trace is as follows:\n  dump_stack+0x9c/0xd3\n  print_address_description.constprop.0+0x19/0x170\n  __kasan_report.cold+0x6c/0x84\n  kasan_report+0x3a/0x50\n  __perf_event_header__init_id+0x34/0x290\n  perf_event_header__init_id+0x48/0x60\n  perf_output_begin+0x4a4/0x560\n  perf_event_bpf_output+0x161/0x1e0\n  perf_iterate_sb_cpu+0x29e/0x340\n  perf_iterate_sb+0x4c/0xc0\n  perf_event_bpf_event+0x194/0x2c0\n  __bpf_prog_put.constprop.0+0x55/0xf0\n  __cls_bpf_delete_prog+0xea/0x120 [cls_bpf]\n  cls_bpf_delete_prog_work+0x1c/0x30 [cls_bpf]\n  process_one_work+0x3c2/0x730\n  worker_thread+0x93/0x650\n  kthread+0x1b8/0x210\n  ret_from_fork+0x1f/0x30\n\ncommit 267fb27352b6 (\"perf: Reduce stack usage of perf_output_begin()\")\nuse on-stack struct perf_sample_data of the caller function.\n\nHowever, perf_event_bpf_output uses incorrect parameter to convert\nsmall-sized data (struct perf_bpf_event) into large-sized data\n(struct perf_sample_data), which causes memory overwriting occurs in\n__perf_event_header__init_id.\n\n## Affected\n\n- `linux_kernel >= 5.10.1, < 5.10.177`\n- `linux_kernel >= 5.11, < 5.15.105`\n- `linux_kernel >= 5.16, < 6.1.22`\n- `linux_kernel >= 6.2, < 6.2.9`\n- `linux_kernel = 5.10`\n- `linux_kernel = 6.3`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 6.2.9`","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}