{
  "cveId": "CVE-2026-64584",
  "url": "https://patchblox.com/security/cve/CVE-2026-64584",
  "summary": "CVE-2026-64584 is fixed in 17 products on 1 platform, first by DEBIAN-CVE-2026-64584, released August 7, 2026. It is not reported as exploited. Patch Radar priority: High.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  usb: gadget: f_midi: cancel pending IN work befo...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  usb: gadget: f_midi: cancel pending IN work before freeing the midi object  The f_midi driver embeds a work item (midi-\u003Ework) whose handler, f_midi_in_work(), dereferences the enclosing struct f_midi through container_of().  This work is armed from two sites: f_midi_complete(), on a normal IN-endpoint completion, and f_midi_in_trigger(), on an ALSA rawmidi output-stream start.  Neither f_midi_disable() nor f_midi_unbind() cancels midi-\u003Ework. f_midi_disable() only disables the endpoints and drains the in_req_fifo; it does not synchronize the work item, and the sound card is released asynchronously to the final free of the midi object.  The midi object is reference-counted (midi-\u003Efree_ref) and is freed in f_midi_free() only once both the usb_function reference and the rawmidi private_data reference have been dropped.  In f_midi_unbind(), f_midi_disable() runs before the sound card is released, so while the USB endpoints are already disabled the rawmidi device is still usable by an open substream.  A concurrent userspace write on such a substream can reach f_midi_in_trigger() and queue midi-\u003Ework again after f_midi_disable() has returned.  A work item armed this way may still be pending when the last reference drops and f_midi_free() proceeds to kfree(midi), letting f_midi_in_work() dereference the struct after it has been freed, a use-after-free.  For this reason cancelling midi-\u003Ework in f_midi_disable() would not be sufficient: the ALSA trigger path can rearm the work after disable() returns.  Cancelling at the refcount-zero free site is the boundary after which neither arming source can survive, because by then both references that keep the midi object alive have been dropped: the USB endpoints are already disabled and the rawmidi device has been released.  Fix this by calling cancel_work_sync(\u0026midi-\u003Ework) in the refcount-zero block of f_midi_free(), before the embedded work_struct is freed along with the rest of the structure.  opts-\u003Elock is a sleeping mutex, so calling cancel_work_sync() under it is permitted, and the handler takes midi-\u003Etransmit_lock rather than opts-\u003Elock, so no self-deadlock can occur while it waits for a running instance of the work to finish.  This issue was found by an in-house static analysis tool.",
  "published": "2026-08-06T08:16:33Z",
  "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",
  "epss": 0.00117,
  "epssPercentile": 0.01668,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "dtb-aarch64",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "OPENSUSE-SU-2026:21910-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21910-1",
      "released": "2026-09-22T15:26:20Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "OPENSUSE-SU-2026:21910-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21910-1",
      "released": "2026-09-22T15:26:20Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "SUSE-SU-2026:23902-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23902-1",
      "released": "2026-09-22T14:23:31Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "OPENSUSE-SU-2026:21910-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21910-1",
      "released": "2026-09-22T15:26:20Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "SUSE-SU-2026:23902-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23902-1",
      "released": "2026-09-22T14:23:31Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "OPENSUSE-SU-2026:21910-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21910-1",
      "released": "2026-09-22T15:26:20Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "SUSE-SU-2026:23902-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23902-1",
      "released": "2026-09-22T14:23:31Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.38.1.160000.2.22",
      "fix": "OPENSUSE-SU-2026:21910-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21910-1",
      "released": "2026-09-22T15:26:20Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1.150700.17.45.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.38.1.160000.2.23",
      "fix": "SUSE-SU-2026:23902-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23902-1",
      "released": "2026-09-22T14:23:31Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "OPENSUSE-SU-2026:21910-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21910-1",
      "released": "2026-09-22T15:26:20Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "SUSE-SU-2026:23902-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23902-1",
      "released": "2026-09-22T14:23:31Z"
    },
    {
      "platform": "linux",
      "product": "kernel-kvmsmall",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "OPENSUSE-SU-2026:21910-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21910-1",
      "released": "2026-09-22T15:26:20Z"
    },
    {
      "platform": "linux",
      "product": "kernel-kvmsmall",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "SUSE-SU-2026:23902-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23902-1",
      "released": "2026-09-22T14:23:31Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-SLE15-SP7-RT_Update_20",
      "release": "sles 15.7",
      "fixedVersion": "1-150700.1.3.1",
      "fix": "SUSE-SU-2026:4120-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4120-1",
      "released": "2026-09-10T09:31:34Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-SLE15-SP7_Update_21",
      "release": "sles 15.7",
      "fixedVersion": "1-150700.15.3.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-build",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "OPENSUSE-SU-2026:21910-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21910-1",
      "released": "2026-09-22T15:26:20Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-build",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-qa",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "OPENSUSE-SU-2026:21910-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21910-1",
      "released": "2026-09-22T15:26:20Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-qa",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "SUSE-SU-2026:23902-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23902-1",
      "released": "2026-09-22T14:23:31Z"
    },
    {
      "platform": "linux",
      "product": "kernel-rt",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "OPENSUSE-SU-2026:21910-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21910-1",
      "released": "2026-09-22T15:26:20Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "OPENSUSE-SU-2026:21910-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21910-1",
      "released": "2026-09-22T15:26:20Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "SUSE-SU-2026:23902-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23902-1",
      "released": "2026-09-22T14:23:31Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "OPENSUSE-SU-2026:21910-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21910-1",
      "released": "2026-09-22T15:26:20Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "SUSE-SU-2026:23902-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23902-1",
      "released": "2026-09-22T14:23:31Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "OPENSUSE-SU-2026:21910-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-21910-1",
      "released": "2026-09-22T15:26:20Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "sles 15.7",
      "fixedVersion": "6.4.0-150700.53.81.1",
      "fix": "SUSE-SU-2026:4254-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-4254-1",
      "released": "2026-10-07T22:31:36Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.38.1",
      "fix": "SUSE-SU-2026:23902-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-23902-1",
      "released": "2026-09-22T14:23:31Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.1.187-1",
      "fix": "DEBIAN-CVE-2026-64584",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-64584",
      "released": "2026-08-07T15:22:10Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.12.101-1",
      "fix": "DEBIAN-CVE-2026-64584",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-64584",
      "released": "2026-08-07T15:22:10Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "7.1.6-1",
      "fix": "DEBIAN-CVE-2026-64584",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-64584",
      "released": "2026-08-07T15:22:10Z"
    },
    {
      "platform": "linux",
      "product": "linux-6.12",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.12.101-1~deb12u1",
      "fix": "DEBIAN-CVE-2026-64584",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-64584",
      "released": "2026-08-07T15:22:10Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}