)]}'
{
  "commit": "93aff32d53fd3d1377414855f7275cab16fbb31e",
  "tree": "47eba1bd5a4e39894e20f5e8962669106c7dd311",
  "parents": [
    "9113175ffd1c37036acf9e235e28180f6308ec69"
  ],
  "author": {
    "name": "Tom Lendacky",
    "email": "thomas.lendacky@amd.com",
    "time": "Thu Jul 26 09:37:59 2018 -0500"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Fri Aug 17 21:03:48 2018 +0200"
  },
  "message": "crypto: ccp - Check for NULL PSP pointer at module unload\n\ncommit afb31cd2d1a1bc3ca055fb2519ec4e9ab969ffe0 upstream.\n\nShould the PSP initialization fail, the PSP data structure will be\nfreed and the value contained in the sp_device struct set to NULL.\nAt module unload, psp_dev_destroy() does not check if the pointer\nvalue is NULL and will end up dereferencing a NULL pointer.\n\nAdd a pointer check of the psp_data field in the sp_device struct\nin psp_dev_destroy() and return immediately if it is NULL.\n\nCc: \u003cstable@vger.kernel.org\u003e # 4.16.x-\nFixes: 2a6170dfe755 (\"crypto: ccp: Add Platform Security Processor (PSP) device support\")\nSigned-off-by: Tom Lendacky \u003cthomas.lendacky@amd.com\u003e\nAcked-by: Gary R Hook \u003cgary.hook@amd.com\u003e\nSigned-off-by: Herbert Xu \u003cherbert@gondor.apana.org.au\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ff478d826d7d351a3184d33df2bb405e28bdf698",
      "old_mode": 33188,
      "old_path": "drivers/crypto/ccp/psp-dev.c",
      "new_id": "603db3d45b1a63464302853d3f8c67cf129912be",
      "new_mode": 33188,
      "new_path": "drivers/crypto/ccp/psp-dev.c"
    }
  ]
}
