)]}'
{
  "commit": "e1e31e0ec8a609e17fd2e86b77bc00d9cbb24d7c",
  "tree": "29a9b9af113b578b625a115338d76d2cf318e8f4",
  "parents": [
    "9dbbe81962b973fe71592ad8615d1e6cd28451bf"
  ],
  "author": {
    "name": "Jiaming Zhang",
    "email": "r772577952@gmail.com",
    "time": "Thu Jun 25 21:49:33 2026 +0800"
  },
  "committer": {
    "name": "Takashi Iwai",
    "email": "tiwai@suse.de",
    "time": "Fri Jun 26 07:46:59 2026 +0200"
  },
  "message": "ALSA: FCP: Fix NULL pointer dereference in interface lookup\n\nA malformed USB device can provide a vendor-specific interface without\nany endpoint descriptors. fcp_find_fc_interface() currently selects the\nfirst vendor-specific interface and reads endpoint 0 from it, without\nchecking whether the interface actually has any endpoints.\n\nWhen bNumEndpoints is zero, no endpoint array is allocated for the parsed\nalternate setting, so get_endpoint(..., 0) yields an invalid endpoint\ndescriptor pointer. Dereferencing it through usb_endpoint_num() then\ntriggers a NULL pointer dereference.\n\nSkip vendor-specific interfaces that do not have any endpoints.\n\nFixes: 46757a3e7d50 (\"ALSA: FCP: Add Focusrite Control Protocol driver\")\nReported-by: Jiaming Zhang \u003cr772577952@gmail.com\u003e\nCloses: https://lore.kernel.org/lkml/CANypQFb1EHj0xX8bA1WxSOSK-5xca6ZNKzOQcp12\u003ds\u003dpuY7VFw@mail.gmail.com/\nSigned-off-by: Jiaming Zhang \u003cr772577952@gmail.com\u003e\nLink: https://patch.msgid.link/20260625134933.425785-1-r772577952@gmail.com\nSigned-off-by: Takashi Iwai \u003ctiwai@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ea746bdb36ffcfc48b7ac08f69110463cc96ecb9",
      "old_mode": 33188,
      "old_path": "sound/usb/fcp.c",
      "new_id": "6f5dcd35e1d4a18247e97b2eaa74ff87aa74a476",
      "new_mode": 33188,
      "new_path": "sound/usb/fcp.c"
    }
  ]
}
