)]}'
{
  "commit": "1367afaa2ee90d1c956dfc224e199fcb3ff3f8cc",
  "tree": "19d948b14420f3ff5327c15adfea84543e7bd4d2",
  "parents": [
    "c07e45553da1808aa802e9f0ffa8108cfeaf7a17"
  ],
  "author": {
    "name": "Lai Jiangshan",
    "email": "laijs@linux.alibaba.com",
    "time": "Fri Nov 26 18:11:22 2021 +0800"
  },
  "committer": {
    "name": "Borislav Petkov",
    "email": "bp@suse.de",
    "time": "Fri Dec 03 19:13:53 2021 +0100"
  },
  "message": "x86/entry: Use the correct fence macro after swapgs in kernel CR3\n\nThe commit\n\n  c75890700455 (\"x86/entry/64: Remove unneeded kernel CR3 switching\")\n\nremoved a CR3 write in the faulting path of load_gs_index().\n\nBut the path\u0027s FENCE_SWAPGS_USER_ENTRY has no fence operation if PTI is\nenabled, see spectre_v1_select_mitigation().\n\nRather, it depended on the serializing CR3 write of SWITCH_TO_KERNEL_CR3\nand since it got removed, add a FENCE_SWAPGS_KERNEL_ENTRY call to make\nsure speculation is blocked.\n\n [ bp: Massage commit message and comment. ]\n\nFixes: c75890700455 (\"x86/entry/64: Remove unneeded kernel CR3 switching\")\nSigned-off-by: Lai Jiangshan \u003claijs@linux.alibaba.com\u003e\nSigned-off-by: Borislav Petkov \u003cbp@suse.de\u003e\nAcked-by: Peter Zijlstra (Intel) \u003cpeterz@infradead.org\u003e\nLink: https://lkml.kernel.org/r/20211126101209.8613-3-jiangshanlai@gmail.com\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f1a8b5b2af964f5b99ce67050a0f03a79b2ff8a2",
      "old_mode": 33188,
      "old_path": "arch/x86/entry/entry_64.S",
      "new_id": "f9e1c06a1c3295db3cb7f335ee8a771026042888",
      "new_mode": 33188,
      "new_path": "arch/x86/entry/entry_64.S"
    }
  ]
}
