)]}'
{
  "commit": "1e54185745ba896af2beb5259b61ba6473e9881e",
  "tree": "2b29472ef523e61656b0f285398d9e0227616f44",
  "parents": [
    "6229fbcef1f878b2df081c7911c7eaae12e54da5"
  ],
  "author": {
    "name": "Marc-André Lureau",
    "email": "marcandre.lureau@redhat.com",
    "time": "Thu Jul 16 18:11:07 2026 +0400"
  },
  "committer": {
    "name": "Michael Tokarev",
    "email": "mjt@tls.msk.ru",
    "time": "Tue Jul 21 00:02:25 2026 +0300"
  },
  "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(cherry picked from commit a002485bfef184f04a58adfd2a848c19f583f7d0)\nSigned-off-by: Michael Tokarev \u003cmjt@tls.msk.ru\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "46db0b73af7ce559a1852985f1099cc5c8a83412",
      "old_mode": 33188,
      "old_path": "hw/usb/redirect.c",
      "new_id": "5c73d0f19dc141c2fe11a36a7058411070ef616a",
      "new_mode": 33188,
      "new_path": "hw/usb/redirect.c"
    }
  ]
}
