{
  "cveId": "CVE-2023-53478",
  "url": "https://patchblox.com/security/cve/CVE-2023-53478",
  "summary": "CVE-2023-53478 is fixed in linux on 1 platform, first by DEBIAN-CVE-2023-53478, released October 1, 2025. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  tracing/synthetic: Fix races on freeing last_cmd...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  tracing/synthetic: Fix races on freeing last_cmd  Currently, the \u0022last_cmd\u0022 variable can be accessed by multiple processes asynchronously when multiple users manipulate synthetic_events node at the same time, it could lead to use-after-free or double-free.  This patch add \u0022lastcmd_mutex\u0022 to prevent \u0022last_cmd\u0022 from being accessed asynchronously.  ================================================================  It\u0027s easy to reproduce in the KASAN environment by running the two scripts below in different shells.  script 1:         while :         do                 echo -n -e \u0027\\x88\u0027 \u003E /sys/kernel/tracing/synthetic_events         done  script 2:         while :         do                 echo -n -e \u0027\\xb0\u0027 \u003E /sys/kernel/tracing/synthetic_events         done  ================================================================ double-free scenario:      process A                       process B -------------------               --------------- 1.kstrdup last_cmd                                   2.free last_cmd 3.free last_cmd(double-free)  ================================================================ use-after-free scenario:      process A                       process B -------------------               --------------- 1.kstrdup last_cmd                                   2.free last_cmd 3.tracing_log_err(use-after-free)  ================================================================  Appendix 1. KASAN report double-free:  BUG: KASAN: double-free in kfree\u002B0xdc/0x1d4 Free of addr ***** by task sh/4879 Call trace:         ...         kfree\u002B0xdc/0x1d4         create_or_delete_synth_event\u002B0x60/0x1e8         trace_parse_run_command\u002B0x2bc/0x4b8         synth_events_write\u002B0x20/0x30         vfs_write\u002B0x200/0x830         ...  Allocated by task 4879:         ...         kstrdup\u002B0x5c/0x98         create_or_delete_synth_event\u002B0x6c/0x1e8         trace_parse_run_command\u002B0x2bc/0x4b8         synth_events_write\u002B0x20/0x30         vfs_write\u002B0x200/0x830         ...  Freed by task 5464:         ...         kfree\u002B0xdc/0x1d4         create_or_delete_synth_event\u002B0x60/0x1e8         trace_parse_run_command\u002B0x2bc/0x4b8         synth_events_write\u002B0x20/0x30         vfs_write\u002B0x200/0x830         ...  ================================================================ Appendix 2. KASAN report use-after-free:  BUG: KASAN: use-after-free in strlen\u002B0x5c/0x7c Read of size 1 at addr ***** by task sh/5483 sh: CPU: 7 PID: 5483 Comm: sh         ...         __asan_report_load1_noabort\u002B0x34/0x44         strlen\u002B0x5c/0x7c         tracing_log_err\u002B0x60/0x444         create_or_delete_synth_event\u002B0xc4/0x204         trace_parse_run_command\u002B0x2bc/0x4b8         synth_events_write\u002B0x20/0x30         vfs_write\u002B0x200/0x830         ...  Allocated by task 5483:         ...         kstrdup\u002B0x5c/0x98         create_or_delete_synth_event\u002B0x80/0x204         trace_parse_run_command\u002B0x2bc/0x4b8         synth_events_write\u002B0x20/0x30         vfs_write\u002B0x200/0x830         ...  Freed by task 5480:         ...         kfree\u002B0xdc/0x1d4         create_or_delete_synth_event\u002B0x74/0x204         trace_parse_run_command\u002B0x2bc/0x4b8         synth_events_write\u002B0x20/0x30         vfs_write\u002B0x200/0x830         ...",
  "published": "2025-10-01T12:15:50Z",
  "severity": "medium",
  "cvss": 4.7,
  "cvssVector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00116,
  "epssPercentile": 0.01646,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.1.25-1",
      "fix": "DEBIAN-CVE-2023-53478",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2023-53478",
      "released": "2025-10-01T12:15:50Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.1.25-1",
      "fix": "DEBIAN-CVE-2023-53478",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2023-53478",
      "released": "2025-10-01T12:15:50Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.1.25-1",
      "fix": "DEBIAN-CVE-2023-53478",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2023-53478",
      "released": "2025-10-01T12:15:50Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T19:38:12Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}