)]}'
{
  "commit": "c1b4da9eec029db751c2e60c188f52aa4c855bef",
  "tree": "d5c2e9caa911e825ee996671c8c68d94384dd4e4",
  "parents": [
    "4f1b17edf982380ee455252802a778699ac3841c"
  ],
  "author": {
    "name": "Kyle Zeng",
    "email": "zengyhkyle@gmail.com",
    "time": "Thu Sep 14 22:12:57 2023 -0700"
  },
  "committer": {
    "name": "Anil Altinay",
    "email": "aaltinay@google.com",
    "time": "Fri Nov 03 03:32:55 2023 +0000"
  },
  "message": "ipv4: fix null-deref in ipv4_link_failure\n\n[ Upstream commit 0113d9c9d1ccc07f5a3710dac4aa24b6d711278c ]\n\nCurrently, we assume the skb is associated with a device before calling\n__ip_options_compile, which is not always the case if it is re-routed by\nipvs.\nWhen skb-\u003edev is NULL, dev_net(skb-\u003edev) will become null-dereference.\nThis patch adds a check for the edge case and switch to use the net_device\nfrom the rtable when skb-\u003edev is NULL.\n\nBUG\u003db/304963328\nTEST\u003dpresubmit\nRELEASE_NOTE\u003dFixes CVE-2023-42754 in the Linux kernel.\n\nFixes: ed0de45a1008 (\"ipv4: recompile ip options in ipv4_link_failure\")\nSuggested-by: David Ahern \u003cdsahern@kernel.org\u003e\nSigned-off-by: Kyle Zeng \u003czengyhkyle@gmail.com\u003e\nCc: Stephen Suryaputra \u003cssuryaextr@gmail.com\u003e\nCc: Vadim Fedorenko \u003cvfedorenko@novek.ru\u003e\nReviewed-by: David Ahern \u003cdsahern@kernel.org\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\nSigned-off-by: Sasha Levin \u003csashal@kernel.org\u003e\nChange-Id: I557d52e7be43131c3657bd66226e80d32b9d3d6b\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/60618\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-by: Oleksandr Tymoshenko \u003covt@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bc6240d327a8ffc5c3c07a4202b3ed2a0fec9e0c",
      "old_mode": 33188,
      "old_path": "net/ipv4/route.c",
      "new_id": "968cc4aa6e96cc726ae5c99980ed3af7d476bd0c",
      "new_mode": 33188,
      "new_path": "net/ipv4/route.c"
    }
  ]
}
