)]}'
{
  "commit": "3b1cc9b9622a022208ec95b1259b05bbdf712eb7",
  "tree": "c80a0f6b893b3bb48b70b23c13f5258ba06a8d82",
  "parents": [
    "01ab1167cd2d861d20195eda08505652c536df97"
  ],
  "author": {
    "name": "Sudeep Dutt",
    "email": "sudeep.dutt@intel.com",
    "time": "Mon Feb 03 14:53:19 2014 -0800"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Fri Feb 07 15:30:34 2014 -0800"
  },
  "message": "misc: mic: fix possible signed underflow (undefined behavior) in userspace API\n\niovcnt is declared as a signed integer in both the userspace API and\nas a local variable in mic_virtio.c. The while() loop in mic_virtio.c\niterates until the local variable iovcnt reaches the value 0. If\nuserspace passes e.g. INT_MIN as iovcnt field, this loop then appears\nto depend on an undefined behavior (signed underflow) to complete.\nThe fix is to use unsigned integers in both the userspace API and\nthe local variable.\n\nThis issue was reported @ https://lkml.org/lkml/2014/1/10/10\n\nReported-by: Mathieu Desnoyers \u003cmathieu.desnoyers@efficios.com\u003e\nReviewed-by: Ashutosh Dixit \u003cashutosh.dixit@intel.com\u003e\nSigned-off-by: Sudeep Dutt \u003csudeep.dutt@intel.com\u003e\nCc: stable \u003cstable@vger.kernel.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "752ff873f891bb3dc502305506f3f782ede28296",
      "old_mode": 33188,
      "old_path": "drivers/misc/mic/host/mic_virtio.c",
      "new_id": "7e1ef0ebbb800bfcf00d7d07aaff02f7a5af7b4a",
      "new_mode": 33188,
      "new_path": "drivers/misc/mic/host/mic_virtio.c"
    },
    {
      "type": "modify",
      "old_id": "7fabba5059cf6c362e67093b9ee37ffc4d188276",
      "old_mode": 33188,
      "old_path": "include/uapi/linux/mic_ioctl.h",
      "new_id": "feb0b4c0814c0ff3ec93318612300d260fdf8442",
      "new_mode": 33188,
      "new_path": "include/uapi/linux/mic_ioctl.h"
    }
  ]
}
