)]}'
{
  "commit": "62beb9c50ae14128d3f4dc0323a1f5886dd3a522",
  "tree": "dd54f0d117a5ece4855ad89b6c03f71f6034c7f4",
  "parents": [
    "939edfaa10f1d22e6af6a84bf4bd96dc49c67302"
  ],
  "author": {
    "name": "Christophe Leroy",
    "email": "christophe.leroy@csgroup.eu",
    "time": "Sun Nov 09 19:55:50 2025 +0100"
  },
  "committer": {
    "name": "Mark Brown",
    "email": "broonie@kernel.org",
    "time": "Mon Nov 10 12:26:25 2025 +0000"
  },
  "message": "spi: fsl-cpm: Check length parity before switching to 16 bit mode\n\nCommit fc96ec826bce (\"spi: fsl-cpm: Use 16 bit mode for large transfers\nwith even size\") failed to checkout that the size is really even before\nswitching to 16 bit mode. Until recently the problem went unnoticed\nbecause kernfs uses a pre-allocated bounce buffer of size PAGE_SIZE for\nreading eeprom.\n\nBut commit 8ad6249c51d0 (\"eeprom: at25: convert to spi-mem API\")\nintroduced an additional dynamically allocated bounce buffer whose size\nis exactly the size of the transfer, leading to a buffer overrun in\nthe fsl-cpm driver when that size is odd.\n\nAdd the missing length parity verification and remain in 8 bit mode\nwhen the length is not even.\n\nFixes: fc96ec826bce (\"spi: fsl-cpm: Use 16 bit mode for large transfers with even size\")\nCloses: https://lore.kernel.org/all/638496dd-ec60-4e53-bad7-eb657f67d580@csgroup.eu/\nSigned-off-by: Christophe Leroy \u003cchristophe.leroy@csgroup.eu\u003e\nLink: https://patch.msgid.link/07d1ea39a0e9b56846395d79d489a5153206ff5c.1762714267.git.christophe.leroy@csgroup.eu\nSigned-off-by: Mark Brown \u003cbroonie@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2f2082652a1a28d93005ffea9a3f101f3144cf1a",
      "old_mode": 33188,
      "old_path": "drivers/spi/spi-fsl-spi.c",
      "new_id": "e845baa56cc667bb307f8421c11a1a5547dadb5f",
      "new_mode": 33188,
      "new_path": "drivers/spi/spi-fsl-spi.c"
    }
  ]
}
