)]}'
{
  "commit": "1eb52f35fc8fb06ab7f2973fff29cba81f96b947",
  "tree": "c2e847bfc78c955f52a942c52c6da030f7b89a84",
  "parents": [
    "a7c5c18b7cc30dcd2a9ae5a0fb38378d3998417e"
  ],
  "author": {
    "name": "Yifan Zhang",
    "email": "yfzhang23@stu.pku.edu.cn",
    "time": "Mon Nov 02 19:58:37 2026 +0800"
  },
  "committer": {
    "name": "Luiz Augusto von Dentz",
    "email": "luiz.von.dentz@intel.com",
    "time": "Mon Nov 02 17:09:03 2026 -0500"
  },
  "message": "Bluetooth: validate retained LE Create CIS command length\n\nhci_cs_le_create_cis() retrieves the parameters of the previously sent\ncommand without their length.  It then trusts num_cis and walks the\nflexible cis[] array when a controller reports a failed command.\n\nA five-byte HCI command containing only num_cis can therefore make the\nhandler read beyond the command skb.  KASAN reports:\n\n  BUG: KASAN: slab-out-of-bounds in hci_cs_le_create_cis\n  Read of size 2\n  hci_cs_le_create_cis\n  hci_cmd_status_evt\n  hci_event_packet\n\nAdd a length-returning saved-command helper and require the fixed header\nand complete CIS array before walking it.\n\nThe reproducer no longer triggers a KASAN report with this change.\n\nFixes: 26afbd826ee3 (\"Bluetooth: Add initial implementation of CIS connections\")\nCloses: https://lore.kernel.org/linux-bluetooth/179317462624.87574.6271582002629080499@stu.pku.edu.cn/\nSigned-off-by: Yifan Zhang \u003cyfzhang23@stu.pku.edu.cn\u003e\nSigned-off-by: Luiz Augusto von Dentz \u003cluiz.von.dentz@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3381abdcc28b4d6fa994b3d431c3fd813d19fbbc",
      "old_mode": 33188,
      "old_path": "include/net/bluetooth/hci_core.h",
      "new_id": "908acbad717795086fd5a3adbd84be07f331e301",
      "new_mode": 33188,
      "new_path": "include/net/bluetooth/hci_core.h"
    },
    {
      "type": "modify",
      "old_id": "bc77db53b195905ad117f7e5978deb14f58f4ce1",
      "old_mode": 33188,
      "old_path": "net/bluetooth/hci_core.c",
      "new_id": "c97aec3caba02364f64efedbedfcb663fae59774",
      "new_mode": 33188,
      "new_path": "net/bluetooth/hci_core.c"
    },
    {
      "type": "modify",
      "old_id": "975c63df23c15f867e46c9f42e66267b63c29234",
      "old_mode": 33188,
      "old_path": "net/bluetooth/hci_event.c",
      "new_id": "bb4249f8e665fea02d4b5fef5de6ff9e5042dab5",
      "new_mode": 33188,
      "new_path": "net/bluetooth/hci_event.c"
    }
  ]
}
