{
  "threat_severity" : "Moderate",
  "public_date" : "2025-05-02T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: perf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output",
    "id" : "2363704",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2363704"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nperf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output\nsyzkaller reportes a KASAN issue with stack-out-of-bounds.\nThe call trace is as follows:\ndump_stack+0x9c/0xd3\nprint_address_description.constprop.0+0x19/0x170\n__kasan_report.cold+0x6c/0x84\nkasan_report+0x3a/0x50\n__perf_event_header__init_id+0x34/0x290\nperf_event_header__init_id+0x48/0x60\nperf_output_begin+0x4a4/0x560\nperf_event_bpf_output+0x161/0x1e0\nperf_iterate_sb_cpu+0x29e/0x340\nperf_iterate_sb+0x4c/0xc0\nperf_event_bpf_event+0x194/0x2c0\n__bpf_prog_put.constprop.0+0x55/0xf0\n__cls_bpf_delete_prog+0xea/0x120 [cls_bpf]\ncls_bpf_delete_prog_work+0x1c/0x30 [cls_bpf]\nprocess_one_work+0x3c2/0x730\nworker_thread+0x93/0x650\nkthread+0x1b8/0x210\nret_from_fork+0x1f/0x30\ncommit 267fb27352b6 (\"perf: Reduce stack usage of perf_output_begin()\")\nuse on-stack struct perf_sample_data of the caller function.\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." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-11-07T00:00:00Z",
    "advisory" : "RHSA-2023:6583",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-362.8.1.el9_3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-11-07T00:00:00Z",
    "advisory" : "RHSA-2023:6583",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-362.8.1.el9_3"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2023-53065\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-53065\nhttps://lore.kernel.org/linux-cve-announce/2025050211-CVE-2023-53065-0292@gregkh/T" ],
  "name" : "CVE-2023-53065",
  "csaw" : false
}