)]}'
{
  "commit": "8099b047ecc431518b9bb6bdbba3549bbecdc343",
  "tree": "f0abafbb5f20984f92165e4da26fb37377dd497a",
  "parents": [
    "fb5bf31722d0805a3f394f7d59f2e8cd07acccb7"
  ],
  "author": {
    "name": "Oleg Nesterov",
    "email": "oleg@redhat.com",
    "time": "Thu Jan 03 15:28:07 2019 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Fri Jan 04 13:13:47 2019 -0800"
  },
  "message": "exec: load_script: don\u0027t blindly truncate shebang string\n\nload_script() simply truncates bprm-\u003ebuf and this is very wrong if the\nlength of shebang string exceeds BINPRM_BUF_SIZE-2.  This can silently\ntruncate i_arg or (worse) we can execute the wrong binary if buf[2:126]\nhappens to be the valid executable path.\n\nChange load_script() to return ENOEXEC if it can\u0027t find \u0027\\n\u0027 or zero in\nbprm-\u003ebuf.  Note that \u0027\\0\u0027 can come from either\nprepare_binprm()-\u003ememset() or from kernel_read(), we do not care.\n\nLink: http://lkml.kernel.org/r/20181112160931.GA28463@redhat.com\nSigned-off-by: Oleg Nesterov \u003coleg@redhat.com\u003e\nAcked-by: Kees Cook \u003ckeescook@chromium.org\u003e\nAcked-by: Michal Hocko \u003cmhocko@suse.com\u003e\nCc: Ben Woodard \u003cwoodard@redhat.com\u003e\nCc: \"Eric W. Biederman\" \u003cebiederm@xmission.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7cde3f46ad263ab084aafaefa14161902f33d4f1",
      "old_mode": 33188,
      "old_path": "fs/binfmt_script.c",
      "new_id": "d0078cbb718b4855dc520dbfae91223d499da81a",
      "new_mode": 33188,
      "new_path": "fs/binfmt_script.c"
    }
  ]
}
