)]}'
{
  "commit": "5d37e880d245396cc4fa166441cf6ce6a3d6c76b",
  "tree": "d54db72ca0bf91dc26e79689be67d217ee7cb945",
  "parents": [
    "cc53f55433a4e01ea51d28dde1594514252eace2"
  ],
  "author": {
    "name": "Hou Tao",
    "email": "houtao1@huawei.com",
    "time": "Fri Dec 27 14:04:35 2024 +0800"
  },
  "committer": {
    "name": "COS Cherry Picker",
    "email": "cloud-image-release@prod.google.com",
    "time": "Fri Jan 03 13:05:33 2025 -0800"
  },
  "message": "bpf: Check validity of link-\u003etype in bpf_link_show_fdinfo()\n\ncommit 8421d4c8762bd022cb491f2f0f7019ef51b4f0a7 upstream.\n\nIf a newly-added link type doesn\u0027t invoke BPF_LINK_TYPE(), accessing\nbpf_link_type_strs[link-\u003etype] may result in an out-of-bounds access.\n\nTo spot such missed invocations early in the future, checking the\nvalidity of link-\u003etype in bpf_link_show_fdinfo() and emitting a warning\nwhen such invocations are missed.\n\nBUG\u003db/386034501\nTEST\u003dNone\nRELEASE_NOTE\u003dFixed CVE-2024-53099 in the linux kernel.\n\ncos-patch: security-high\nSigned-off-by: Hou Tao \u003choutao1@huawei.com\u003e\nSigned-off-by: Andrii Nakryiko \u003candrii@kernel.org\u003e\nLink: https://lore.kernel.org/bpf/20241024013558.1135167-3-houtao@huaweicloud.com\n[ shung-hsi.yu: break up existing seq_printf() call since commit 68b04864ca42\n  (\"bpf: Create links for BPF struct_ops maps.\") is not present ]\nSigned-off-by: Shung-Hsi Yu \u003cshung-hsi.yu@suse.com\u003e\nSigned-off-by: Sasha Levin \u003csashal@kernel.org\u003e\nChange-Id: Ie2c53a11334d7d9db2a4351c88a4ba29a0c667a8\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/89559\nMain-Branch-Verified: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-by: Kevin Berry \u003ckpberry@google.com\u003e\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d4b4a47081b51f841ca56e0bf57d5798d01efb59",
      "old_mode": 33188,
      "old_path": "kernel/bpf/syscall.c",
      "new_id": "37aa1e319165f81e8feac1c6b7c8e363b938f406",
      "new_mode": 33188,
      "new_path": "kernel/bpf/syscall.c"
    }
  ]
}
