)]}'
{
  "commit": "a002485bfef184f04a58adfd2a848c19f583f7d0",
  "tree": "4b2f148309249ee4c8bc1d53584c66d69f98b7bf",
  "parents": [
    "9bf52d056a03cd3768caccbc4c88fcc34be26c28"
  ],
  "author": {
    "name": "Marc-André Lureau",
    "email": "marcandre.lureau@redhat.com",
    "time": "Thu Jul 16 18:11:07 2026 +0400"
  },
  "committer": {
    "name": "Thomas Huth",
    "email": "thuth@redhat.com",
    "time": "Mon Jul 20 11:27:52 2026 +0200"
  },
  "message": "usbredir: fix infinite loop and SIGFPE with zero max_packet_size\n\nA malicious usbredir peer can send an ep_info message resetting\nmax_packet_size to 0 after bulk receiving has started. This causes:\n- infinite loop in usbredir_buffered_bulk_packet() where the splitting\n  loop increments by max_packet_size (0)\n- SIGFPE in usbredir_buffered_bulk_in_complete_ftdi() from modulo by 0\n- SIGFPE in usbredir_handle_buffered_bulk_in_data() from division by 0\n  when computing bytes_per_transfer\n\nFix by stopping and disabling bulk receiving in usbredir_ep_info() when\nmax_packet_size is set to 0.\n\nAdd post-load check, and assert() for the invariant.\n\nFixes: CVE-2026-63319\nResolves: https://gitlab.com/qemu-project/qemu/-/work_items/3995\nReported-by: Tristan @TristanInSec\nSigned-off-by: Marc-André Lureau \u003cmarcandre.lureau@redhat.com\u003e\nReviewed-by: Thomas Huth \u003cthuth@redhat.com\u003e\nMessage-ID: \u003c20260716141107.3597076-1-marcandre.lureau@redhat.com\u003e\nSigned-off-by: Thomas Huth \u003cthuth@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "284bcbdb34da32d8958ec93379653e1a12a35881",
      "old_mode": 33188,
      "old_path": "hw/usb/redirect.c",
      "new_id": "dfd9e8bb50c3d770452ace31cfb6b181a6d40d42",
      "new_mode": 33188,
      "new_path": "hw/usb/redirect.c"
    }
  ]
}
