)]}'
{
  "commit": "d4ff27e92b1073f854b8e8a58599f0c565204443",
  "tree": "6013bfb258c4fed44dba6ee450e40159fb82ff8f",
  "parents": [
    "fd6f075d1e29791d0e4b42da2e6962665f90de1b"
  ],
  "author": {
    "name": "Michael S. Tsirkin",
    "email": "mst@redhat.com",
    "time": "Mon Nov 07 18:37:05 2011 +0200"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@suse.de",
    "time": "Mon Nov 21 14:31:14 2011 -0800"
  },
  "message": "virtio-pci: fix use after free\n\ncommit 72103bd1285211440621f2c46f4fce377584de54 upstream.\n\nCommit 31a3ddda166cda86d2b5111e09ba4bda5239fae6 introduced\na use after free in virtio-pci. The main issue is\nthat the release method signals removal of the virtio device,\nwhile remove signals removal of the pci device.\n\nFor example, on driver removal or hot-unplug,\nvirtio_pci_release_dev is called before virtio_pci_remove.\nWe then might get a crash as virtio_pci_remove tries to use the\ndevice freed by virtio_pci_release_dev.\n\nWe allocate/free all resources together with the\npci device, so we can leave the release method empty.\n\nSigned-off-by: Michael S. Tsirkin \u003cmst@redhat.com\u003e\nAcked-by: Amit Shah \u003camit.shah@redhat.com\u003e\nSigned-off-by: Rusty Russell \u003crusty@rustcorp.com.au\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4bcc8b82640be13af193478aaa2c4699bc609d2b",
      "old_mode": 33188,
      "old_path": "drivers/virtio/virtio_pci.c",
      "new_id": "ecb925411e09f85031692c0e71f6fbbab349653f",
      "new_mode": 33188,
      "new_path": "drivers/virtio/virtio_pci.c"
    }
  ]
}
