)]}'
{
  "commit": "a3b7eb67225c486a2da357c5db3e386f4e64bcde",
  "tree": "a53a0c70a942ac94998ca63e7372111b7840dd13",
  "parents": [
    "aa85f48dfc55b50ffffefa0a7125bfbe6b7224be"
  ],
  "author": {
    "name": "Jarkko Sakkinen",
    "email": "jarkko@kernel.org",
    "time": "Thu Jan 01 21:45:19 2026 -0500"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Thu Jan 08 10:14:58 2026 +0100"
  },
  "message": "tpm2-sessions: Fix tpm2_read_public range checks\n\n[ Upstream commit bda1cbf73c6e241267c286427f2ed52b5735d872 ]\n\ntpm2_read_public() has some rudimentary range checks but the function does\nnot ensure that the response buffer has enough bytes for the full TPMT_HA\npayload.\n\nRe-implement the function with necessary checks and validation, and return\nname and name size for all handle types back to the caller.\n\nCc: stable@vger.kernel.org # v6.10+\nFixes: d0a25bb961e6 (\"tpm: Add HMAC session name/handle append\")\nSigned-off-by: Jarkko Sakkinen \u003cjarkko@kernel.org\u003e\nReviewed-by: Jonathan McDowell \u003cnoodles@meta.com\u003e\n[ different semantics around u8 name_size() ]\nSigned-off-by: Sasha Levin \u003csashal@kernel.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2bc716fbf2157b15051a08b193ab813be6dbb57b",
      "old_mode": 33188,
      "old_path": "drivers/char/tpm/tpm2-cmd.c",
      "new_id": "b58a8a7e156464cf566ab0e97f830fab244c8929",
      "new_mode": 33188,
      "new_path": "drivers/char/tpm/tpm2-cmd.c"
    },
    {
      "type": "modify",
      "old_id": "cf0b8315404479328106ace0eeebfed4dd3ea8ac",
      "old_mode": 33188,
      "old_path": "drivers/char/tpm/tpm2-sessions.c",
      "new_id": "a10db4a4aceda9e53d78b2d9984695f93a9ecc84",
      "new_mode": 33188,
      "new_path": "drivers/char/tpm/tpm2-sessions.c"
    }
  ]
}
