)]}'
{
  "commit": "8d88bf44c4d35e86f2c597d7f932bc695356f582",
  "tree": "728aa107dad1ec9f5f09ce98920b7c8ea2015b57",
  "parents": [
    "b865decc22725baa1f59b7799b0eb871e68b8906"
  ],
  "author": {
    "name": "Maximilian Heyne",
    "email": "mheyne@amazon.de",
    "time": "Thu Sep 07 14:17:16 2023 +0000"
  },
  "committer": {
    "name": "Catalin Marinas",
    "email": "catalin.marinas@arm.com",
    "time": "Tue Sep 12 16:59:10 2023 +0100"
  },
  "message": "virtio-mmio: fix memory leak of vm_dev\n\nWith the recent removal of vm_dev from devres its memory is only freed\nvia the callback virtio_mmio_release_dev. However, this only takes\neffect after device_add is called by register_virtio_device. Until then\nit\u0027s an unmanaged resource and must be explicitly freed on error exit.\n\nThis bug was discovered and resolved using Coverity Static Analysis\nSecurity Testing (SAST) by Synopsys, Inc.\n\nCc: \u003cstable@vger.kernel.org\u003e\nFixes: 55c91fedd03d (\"virtio-mmio: don\u0027t break lifecycle of vm_dev\")\nSigned-off-by: Maximilian Heyne \u003cmheyne@amazon.de\u003e\nSigned-off-by: Catalin Marinas \u003ccatalin.marinas@arm.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "97760f611295941a36331573e53159ec5223eacc",
      "old_mode": 33188,
      "old_path": "drivers/virtio/virtio_mmio.c",
      "new_id": "59892a31cf761cced6ac50134bc250146c89c4aa",
      "new_mode": 33188,
      "new_path": "drivers/virtio/virtio_mmio.c"
    }
  ]
}
