)]}'
{
  "commit": "f2db017d795282fbdd5a30dc7d7712494852bf91",
  "tree": "e2effba4cc432993fa70bff653bcb6050c16a4e5",
  "parents": [
    "e0e8f43517dddf01c7fb82a3bd64b9096b90a3f1"
  ],
  "author": {
    "name": "Linmao Li",
    "email": "lilinmao@kylinos.cn",
    "time": "Wed Sep 09 18:07:39 2026 +0800"
  },
  "committer": {
    "name": "Dmitry Torokhov",
    "email": "dmitry.torokhov@gmail.com",
    "time": "Sun Sep 13 17:17:23 2026 -0700"
  },
  "message": "Input: matrix-keymap - reject keycodes above KEY_MAX\n\nmatrix_keypad_map_key() validates the row and column of each entry before\nusing them to update the keymap. It does not validate the keycode before\nusing it as a bit number in input_dev-\u003ekeybit, which only has KEY_CNT bits.\nA malformed firmware or platform keymap can therefore write past the\nbitmap.\n\nReject keycodes above KEY_MAX before updating the keymap or capability\nbitmap.\n\nFixes: 77a53fd21870 (\"Input: matrix-keypad - add function to build device keymap\")\nSigned-off-by: Linmao Li \u003clilinmao@kylinos.cn\u003e\nLink: https://patch.msgid.link/20260909100739.3107556-1-lilinmao@kylinos.cn\nSigned-off-by: Dmitry Torokhov \u003cdmitry.torokhov@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3bea3575a0a941b6836567bca5fed810356a75c6",
      "old_mode": 33188,
      "old_path": "drivers/input/matrix-keymap.c",
      "new_id": "e4227e96aa4e7d04473566c5a8306352c4c2df3a",
      "new_mode": 33188,
      "new_path": "drivers/input/matrix-keymap.c"
    }
  ]
}
